#181848
Closest named color: Dark Indigo (#1F0954). oklch(24.3% 0.087 277.7), rgb(24, 24, 72).
Aa
White text reads best on this color (16.62:1).
About this color
#181848 is a very dark, moderately saturated blue. In OKLCH its lightness is 24%, its chroma 0.087 and its hue 278°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Indigo (#1F0954), ΔE 0.038 away. White text reads best on it, at 16.62:1.
| Hue family | Blues |
| Lightness | very dark (24%) |
| Chroma | moderately saturated (0.087) |
| Temperature | cool |
| Nearest name | Dark Indigo (#1F0954) |
| Black text | 1.26:1 |
| White text | 16.62:1 |
Values
| HEX | #181848 |
| RGB | rgb(24, 24, 72) |
| HSL | hsl(240, 50%, 19%) |
| OKLCH | oklch(24.3% 0.087 277.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 #181848 | 16.62:1 | AAA | Lc -105.8 | Preferred for body text |
| Black text on #181848 | 1.26:1 | Fails | Lc 0.0 | Not readable |
| #181848 text on white | 16.62:1 | AAA | Lc 103.3 | Preferred for body text |
| #181848 text on black | 1.26: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
#F3F5FF
oklch(97.2% 0.013 277.1)
-
Step 100
100
#E5E8FE
oklch(93.5% 0.03 279.6)
-
Step 200
200
#D0D6FF
oklch(88.5% 0.057 278.6)
-
Step 300
300
#B1BBFF
oklch(80.9% 0.097 277.5)
-
Step 400
400
#8B94FF
oklch(70.6% 0.155 278)
-
Step 500
500
#7175FF
oklch(63.1% 0.201 277.7)
-
Step 600
600
#5C55F5
oklch(55.6% 0.231 277.7)
-
Step 700
700
#4C44D5
oklch(49.1% 0.213 277.5)
-
Step 800
800
#3E39AC
oklch(42.6% 0.177 277.7)
-
Step 900
900
#343388
oklch(37.6% 0.138 278)
-
Step 950
950 (this color)
#181848
oklch(24.3% 0.087 277.7)
#181848 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) | #00204A | 0.033 |
| Deuteranopia (no green cones) | #001C47 | 0.030 |
| Tritanopia (no blue cones) | #00242D | 0.075 |
| Achromatopsia (no color) | #1E1E1E | 0.088 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #181848
#181848
oklch(24.3% 0.087 277.7)
- #262000
#262000
oklch(24.3% 0.05 99.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 #181848, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Indigo #1F0954 ΔE 0.038
- Navy Blue #001146 ΔE 0.044
- Oxford Blue #1B263B ΔE 0.054
- Rich Black #0D1B2A ΔE 0.063
- Dark #1B2431 ΔE 0.064
- Night Blue #040348 ΔE 0.064
- Darkblue #030764 ΔE 0.068
- Midnight Purple #280137 ΔE 0.069
Use #181848 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.