#252B77#252B77
#252B77 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.5% C 0.128 H 273.8°. Best body text is #FFFFFF at 12.42:1 contrast (WCAG AA passes).
Color values
| HEX | #252B77 |
|---|---|
| RGB | rgb(37, 43, 119) |
| HSL | hsl(236, 53%, 31%) |
| HSV | hsv(236, 69%, 47%) |
| CMYK | cmyk(68.9%, 63.9%, 0%, 53.3%) |
| CIE-LAB | lab(21.77, 23.98, -44.35) |
| CIE-LCH | lch(21.77, 50.41, 298.40°) |
| OKLab | oklab(33.52% 0.0084 -0.1278) |
| OKLCH | oklch(33.52% 0.128 273.8) |
| XYZ | xyz(4.9555, 3.4525, 17.8544) |
| Luminance | 0.0345 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.06
Marine
#042E60
ΔE00 7.00
Darkslateblue
#483D8B
ΔE00 7.10
Royal
#0C1793
ΔE00 7.35
Blueberry
#464196
ΔE00 8.05
Sapphire (survey)
#2138AB
ΔE00 8.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#252B77 #777125
analogous
#255477 #252B77 #482577
triadic
#252B77 #77252B #2B7725
tetradic
#252B77 #772554 #777125 #257748
square
#252B77 #772554 #777125 #257748
split-complementary
#252B77 #774825 #547725
monochromatic
#08091A #161A48 #252B77 #343CA6 #4E57C8
Accessibility & contrast
On white
12.42
#252B77 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.69
#252B77 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #252B77
12.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##252B77 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##252B77 | 1.00 | 12.42 | 1.69 | 12.42 |
| #FFFFFF | 12.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003879
Deuteranopia (green-blind)
#003176
Tritanopia (blue-blind)
#003E4C
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #252b77; /* rgb */ color: rgb(37, 43, 119); /* oklch */ color: oklch(33.5% 0.128 273.8);
Tailwind
colors: {
custom: {
50: '#6b649f',
500: '#252b77',
950: '#000000',
},
}SCSS
$custom: #252b77; $custom-light: #6b649f; $custom-dark: #000000;
JSON
{
"hex": "#252b77",
"rgb": {
"r": 37,
"g": 43,
"b": 119
},
"hsl": {
"h": 235.61,
"s": 52.564,
"l": 30.588
},
"oklch": {
"l": 0.33522,
"c": 0.12809,
"h": 273.8
},
"luminance": 0.03453
}Semantic roles & 50–950 ramp
primary
#252B77
secondary
#A9A34E
accent
#D14CDC
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07050E
muted
#7A7A7E