#042C3E
Closest named color: Oxford Blue (#1B263B). oklch(27.6% 0.054 233.3), rgb(4, 44, 62).
Aa
White text reads best on this color (14.63:1).
About this color
#042C3E is a dark, muted blue. In OKLCH its lightness is 28%, its chroma 0.054 and its hue 233°. Its hue sits on the cool side of the wheel. The nearest named color is Oxford Blue (#1B263B), ΔE 0.028 away. White text reads best on it, at 14.63:1.
| Hue family | Blues |
| Lightness | dark (28%) |
| Chroma | muted (0.054) |
| Temperature | cool |
| Nearest name | Oxford Blue (#1B263B) |
| Black text | 1.43:1 |
| White text | 14.63:1 |
Values
| HEX | #042C3E |
| RGB | rgb(4, 44, 62) |
| HSL | hsl(199, 88%, 13%) |
| OKLCH | oklch(27.6% 0.054 233.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 #042C3E | 14.63:1 | AAA | Lc -104.1 | Preferred for body text |
| Black text on #042C3E | 1.43:1 | Fails | Lc 0.0 | Not readable |
| #042C3E text on white | 14.63:1 | AAA | Lc 101.2 | Preferred for body text |
| #042C3E text on black | 1.43: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
#F0F7FA
oklch(97.2% 0.008 225.1)
-
Step 100
100
#DFECF4
oklch(93.6% 0.018 234.5)
-
Step 200
200
#C3DEED
oklch(88.5% 0.035 232.1)
-
Step 300
300
#98C8E3
oklch(80.8% 0.063 233.2)
-
Step 400
400
#59ABD6
oklch(70.7% 0.102 233.6)
-
Step 500
500
#0695CB
oklch(63.1% 0.13 233.4)
-
Step 600
600
#007DAC
oklch(55.5% 0.116 233.8)
-
Step 700
700
#006991
oklch(49% 0.102 233.6)
-
Step 800
800
#005677
oklch(42.6% 0.088 233.1)
-
Step 900
900
#004864
oklch(37.8% 0.078 232.8)
-
Step 950
950 (this color)
#042C3E
oklch(27.6% 0.054 233.3)
#042C3E 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) | #232C3F | 0.034 |
| Deuteranopia (no green cones) | #1B263E | 0.029 |
| Tritanopia (no blue cones) | #003132 | 0.033 |
| Achromatopsia (no color) | #292929 | 0.054 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #042C3E
#042C3E
oklch(27.6% 0.054 233.3)
- #3C200C
#3C200C
oklch(27.7% 0.053 53.9)
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 #042C3E, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Oxford Blue #1B263B ΔE 0.028
- Dark #1B2431 ΔE 0.036
- Jet #212529 ΔE 0.047
- Space Cadet #2B2D42 ΔE 0.048
- Gunmetal #293241 ΔE 0.049
- Midnight Green #073B4C ΔE 0.053
- Prussian Blue #1D3557 ΔE 0.059
- Marine #042E60 ΔE 0.062
Use #042C3E 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.