#20274C
Closest named color: Oxford Blue (#1B263B). oklch(28.7% 0.068 273.3), rgb(32, 39, 76).
Aa
White text reads best on this color (14.42:1).
About this color
#20274C is a dark, muted blue. In OKLCH its lightness is 29%, its chroma 0.068 and its hue 273°. Its hue sits on the cool side of the wheel. The nearest named color is Oxford Blue (#1B263B), ΔE 0.033 away. White text reads best on it, at 14.42:1.
| Hue family | Blues |
| Lightness | dark (29%) |
| Chroma | muted (0.068) |
| Temperature | cool |
| Nearest name | Oxford Blue (#1B263B) |
| Black text | 1.45:1 |
| White text | 14.42:1 |
Values
| HEX | #20274C |
| RGB | rgb(32, 39, 76) |
| HSL | hsl(230, 41%, 21%) |
| OKLCH | oklch(28.7% 0.068 273.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 #20274C | 14.42:1 | AAA | Lc -104.0 | Preferred for body text |
| Black text on #20274C | 1.45:1 | Fails | Lc 0.0 | Not readable |
| #20274C text on white | 14.42:1 | AAA | Lc 101.1 | Preferred for body text |
| #20274C text on black | 1.45: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
#F3F5FD
oklch(97.1% 0.011 274.9)
-
Step 100
100
#E4E9FA
oklch(93.5% 0.024 272.8)
-
Step 200
200
#CFD8F8
oklch(88.5% 0.045 273)
-
Step 300
300
#AFBEF5
oklch(80.9% 0.08 272.7)
-
Step 400
400
#879AF1
oklch(70.8% 0.129 273.3)
-
Step 500
500
#6B7EEC
oklch(63.1% 0.165 273.4)
-
Step 600
600
#5464DA
oklch(55.5% 0.18 273.3)
-
Step 700
700
#4552BD
oklch(49% 0.167 273.3)
-
Step 800
800
#394499
oklch(42.7% 0.138 273.5)
-
Step 900
900
#303A7A
oklch(37.6% 0.109 273.4)
-
Step 950
950 (this color)
#20274C
oklch(28.7% 0.068 273.3)
#20274C 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) | #172C4D | 0.018 |
| Deuteranopia (no green cones) | #13284B | 0.017 |
| Tritanopia (no blue cones) | #0C2F35 | 0.061 |
| Achromatopsia (no color) | #2A2A2A | 0.068 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #20274C
#20274C
oklch(28.7% 0.068 273.3)
- #352900
#352900
oklch(28.6% 0.059 91.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 #20274C, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Oxford Blue #1B263B ΔE 0.033
- Space Cadet #2B2D42 ΔE 0.036
- Marine #042E60 ΔE 0.044
- Prussian Blue #1D3557 ΔE 0.045
- Gunmetal #293241 ΔE 0.049
- Dark #1B2431 ΔE 0.051
- Jet #212529 ΔE 0.065
- Dark Blue Grey #1F3B4D ΔE 0.065
Use #20274C 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.