#252B78#252B78
#252B78 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.6% C 0.130 H 273.7°. Best body text is #FFFFFF at 12.39:1 contrast (WCAG AA passes).
Color values
| HEX | #252B78 |
|---|---|
| RGB | rgb(37, 43, 120) |
| HSL | hsl(236, 53%, 31%) |
| HSV | hsv(236, 69%, 47%) |
| CMYK | cmyk(69.2%, 64.2%, 0%, 52.9%) |
| CIE-LAB | lab(21.86, 24.36, -44.84) |
| CIE-LCH | lch(21.86, 51.03, 298.51°) |
| OKLab | oklab(33.62% 0.0084 -0.1293) |
| OKLCH | oklch(33.62% 0.13 273.7) |
| XYZ | xyz(5.0159, 3.4767, 18.1724) |
| Luminance | 0.0348 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.04
Darkslateblue
#483D8B
ΔE00 7.05
Marine
#042E60
ΔE00 7.10
Royal
#0C1793
ΔE00 7.21
Blueberry
#464196
ΔE00 7.97
Sapphire (survey)
#2138AB
ΔE00 8.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#252B78 #787225
analogous
#255478 #252B78 #482578
triadic
#252B78 #78252B #2B7825
tetradic
#252B78 #782554 #787225 #257848
square
#252B78 #782554 #787225 #257848
split-complementary
#252B78 #784825 #547825
monochromatic
#08091A #171A49 #252B78 #333CA7 #4F58C9
Accessibility & contrast
On white
12.39
#252B78 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.70
#252B78 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #252B78
12.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##252B78 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##252B78 | 1.00 | 12.39 | 1.70 | 12.39 |
| #FFFFFF | 12.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00387B
Deuteranopia (green-blind)
#003176
Tritanopia (blue-blind)
#003E4D
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #252b78; /* rgb */ color: rgb(37, 43, 120); /* oklch */ color: oklch(33.6% 0.130 273.7);
Tailwind
colors: {
custom: {
50: '#6b64a0',
500: '#252b78',
950: '#000000',
},
}SCSS
$custom: #252b78; $custom-light: #6b64a0; $custom-dark: #000000;
JSON
{
"hex": "#252b78",
"rgb": {
"r": 37,
"g": 43,
"b": 120
},
"hsl": {
"h": 235.663,
"s": 52.866,
"l": 30.784
},
"oklch": {
"l": 0.33615,
"c": 0.12953,
"h": 273.7
},
"luminance": 0.03477
}Semantic roles & 50–950 ramp
primary
#252B78
secondary
#AAA44E
accent
#D24CDC
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07050F
muted
#7A7A7E