#21508D
Closest named color: Dusk Blue (#26538D). oklch(43.2% 0.113 256.2), rgb(33, 80, 141).
Aa
White text reads best on this color (8.08:1).
About this color
#21508D is a dark, moderately saturated blue. In OKLCH its lightness is 43%, its chroma 0.113 and its hue 256°. Its hue sits on the cool side of the wheel. The nearest named color is Dusk Blue (#26538D), ΔE 0.010 away. White text reads best on it, at 8.08:1.
| Hue family | Blues |
| Lightness | dark (43%) |
| Chroma | moderately saturated (0.113) |
| Temperature | cool |
| Nearest name | Dusk Blue (#26538D) |
| Black text | 2.59:1 |
| White text | 8.08:1 |
Values
| HEX | #21508D |
| RGB | rgb(33, 80, 141) |
| HSL | hsl(214, 62%, 34%) |
| OKLCH | oklch(43.2% 0.113 256.2) |
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 #21508D | 8.08:1 | AAA | Lc -92.3 | Preferred for body text |
| Black text on #21508D | 2.59:1 | Fails | Lc 16.3 | Dividers and decoration only |
| #21508D text on white | 8.08:1 | AAA | Lc 87.7 | Fine for body text |
| #21508D text on black | 2.59:1 | Fails | Lc -14.5 | 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 800.
-
Step 50
50
#F2F6FB
oklch(97.2% 0.008 253.9)
-
Step 100
100
#E2EBF7
oklch(93.7% 0.019 255.5)
-
Step 200
200
#CADBF2
oklch(88.6% 0.037 256)
-
Step 300
300
#A5C3EC
oklch(80.9% 0.067 256.3)
-
Step 400
400
#74A3E2
oklch(70.7% 0.106 256)
-
Step 500
500
#4F8ADA
oklch(63% 0.136 256.5)
-
Step 600
600
#3173C7
oklch(55.6% 0.147 256)
-
Step 700
700
#2460AC
oklch(49.2% 0.136 256.1)
-
Step 800
800 (this color)
#21508D
oklch(43.2% 0.113 256.2)
-
Step 900
900
#1F426F
oklch(37.7% 0.087 255.7)
-
Step 950
950
#132741
oklch(27% 0.055 255.7)
#21508D 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) | #32558F | 0.024 |
| Deuteranopia (no green cones) | #1F4B8C | 0.015 |
| Tritanopia (no blue cones) | #005E67 | 0.087 |
| Achromatopsia (no color) | #505050 | 0.113 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #21508D
#21508D
oklch(43.2% 0.113 256.2)
- #6C4800
#6C4800
oklch(43.1% 0.091 76.2)
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 #21508D, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dusk Blue #26538D ΔE 0.010
- Light Navy #155084 ΔE 0.018
- Cobalt #1E488F ΔE 0.024
- Deep Sea Blue #015482 ΔE 0.028
- Light Navy Blue #2E5A88 ΔE 0.036
- Denim Blue #3B5B92 ΔE 0.045
- Twilight Blue #0A437A ΔE 0.052
- Twilight #4E518B ΔE 0.054
Use #21508D 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.