#252E75#252E75
#252E75 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 33.9% C 0.121 H 272.7°. Best body text is #FFFFFF at 12.16:1 contrast (WCAG AA passes).
Color values
| HEX | #252E75 |
|---|---|
| RGB | rgb(37, 46, 117) |
| HSL | hsl(233, 52%, 30%) |
| HSV | hsv(233, 68%, 46%) |
| CMYK | cmyk(68.4%, 60.7%, 0%, 54.1%) |
| CIE-LAB | lab(22.41, 21.15, -42.02) |
| CIE-LCH | lch(22.41, 47.05, 296.71°) |
| OKLab | oklab(33.94% 0.0057 -0.121) |
| OKLCH | oklch(33.94% 0.121 272.7) |
| XYZ | xyz(4.9498, 3.6312, 17.2662) |
| Luminance | 0.0363 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 6.14
Marine
#042E60
ΔE00 6.15
Darkslateblue
#483D8B
ΔE00 6.94
Marine Blue
#01386A
ΔE00 7.81
Blueberry
#464196
ΔE00 7.84
Navy Blue
#1B2A4A
ΔE00 8.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#252E75 #756C25
analogous
#255675 #252E75 #442575
triadic
#252E75 #75252E #2E7525
tetradic
#252E75 #752556 #756C25 #257544
square
#252E75 #752556 #756C25 #257544
split-complementary
#252E75 #754425 #567525
monochromatic
#080918 #161C47 #252E75 #3440A3 #4E5BC7
Accessibility & contrast
On white
12.16
#252E75 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.73
#252E75 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #252E75
12.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##252E75 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##252E75 | 1.00 | 12.16 | 1.73 | 12.16 |
| #FFFFFF | 12.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003977
Deuteranopia (green-blind)
#003274
Tritanopia (blue-blind)
#003F4C
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #252e75; /* rgb */ color: rgb(37, 46, 117); /* oklch */ color: oklch(33.9% 0.121 272.7);
Tailwind
colors: {
custom: {
50: '#6a669d',
500: '#252e75',
950: '#000000',
},
}SCSS
$custom: #252e75; $custom-light: #6a669d; $custom-dark: #000000;
JSON
{
"hex": "#252e75",
"rgb": {
"r": 37,
"g": 46,
"b": 117
},
"hsl": {
"h": 233.25,
"s": 51.948,
"l": 30.196
},
"oklch": {
"l": 0.33943,
"c": 0.12109,
"h": 272.7
},
"luminance": 0.03632
}Semantic roles & 50–950 ramp
primary
#252E75
secondary
#A89E4E
accent
#CB4CDB
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E