#252B76#252B76
#252B76 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.4% C 0.127 H 273.8°. Best body text is #FFFFFF at 12.46:1 contrast (WCAG AA passes).
Color values
| HEX | #252B76 |
|---|---|
| RGB | rgb(37, 43, 118) |
| HSL | hsl(236, 52%, 30%) |
| HSV | hsv(236, 69%, 46%) |
| CMYK | cmyk(68.6%, 63.6%, 0%, 53.7%) |
| CIE-LAB | lab(21.68, 23.60, -43.85) |
| CIE-LCH | lch(21.68, 49.80, 298.29°) |
| OKLab | oklab(33.43% 0.0084 -0.1264) |
| OKLCH | oklch(33.43% 0.127 273.8) |
| XYZ | xyz(4.8958, 3.4286, 17.5398) |
| Luminance | 0.0343 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.09
Marine
#042E60
ΔE00 6.90
Darkslateblue
#483D8B
ΔE00 7.15
Royal
#0C1793
ΔE00 7.49
Blueberry
#464196
ΔE00 8.13
Sapphire (survey)
#2138AB
ΔE00 8.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#252B76 #767025
analogous
#255376 #252B76 #482576
triadic
#252B76 #76252B #2B7625
tetradic
#252B76 #762553 #767025 #257648
square
#252B76 #762553 #767025 #257648
split-complementary
#252B76 #764825 #537625
monochromatic
#080919 #161A47 #252B76 #343CA5 #4E57C7
Accessibility & contrast
On white
12.46
#252B76 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.69
#252B76 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #252B76
12.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##252B76 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##252B76 | 1.00 | 12.46 | 1.69 | 12.46 |
| #FFFFFF | 12.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003878
Deuteranopia (green-blind)
#003075
Tritanopia (blue-blind)
#003E4C
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #252b76; /* rgb */ color: rgb(37, 43, 118); /* oklch */ color: oklch(33.4% 0.127 273.8);
Tailwind
colors: {
custom: {
50: '#6a649e',
500: '#252b76',
950: '#000000',
},
}SCSS
$custom: #252b76; $custom-light: #6a649e; $custom-dark: #000000;
JSON
{
"hex": "#252b76",
"rgb": {
"r": 37,
"g": 43,
"b": 118
},
"hsl": {
"h": 235.556,
"s": 52.258,
"l": 30.392
},
"oklch": {
"l": 0.33431,
"c": 0.12664,
"h": 273.8
},
"luminance": 0.03429
}Semantic roles & 50–950 ramp
primary
#252B76
secondary
#A9A24E
accent
#D14CDC
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07050E
muted
#7A7A7E