#182770
Closest named color: Midnight Blue (#191970). oklch(31.3% 0.127 268.7), rgb(24, 39, 112).
Aa
White text reads best on this color (13.43:1).
About this color
#182770 is a dark, moderately saturated blue. In OKLCH its lightness is 31%, its chroma 0.127 and its hue 269°. Its hue sits on the cool side of the wheel. The nearest named color is Midnight Blue (#191970), ΔE 0.031 away. White text reads best on it, at 13.43:1.
| Hue family | Blues |
| Lightness | dark (31%) |
| Chroma | moderately saturated (0.127) |
| Temperature | cool |
| Nearest name | Midnight Blue (#191970) |
| Black text | 1.56:1 |
| White text | 13.43:1 |
Values
| HEX | #182770 |
| RGB | rgb(24, 39, 112) |
| HSL | hsl(230, 65%, 27%) |
| OKLCH | oklch(31.3% 0.127 268.7) |
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 #182770 | 13.43:1 | AAA | Lc -102.6 | Preferred for body text |
| Black text on #182770 | 1.56:1 | Fails | Lc 0.0 | Not readable |
| #182770 text on white | 13.43:1 | AAA | Lc 99.4 | Preferred for body text |
| #182770 text on black | 1.56: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
#F2F5FF
oklch(97.1% 0.014 272.7)
-
Step 100
100
#E1EAFF
oklch(93.7% 0.03 267.2)
-
Step 200
200
#CAD8FF
oklch(88.4% 0.056 269.7)
-
Step 300
300
#A7BFFF
oklch(81% 0.095 268.4)
-
Step 400
400
#799AFF
oklch(70.6% 0.153 268.6)
-
Step 500
500
#597DFF
oklch(63.2% 0.197 268.6)
-
Step 600
600
#3D5AFF
oklch(55.6% 0.245 268.8)
-
Step 700
700
#2D30FF
oklch(49.2% 0.286 268.8)
-
Step 800
800
#2321D8
oklch(42.7% 0.257 268.7)
-
Step 900
900
#1D28A9
oklch(37.8% 0.2 268.8)
-
Step 950
950 (this color)
#182770
oklch(31.3% 0.127 268.7)
#182770 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) | #003372 | 0.033 |
| Deuteranopia (no green cones) | #002B6F | 0.020 |
| Tritanopia (no blue cones) | #003A47 | 0.101 |
| Achromatopsia (no color) | #2F2F2F | 0.127 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #182770
#182770
oklch(31.3% 0.127 268.7)
- #3E2F00
#3E2F00
oklch(31.3% 0.064 89.4)
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 #182770, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Midnight Blue #191970 ΔE 0.031
- Marine #042E60 ΔE 0.038
- Marine Blue #01386A ΔE 0.049
- Prussian Blue #1D3557 ΔE 0.064
- Royal #0C1793 ΔE 0.066
- Dark Royal Blue #02066F ΔE 0.072
- Deep Blue #040273 ΔE 0.073
- Navy #000080 ΔE 0.075
Use #182770 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.