#2525A8
Closest named color: Indigo Blue (#3A18B1). oklch(37.6% 0.199 271.5), rgb(37, 37, 168).
Aa
White text reads best on this color (11.00:1).
About this color
#2525A8 is a dark, vivid blue. In OKLCH its lightness is 38%, its chroma 0.199 and its hue 272°. Its hue sits on the cool side of the wheel. The nearest named color is Indigo Blue (#3A18B1), ΔE 0.035 away. White text reads best on it, at 11.00:1.
| Hue family | Blues |
| Lightness | dark (38%) |
| Chroma | vivid (0.199) |
| Temperature | cool |
| Nearest name | Indigo Blue (#3A18B1) |
| Black text | 1.90:1 |
| White text | 11.00:1 |
Values
| HEX | #2525A8 |
| RGB | rgb(37, 37, 168) |
| HSL | hsl(240, 64%, 40%) |
| OKLCH | oklch(37.6% 0.199 271.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 #2525A8 | 11.00:1 | AAA | Lc -98.3 | Preferred for body text |
| Black text on #2525A8 | 1.90:1 | Fails | Lc 9.6 | Not readable |
| #2525A8 text on white | 11.00:1 | AAA | Lc 94.3 | Preferred for body text |
| #2525A8 text on black | 1.90:1 | Fails | Lc -8.3 | 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 900.
-
Step 50
50
#F2F5FF
oklch(97.1% 0.014 272.7)
-
Step 100
100
#E2E9FF
oklch(93.5% 0.031 271.7)
-
Step 200
200
#CCD8FF
oklch(88.6% 0.055 271.8)
-
Step 300
300
#AABDFF
oklch(80.8% 0.096 271.7)
-
Step 400
400
#7F98FF
oklch(70.6% 0.153 271.7)
-
Step 500
500
#617AFF
oklch(63% 0.198 271.6)
-
Step 600
600
#4857FF
oklch(55.6% 0.245 271.6)
-
Step 700
700
#3929FF
oklch(49% 0.288 271.5)
-
Step 800
800
#2E1CD7
oklch(42.7% 0.256 271.5)
-
Step 900
900 (this color)
#2525A8
oklch(37.6% 0.199 271.5)
-
Step 950
950
#141962
oklch(26.9% 0.126 271.4)
#2525A8 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) | #0043AC | 0.061 |
| Deuteranopia (no green cones) | #0035A6 | 0.035 |
| Tritanopia (no blue cones) | #004D66 | 0.153 |
| Achromatopsia (no color) | #3C3C3C | 0.200 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #2525A8
#2525A8
oklch(37.6% 0.199 271.5)
- #503F00
#503F00
oklch(37.5% 0.077 91.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 #2525A8, closest first.
No curated palette has a color within ΔE 0.04 of #2525A8.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Indigo Blue #3A18B1 ΔE 0.035
- Sapphire #2138AB ΔE 0.037
- Ultramarine #2000B1 ΔE 0.039
- Cobalt Blue #030AA7 ΔE 0.053
- Royal #0C1793 ΔE 0.057
- Imperial Purple #480CA8 ΔE 0.062
- True Blue #010FCC ΔE 0.068
- Medium Blue #0000CD ΔE 0.073
Use #2525A8 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.