#252F70#252F70
#252F70 is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.7% C 0.112 H 272.3°. Best body text is #FFFFFF at 12.21:1 contrast (WCAG AA passes).
Color values
| HEX | #252F70 |
|---|---|
| RGB | rgb(37, 47, 112) |
| HSL | hsl(232, 50%, 29%) |
| HSV | hsv(232, 67%, 44%) |
| CMYK | cmyk(67%, 58%, 0%, 56.1%) |
| CIE-LAB | lab(22.29, 18.53, -39.02) |
| CIE-LCH | lch(22.29, 43.20, 295.40°) |
| OKLab | oklab(33.72% 0.0046 -0.1121) |
| OKLCH | oklch(33.72% 0.112 272.3) |
| XYZ | xyz(4.7031, 3.5958, 15.7723) |
| Luminance | 0.0360 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 5.48
Midnight Blue
#191970
ΔE00 6.82
Marine Blue
#01386A
ΔE00 7.30
Darkslateblue
#483D8B
ΔE00 7.31
Navy Blue
#1B2A4A
ΔE00 7.43
Blueberry
#464196
ΔE00 8.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#252F70 #706625
analogous
#255570 #252F70 #412570
triadic
#252F70 #70252F #2F7025
tetradic
#252F70 #702555 #706625 #257041
square
#252F70 #702555 #706625 #257041
split-complementary
#252F70 #704125 #557025
monochromatic
#080A17 #161C42 #252F70 #34429E #4C5CC4
Accessibility & contrast
On white
12.21
#252F70 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.72
#252F70 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #252F70
12.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##252F70 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##252F70 | 1.00 | 12.21 | 1.72 | 12.21 |
| #FFFFFF | 12.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003972
Deuteranopia (green-blind)
#00326F
Tritanopia (blue-blind)
#003E4A
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #252f70; /* rgb */ color: rgb(37, 47, 112); /* oklch */ color: oklch(33.7% 0.112 272.3);
Tailwind
colors: {
custom: {
50: '#69679a',
500: '#252f70',
950: '#000000',
},
}SCSS
$custom: #252f70; $custom-light: #69679a; $custom-dark: #000000;
JSON
{
"hex": "#252f70",
"rgb": {
"r": 37,
"g": 47,
"b": 112
},
"hsl": {
"h": 232,
"s": 50.336,
"l": 29.216
},
"oklch": {
"l": 0.33722,
"c": 0.11222,
"h": 272.3
},
"luminance": 0.03596
}Semantic roles & 50–950 ramp
primary
#252F70
secondary
#A3984E
accent
#C74EDA
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E