#2C5281
Closest named color: Dusk Blue (#26538D). oklch(43.4% 0.09 254.8), rgb(44, 82, 129).
Aa
White text reads best on this color (7.98:1).
About this color
#2C5281 is a dark, moderately saturated blue. In OKLCH its lightness is 43%, its chroma 0.090 and its hue 255°. Its hue sits on the cool side of the wheel. The nearest named color is Dusk Blue (#26538D), ΔE 0.020 away. White text reads best on it, at 7.98:1.
| Hue family | Blues |
| Lightness | dark (43%) |
| Chroma | moderately saturated (0.090) |
| Temperature | cool |
| Nearest name | Dusk Blue (#26538D) |
| Black text | 2.63:1 |
| White text | 7.98:1 |
Values
| HEX | #2C5281 |
| RGB | rgb(44, 82, 129) |
| HSL | hsl(213, 49%, 34%) |
| OKLCH | oklch(43.4% 0.09 254.8) |
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 #2C5281 | 7.98:1 | AAA | Lc -92.2 | Preferred for body text |
| Black text on #2C5281 | 2.63:1 | Fails | Lc 16.5 | Dividers and decoration only |
| #2C5281 text on white | 7.98:1 | AAA | Lc 87.5 | Fine for body text |
| #2C5281 text on black | 2.63:1 | Fails | Lc -14.7 | 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
#F2F6FA
oklch(97.1% 0.007 247.9)
-
Step 100
100
#E3EBF4
oklch(93.7% 0.015 251.2)
-
Step 200
200
#CDDBED
oklch(88.6% 0.029 254.7)
-
Step 300
300
#AAC3E3
oklch(80.9% 0.053 254.7)
-
Step 400
400
#7DA3D4
oklch(70.6% 0.083 255.1)
-
Step 500
500
#5B8CC9
oklch(63.1% 0.107 254.6)
-
Step 600
600
#4075B6
oklch(55.6% 0.116 254.6)
-
Step 700
700
#32629D
oklch(49.2% 0.109 254.8)
-
Step 800
800 (this color)
#2C5281
oklch(43.4% 0.09 254.8)
-
Step 900
900
#264366
oklch(37.8% 0.07 254.1)
-
Step 950
950
#17273C
oklch(27% 0.045 255.6)
#2C5281 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) | #3E5583 | 0.024 |
| Deuteranopia (no green cones) | #324D80 | 0.015 |
| Tritanopia (no blue cones) | #005D63 | 0.073 |
| Achromatopsia (no color) | #515151 | 0.090 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #2C5281
#2C5281
oklch(43.4% 0.09 254.8)
- #6D4804
#6D4804
oklch(43.3% 0.09 74.6)
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 #2C5281, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dusk Blue #26538D ΔE 0.020
- Light Navy #155084 ΔE 0.021
- Deep Sea Blue #015482 ΔE 0.025
- Light Navy Blue #2E5A88 ΔE 0.025
- Denim Blue #3B5B92 ΔE 0.041
- YInMn Blue #415A77 ΔE 0.042
- Cobalt #1E488F ΔE 0.043
- Dusk #4E5481 ΔE 0.044
Use #2C5281 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.