#162973
Closest named color: Midnight Blue (#191970). oklch(31.9% 0.129 267.3), rgb(22, 41, 115).
Aa
White text reads best on this color (13.13:1).
About this color
#162973 is a dark, moderately saturated blue. In OKLCH its lightness is 32%, its chroma 0.129 and its hue 267°. Its hue sits on the cool side of the wheel. The nearest named color is Midnight Blue (#191970), ΔE 0.036 away. White text reads best on it, at 13.13:1.
| Hue family | Blues |
| Lightness | dark (32%) |
| Chroma | moderately saturated (0.129) |
| Temperature | cool |
| Nearest name | Midnight Blue (#191970) |
| Black text | 1.59:1 |
| White text | 13.13:1 |
Values
| HEX | #162973 |
| RGB | rgb(22, 41, 115) |
| HSL | hsl(228, 68%, 27%) |
| OKLCH | oklch(31.9% 0.129 267.3) |
Contrast
WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.
| Pair | WCAG 2 | Result | APCA | APCA guidance |
|---|---|---|---|---|
| White text on #162973 | 13.13:1 | AAA | Lc -102.2 | Preferred for body text |
| Black text on #162973 | 1.59:1 | Fails | Lc 0.0 | Not readable |
| #162973 text on white | 13.13:1 | AAA | Lc 98.9 | Preferred for body text |
| #162973 text on black | 1.59:1 | Fails | Lc 0.0 | Not readable |
Tints and shades
A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 950.
-
Step 50
50
#F1F5FF
oklch(97% 0.014 268.5)
-
Step 100
100
#E1EAFF
oklch(93.7% 0.03 267.2)
-
Step 200
200
#C9D9FF
oklch(88.6% 0.055 267.2)
-
Step 300
300
#A5BFFF
oklch(80.9% 0.095 267.2)
-
Step 400
400
#769BFF
oklch(70.7% 0.152 267.2)
-
Step 500
500
#557EFF
oklch(63.2% 0.197 267.3)
-
Step 600
600
#365CFF
oklch(55.6% 0.244 267.2)
-
Step 700
700
#2432FF
oklch(49.1% 0.287 267.3)
-
Step 800
800
#1C20DB
oklch(42.7% 0.262 267.3)
-
Step 900
900
#1728AB
oklch(37.7% 0.204 267.3)
-
Step 950
950 (this color)
#162973
oklch(31.9% 0.129 267.3)
#162973 with color blindness
Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.
| Vision | Seen as | Shift (ΔE) |
|---|---|---|
| Protanopia (no red cones) | #003575 | 0.032 |
| Deuteranopia (no green cones) | #002C72 | 0.017 |
| Tritanopia (no blue cones) | #003C49 | 0.102 |
| Achromatopsia (no color) | #303030 | 0.130 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #162973
#162973
oklch(31.9% 0.129 267.3)
- #413000
#413000
oklch(32% 0.065 87.1)
Analogous
Neighbouring hues, 30° either side.
Split complementary
The two hues beside the complement (150° and 210°).
Triadic
Three hues spaced 120° apart.
Palettes with this color
Curated palettes that contain a color within ΔE 0.04 (OKLab) of #162973, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Midnight Blue #191970 ΔE 0.036
- Marine #042E60 ΔE 0.039
- Marine Blue #01386A ΔE 0.046
- Royal #0C1793 ΔE 0.063
- Prussian Blue #1D3557 ΔE 0.064
- Twilight Blue #0A437A ΔE 0.072
- Dark Royal Blue #02066F ΔE 0.076
- Navy #000080 ΔE 0.076
Use #162973 in your product
Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.