#252F75#252F75
#252F75 is a dark, moderate blue. Relative luminance 0.037; OKLCH L 34.1% C 0.120 H 272.3°. Best body text is #FFFFFF at 12.05:1 contrast (WCAG AA passes).
Color values
| HEX | #252F75 |
|---|---|
| RGB | rgb(37, 47, 117) |
| HSL | hsl(233, 52%, 30%) |
| HSV | hsv(233, 68%, 46%) |
| CMYK | cmyk(68.4%, 59.8%, 0%, 54.1%) |
| CIE-LAB | lab(22.69, 20.45, -41.57) |
| CIE-LCH | lch(22.69, 46.33, 296.19°) |
| OKLab | oklab(34.15% 0.0047 -0.1196) |
| OKLCH | oklch(34.15% 0.12 272.3) |
| XYZ | xyz(4.9893, 3.7103, 17.2794) |
| Luminance | 0.0371 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 5.96
Midnight Blue
#191970
ΔE00 6.48
Darkslateblue
#483D8B
ΔE00 6.89
Marine Blue
#01386A
ΔE00 7.52
Blueberry
#464196
ΔE00 7.74
Navy Blue
#1B2A4A
ΔE00 8.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#252F75 #756B25
analogous
#255775 #252F75 #432575
triadic
#252F75 #75252F #2F7525
tetradic
#252F75 #752557 #756B25 #257543
square
#252F75 #752557 #756B25 #257543
split-complementary
#252F75 #754325 #577525
monochromatic
#080A18 #161C47 #252F75 #3442A3 #4E5DC7
Accessibility & contrast
On white
12.05
#252F75 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.74
#252F75 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #252F75
12.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##252F75 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##252F75 | 1.00 | 12.05 | 1.74 | 12.05 |
| #FFFFFF | 12.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003A77
Deuteranopia (green-blind)
#003374
Tritanopia (blue-blind)
#00404D
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #252f75; /* rgb */ color: rgb(37, 47, 117); /* oklch */ color: oklch(34.1% 0.120 272.3);
Tailwind
colors: {
custom: {
50: '#6a679d',
500: '#252f75',
950: '#000000',
},
}SCSS
$custom: #252f75; $custom-light: #6a679d; $custom-dark: #000000;
JSON
{
"hex": "#252f75",
"rgb": {
"r": 37,
"g": 47,
"b": 117
},
"hsl": {
"h": 232.5,
"s": 51.948,
"l": 30.196
},
"oklch": {
"l": 0.34149,
"c": 0.11972,
"h": 272.3
},
"luminance": 0.03711
}Semantic roles & 50–950 ramp
primary
#252F75
secondary
#A89C4E
accent
#CA4CDB
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E