#2D52A7
Closest named color: Dusk Blue (#26538D). oklch(46% 0.144 263.9), rgb(45, 82, 167).
Aa
White text reads best on this color (7.30:1).
About this color
#2D52A7 is a medium-dark, vivid blue. In OKLCH its lightness is 46%, its chroma 0.144 and its hue 264°. Its hue sits on the cool side of the wheel. The nearest named color is Dusk Blue (#26538D), ΔE 0.044 away. White text reads best on it, at 7.30:1.
| Hue family | Blues |
| Lightness | medium-dark (46%) |
| Chroma | vivid (0.144) |
| Temperature | cool |
| Nearest name | Dusk Blue (#26538D) |
| Black text | 2.87:1 |
| White text | 7.30:1 |
Values
| HEX | #2D52A7 |
| RGB | rgb(45, 82, 167) |
| HSL | hsl(222, 58%, 42%) |
| OKLCH | oklch(46% 0.144 263.9) |
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 #2D52A7 | 7.30:1 | AAA | Lc -89.9 | Fine for body text |
| Black text on #2D52A7 | 2.87:1 | Fails | Lc 19.0 | Dividers and decoration only |
| #2D52A7 text on white | 7.30:1 | AAA | Lc 85.0 | Fine for body text |
| #2D52A7 text on black | 2.87:1 | Fails | Lc -17.0 | Dividers and decoration only |
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 700.
-
Step 50
50
#F2F6FC
oklch(97.2% 0.009 258.3)
-
Step 100
100
#E3EAF8
oklch(93.6% 0.02 264.5)
-
Step 200
200
#CCDAF3
oklch(88.6% 0.038 262.1)
-
Step 300
300
#AAC1EE
oklch(80.9% 0.069 263.7)
-
Step 400
400
#7D9FE6
oklch(70.6% 0.111 264.2)
-
Step 500
500
#5C86DF
oklch(63.1% 0.142 263.7)
-
Step 600
600
#436ECD
oklch(55.7% 0.155 263.8)
-
Step 700
700 (this color)
#2D52A7
oklch(46% 0.144 263.9)
-
Step 800
800
#2C4B8F
oklch(42.7% 0.118 263.7)
-
Step 900
900
#283F72
oklch(37.7% 0.092 264.2)
-
Step 950
950
#172543
oklch(26.9% 0.059 264)
#2D52A7 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) | #1F5CAA | 0.027 |
| Deuteranopia (no green cones) | #0051A5 | 0.027 |
| Tritanopia (no blue cones) | #006674 | 0.115 |
| Achromatopsia (no color) | #565656 | 0.144 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #2D52A7
#2D52A7
oklch(46% 0.144 263.9)
- #715300
#715300
oklch(46.1% 0.095 84.3)
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 #2D52A7, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dusk Blue #26538D ΔE 0.044
- Denim Blue #3B5B92 ΔE 0.049
- Cobalt #1E488F ΔE 0.050
- Blueberry #464196 ΔE 0.054
- Light Navy Blue #2E5A88 ΔE 0.059
- Twilight #4E518B ΔE 0.059
- Dusky Blue #475F94 ΔE 0.061
- Light Navy #155084 ΔE 0.062
Use #2D52A7 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.