#042148
Closest named color: Oxford Blue (#1B263B). oklch(25.3% 0.081 257.1), rgb(4, 33, 72).
Aa
White text reads best on this color (15.95:1).
About this color
#042148 is a dark, moderately saturated blue. In OKLCH its lightness is 25%, its chroma 0.081 and its hue 257°. Its hue sits on the cool side of the wheel. The nearest named color is Oxford Blue (#1B263B), ΔE 0.042 away. White text reads best on it, at 15.95:1.
| Hue family | Blues |
| Lightness | dark (25%) |
| Chroma | moderately saturated (0.081) |
| Temperature | cool |
| Nearest name | Oxford Blue (#1B263B) |
| Black text | 1.31:1 |
| White text | 15.95:1 |
Values
| HEX | #042148 |
| RGB | rgb(4, 33, 72) |
| HSL | hsl(214, 89%, 15%) |
| OKLCH | oklch(25.3% 0.081 257.1) |
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 #042148 | 15.95:1 | AAA | Lc -105.2 | Preferred for body text |
| Black text on #042148 | 1.31:1 | Fails | Lc 0.0 | Not readable |
| #042148 text on white | 15.95:1 | AAA | Lc 102.6 | Preferred for body text |
| #042148 text on black | 1.31: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
#F0F6FE
oklch(97.1% 0.012 255.5)
-
Step 100
100
#DEEBFD
oklch(93.6% 0.028 256.5)
-
Step 200
200
#C3DBFD
oklch(88.5% 0.054 257.1)
-
Step 300
300
#99C3FE
oklch(80.9% 0.095 256.9)
-
Step 400
400
#5FA1FE
oklch(70.7% 0.153 257.2)
-
Step 500
500
#2B86FC
oklch(63.1% 0.195 257)
-
Step 600
600
#006EE3
oklch(55.7% 0.197 256.9)
-
Step 700
700
#005CC1
oklch(49.2% 0.175 257.1)
-
Step 800
800
#004BA0
oklch(42.8% 0.152 257.1)
-
Step 900
900
#063F83
oklch(37.7% 0.127 256.9)
-
Step 950
950 (this color)
#042148
oklch(25.3% 0.081 257.1)
#042148 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) | #0A2549 | 0.015 |
| Deuteranopia (no green cones) | #001F47 | 0.009 |
| Tritanopia (no blue cones) | #002A31 | 0.059 |
| Achromatopsia (no color) | #222222 | 0.081 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #042148
#042148
oklch(25.3% 0.081 257.1)
- #301E00
#301E00
oklch(25.2% 0.053 76.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 #042148, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Oxford Blue #1B263B ΔE 0.042
- Navy Blue #001146 ΔE 0.049
- Dark #1B2431 ΔE 0.053
- Marine #042E60 ΔE 0.057
- Rich Black #0D1B2A ΔE 0.058
- Dark Indigo #1F0954 ΔE 0.066
- Space Cadet #2B2D42 ΔE 0.071
- Jet #212529 ΔE 0.072
Use #042148 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.