#252E70#252E70
#252E70 is a dark, moderate blue. Relative luminance 0.035; OKLCH L 33.5% C 0.114 H 272.8°. Best body text is #FFFFFF at 12.33:1 contrast (WCAG AA passes).
Color values
| HEX | #252E70 |
|---|---|
| RGB | rgb(37, 46, 112) |
| HSL | hsl(233, 50%, 29%) |
| HSV | hsv(233, 67%, 44%) |
| CMYK | cmyk(67%, 58.9%, 0%, 56.1%) |
| CIE-LAB | lab(22.00, 19.23, -39.48) |
| CIE-LCH | lch(22.00, 43.92, 295.97°) |
| OKLab | oklab(33.51% 0.0056 -0.1135) |
| OKLCH | oklch(33.51% 0.114 272.8) |
| XYZ | xyz(4.6636, 3.5168, 15.7591) |
| Luminance | 0.0352 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 5.68
Midnight Blue
#191970
ΔE00 6.46
Darkslateblue
#483D8B
ΔE00 7.34
Navy Blue
#1B2A4A
ΔE00 7.54
Marine Blue
#01386A
ΔE00 7.60
Blueberry
#464196
ΔE00 8.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#252E70 #706725
analogous
#255470 #252E70 #422570
triadic
#252E70 #70252E #2E7025
tetradic
#252E70 #702554 #706725 #257042
square
#252E70 #702554 #706725 #257042
split-complementary
#252E70 #704225 #547025
monochromatic
#080917 #161B42 #252E70 #34419E #4C5AC4
Accessibility & contrast
On white
12.33
#252E70 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.70
#252E70 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #252E70
12.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##252E70 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##252E70 | 1.00 | 12.33 | 1.70 | 12.33 |
| #FFFFFF | 12.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003872
Deuteranopia (green-blind)
#00316F
Tritanopia (blue-blind)
#003E4A
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #252e70; /* rgb */ color: rgb(37, 46, 112); /* oklch */ color: oklch(33.5% 0.114 272.8);
Tailwind
colors: {
custom: {
50: '#69669a',
500: '#252e70',
950: '#000000',
},
}SCSS
$custom: #252e70; $custom-light: #69669a; $custom-dark: #000000;
JSON
{
"hex": "#252e70",
"rgb": {
"r": 37,
"g": 46,
"b": 112
},
"hsl": {
"h": 232.8,
"s": 50.336,
"l": 29.216
},
"oklch": {
"l": 0.33511,
"c": 0.11363,
"h": 272.8
},
"luminance": 0.03517
}Semantic roles & 50–950 ramp
primary
#252E70
secondary
#A3994E
accent
#C94EDA
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E