#252C75#252C75
#252C75 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.5% C 0.124 H 273.5°. Best body text is #FFFFFF at 12.38:1 contrast (WCAG AA passes).
Color values
| HEX | #252C75 |
|---|---|
| RGB | rgb(37, 44, 117) |
| HSL | hsl(235, 52%, 30%) |
| HSV | hsv(235, 68%, 46%) |
| CMYK | cmyk(68.4%, 62.4%, 0%, 54.1%) |
| CIE-LAB | lab(21.87, 22.53, -42.91) |
| CIE-LCH | lch(21.87, 48.47, 297.70°) |
| OKLab | oklab(33.54% 0.0076 -0.1236) |
| OKLCH | oklch(33.54% 0.124 273.5) |
| XYZ | xyz(4.8734, 3.4786, 17.2408) |
| Luminance | 0.0348 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.46
Marine
#042E60
ΔE00 6.58
Darkslateblue
#483D8B
ΔE00 7.10
Royal
#0C1793
ΔE00 7.90
Blueberry
#464196
ΔE00 8.08
Marine Blue
#01386A
ΔE00 8.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#252C75 #756E25
analogous
#255475 #252C75 #462575
triadic
#252C75 #75252C #2C7525
tetradic
#252C75 #752554 #756E25 #257546
square
#252C75 #752554 #756E25 #257546
split-complementary
#252C75 #754625 #547525
monochromatic
#080918 #161B47 #252C75 #343DA3 #4E58C7
Accessibility & contrast
On white
12.38
#252C75 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.70
#252C75 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #252C75
12.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##252C75 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##252C75 | 1.00 | 12.38 | 1.70 | 12.38 |
| #FFFFFF | 12.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003877
Deuteranopia (green-blind)
#003174
Tritanopia (blue-blind)
#003E4C
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #252c75; /* rgb */ color: rgb(37, 44, 117); /* oklch */ color: oklch(33.5% 0.124 273.5);
Tailwind
colors: {
custom: {
50: '#6a659d',
500: '#252c75',
950: '#000000',
},
}SCSS
$custom: #252c75; $custom-light: #6a659d; $custom-dark: #000000;
JSON
{
"hex": "#252c75",
"rgb": {
"r": 37,
"g": 44,
"b": 117
},
"hsl": {
"h": 234.75,
"s": 51.948,
"l": 30.196
},
"oklch": {
"l": 0.33538,
"c": 0.12383,
"h": 273.5
},
"luminance": 0.03479
}Semantic roles & 50–950 ramp
primary
#252C75
secondary
#A8A04E
accent
#CF4CDB
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07050E
muted
#7A7A7E