#2A52AB
Closest named color: Dusk Blue (#26538D). oklch(46.2% 0.15 263.5), rgb(42, 82, 171).
Aa
White text reads best on this color (7.25:1).
About this color
#2A52AB is a medium-dark, vivid blue. In OKLCH its lightness is 46%, its chroma 0.150 and its hue 263°. Its hue sits on the cool side of the wheel. The nearest named color is Dusk Blue (#26538D), ΔE 0.050 away. White text reads best on it, at 7.25:1.
| Hue family | Blues |
| Lightness | medium-dark (46%) |
| Chroma | vivid (0.150) |
| Temperature | cool |
| Nearest name | Dusk Blue (#26538D) |
| Black text | 2.89:1 |
| White text | 7.25:1 |
Values
| HEX | #2A52AB |
| RGB | rgb(42, 82, 171) |
| HSL | hsl(221, 61%, 42%) |
| OKLCH | oklch(46.2% 0.15 263.5) |
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 #2A52AB | 7.25:1 | AAA | Lc -89.7 | Fine for body text |
| Black text on #2A52AB | 2.89:1 | Fails | Lc 19.3 | Dividers and decoration only |
| #2A52AB text on white | 7.25:1 | AAA | Lc 84.8 | Fine for body text |
| #2A52AB text on black | 2.89:1 | Fails | Lc -17.2 | 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
#CBDAF5
oklch(88.6% 0.041 262.3)
-
Step 300
300
#A8C1F0
oklch(80.9% 0.072 262.9)
-
Step 400
400
#7B9FE9
oklch(70.6% 0.116 263.9)
-
Step 500
500
#5986E3
oklch(63.2% 0.149 263.3)
-
Step 600
600
#406DD0
oklch(55.5% 0.161 263.6)
-
Step 700
700 (this color)
#2A52AB
oklch(46.2% 0.15 263.5)
-
Step 800
800
#2A4B92
oklch(42.8% 0.123 263.4)
-
Step 900
900
#263F74
oklch(37.7% 0.096 263.5)
-
Step 950
950
#162544
oklch(26.9% 0.061 263.4)
#2A52AB 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) | #185DAE | 0.029 |
| Deuteranopia (no green cones) | #0051A9 | 0.024 |
| Tritanopia (no blue cones) | #006776 | 0.118 |
| Achromatopsia (no color) | #575757 | 0.150 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #2A52AB
#2A52AB
oklch(46.2% 0.15 263.5)
- #725300
#725300
oklch(46.3% 0.095 83.5)
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 #2A52AB, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dusk Blue #26538D ΔE 0.050
- Cobalt #1E488F ΔE 0.054
- Denim Blue #3B5B92 ΔE 0.054
- Blueberry #464196 ΔE 0.058
- Blue Blue #2242C7 ΔE 0.060
- Light Navy Blue #2E5A88 ΔE 0.065
- Mid Blue #276AB3 ΔE 0.065
- Twilight #4E518B ΔE 0.066
Use #2A52AB 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.