#252B74#252B74
#252B74 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.2% C 0.124 H 273.9°. Best body text is #FFFFFF at 12.53:1 contrast (WCAG AA passes).
Color values
| HEX | #252B74 |
|---|---|
| RGB | rgb(37, 43, 116) |
| HSL | hsl(235, 52%, 30%) |
| HSV | hsv(235, 68%, 45%) |
| CMYK | cmyk(68.1%, 62.9%, 0%, 54.5%) |
| CIE-LAB | lab(21.51, 22.85, -42.85) |
| CIE-LCH | lch(21.51, 48.56, 298.07°) |
| OKLab | oklab(33.25% 0.0085 -0.1234) |
| OKLCH | oklch(33.25% 0.124 273.9) |
| XYZ | xyz(4.7782, 3.3816, 16.9205) |
| Luminance | 0.0338 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.17
Marine
#042E60
ΔE00 6.71
Darkslateblue
#483D8B
ΔE00 7.26
Royal
#0C1793
ΔE00 7.79
Blueberry
#464196
ΔE00 8.30
Navy Blue
#1B2A4A
ΔE00 8.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#252B74 #746E25
analogous
#255374 #252B74 #462574
triadic
#252B74 #74252B #2B7425
tetradic
#252B74 #742553 #746E25 #257446
square
#252B74 #742553 #746E25 #257446
split-complementary
#252B74 #744625 #537425
monochromatic
#070917 #161A46 #252B74 #343CA2 #4D56C6
Accessibility & contrast
On white
12.53
#252B74 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.68
#252B74 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #252B74
12.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##252B74 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##252B74 | 1.00 | 12.53 | 1.68 | 12.53 |
| #FFFFFF | 12.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003776
Deuteranopia (green-blind)
#003073
Tritanopia (blue-blind)
#003D4B
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #252b74; /* rgb */ color: rgb(37, 43, 116); /* oklch */ color: oklch(33.2% 0.124 273.9);
Tailwind
colors: {
custom: {
50: '#6a649d',
500: '#252b74',
950: '#000000',
},
}SCSS
$custom: #252b74; $custom-light: #6a649d; $custom-dark: #000000;
JSON
{
"hex": "#252b74",
"rgb": {
"r": 37,
"g": 43,
"b": 116
},
"hsl": {
"h": 235.443,
"s": 51.634,
"l": 30
},
"oklch": {
"l": 0.33249,
"c": 0.12371,
"h": 273.9
},
"luminance": 0.03382
}Semantic roles & 50–950 ramp
primary
#252B74
secondary
#A7A04E
accent
#D04DDB
background
#F6F5F9
surface
#ECEAF2
border
#C7C6CC
text
#07050E
muted
#7A797E