#252E79#252E79
#252E79 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.3% C 0.127 H 272.6°. Best body text is #FFFFFF at 12.03:1 contrast (WCAG AA passes).
Color values
| HEX | #252E79 |
|---|---|
| RGB | rgb(37, 46, 121) |
| HSL | hsl(234, 53%, 31%) |
| HSV | hsv(234, 69%, 47%) |
| CMYK | cmyk(69.4%, 62%, 0%, 52.5%) |
| CIE-LAB | lab(22.75, 22.67, -44.03) |
| CIE-LCH | lch(22.75, 49.52, 297.25°) |
| OKLab | oklab(34.3% 0.0057 -0.1268) |
| OKLCH | oklch(34.3% 0.127 272.6) |
| XYZ | xyz(5.1900, 3.7273, 18.5314) |
| Luminance | 0.0373 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.99
Marine
#042E60
ΔE00 6.58
Darkslateblue
#483D8B
ΔE00 6.70
Blueberry
#464196
ΔE00 7.49
Sapphire (survey)
#2138AB
ΔE00 7.69
Royal
#0C1793
ΔE00 7.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#252E79 #797025
analogous
#255879 #252E79 #462579
triadic
#252E79 #79252E #2E7925
tetradic
#252E79 #792558 #797025 #257946
square
#252E79 #792558 #797025 #257946
split-complementary
#252E79 #794625 #587925
monochromatic
#080A1B #171C4A #252E79 #3340A8 #4F5CC9
Accessibility & contrast
On white
12.03
#252E79 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.75
#252E79 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #252E79
12.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##252E79 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##252E79 | 1.00 | 12.03 | 1.75 | 12.03 |
| #FFFFFF | 12.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003A7B
Deuteranopia (green-blind)
#003378
Tritanopia (blue-blind)
#00414E
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #252e79; /* rgb */ color: rgb(37, 46, 121); /* oklch */ color: oklch(34.3% 0.127 272.6);
Tailwind
colors: {
custom: {
50: '#6b66a0',
500: '#252e79',
950: '#000000',
},
}SCSS
$custom: #252e79; $custom-light: #6b66a0; $custom-dark: #000000;
JSON
{
"hex": "#252e79",
"rgb": {
"r": 37,
"g": 46,
"b": 121
},
"hsl": {
"h": 233.571,
"s": 53.165,
"l": 30.98
},
"oklch": {
"l": 0.34298,
"c": 0.12698,
"h": 272.6
},
"luminance": 0.03728
}Semantic roles & 50–950 ramp
primary
#252E79
secondary
#ABA14E
accent
#CD4BDD
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060F
muted
#7A7A7E