#242C5C
Closest named color: Prussian Blue (#1D3557). oklch(31.4% 0.086 273.4), rgb(36, 44, 92).
Aa
White text reads best on this color (13.20:1).
About this color
#242C5C is a dark, moderately saturated blue. In OKLCH its lightness is 31%, its chroma 0.086 and its hue 273°. Its hue sits on the cool side of the wheel. The nearest named color is Prussian Blue (#1D3557), ΔE 0.031 away. White text reads best on it, at 13.20:1.
| Hue family | Blues |
| Lightness | dark (31%) |
| Chroma | moderately saturated (0.086) |
| Temperature | cool |
| Nearest name | Prussian Blue (#1D3557) |
| Black text | 1.58:1 |
| White text | 13.20:1 |
Values
| HEX | #242C5C |
| RGB | rgb(36, 44, 92) |
| HSL | hsl(231, 44%, 25%) |
| OKLCH | oklch(31.4% 0.086 273.4) |
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 #242C5C | 13.20:1 | AAA | Lc -102.6 | Preferred for body text |
| Black text on #242C5C | 1.58:1 | Fails | Lc 0.0 | Not readable |
| #242C5C text on white | 13.20:1 | AAA | Lc 99.4 | Preferred for body text |
| #242C5C text on black | 1.58: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
#E3E9FE
oklch(93.6% 0.029 273.1)
-
Step 200
200
#CDD7FF
oklch(88.4% 0.056 274.2)
-
Step 300
300
#ACBDFF
oklch(80.9% 0.095 273)
-
Step 400
400
#8397FF
oklch(70.7% 0.153 273.6)
-
Step 500
500
#6679FF
oklch(63.1% 0.198 273.3)
-
Step 600
600
#505BF4
oklch(55.7% 0.225 273.4)
-
Step 700
700
#4149D4
oklch(49.1% 0.209 273.2)
-
Step 800
800
#353DAB
oklch(42.6% 0.173 273.3)
-
Step 900
900
#2D3688
oklch(37.7% 0.136 273.2)
-
Step 950
950 (this color)
#242C5C
oklch(31.4% 0.086 273.4)
#242C5C 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) | #15325E | 0.023 |
| Deuteranopia (no green cones) | #0C2E5B | 0.027 |
| Tritanopia (no blue cones) | #04373F | 0.077 |
| Achromatopsia (no color) | #303030 | 0.086 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #242C5C
#242C5C
oklch(31.4% 0.086 273.4)
- #3C3000
#3C3000
oklch(31.3% 0.064 93.7)
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 #242C5C, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Prussian Blue #1D3557 ΔE 0.031
- Marine #042E60 ΔE 0.032
- Marine Blue #01386A ΔE 0.045
- Space Cadet #2B2D42 ΔE 0.049
- Gunmetal #293241 ΔE 0.057
- Dark Blue Grey #1F3B4D ΔE 0.060
- Oxford Blue #1B263B ΔE 0.063
- Midnight Blue #191970 ΔE 0.063
Use #242C5C 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.