#252C70#252C70
#252C70 is a dark, moderate blue. Relative luminance 0.034; OKLCH L 33.1% C 0.116 H 273.7°. Best body text is #FFFFFF at 12.55:1 contrast (WCAG AA passes).
Color values
| HEX | #252C70 |
|---|---|
| RGB | rgb(37, 44, 112) |
| HSL | hsl(234, 50%, 29%) |
| HSV | hsv(234, 67%, 44%) |
| CMYK | cmyk(67%, 60.7%, 0%, 56.1%) |
| CIE-LAB | lab(21.45, 20.64, -40.39) |
| CIE-LCH | lch(21.45, 45.35, 297.06°) |
| OKLab | oklab(33.1% 0.0076 -0.1162) |
| OKLCH | oklch(33.1% 0.116 273.7) |
| XYZ | xyz(4.5873, 3.3641, 15.7337) |
| Luminance | 0.0336 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.76
Marine
#042E60
ΔE00 6.13
Darkslateblue
#483D8B
ΔE00 7.46
Navy Blue
#1B2A4A
ΔE00 7.80
Marine Blue
#01386A
ΔE00 8.19
Blueberry
#464196
ΔE00 8.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#252C70 #706925
analogous
#255270 #252C70 #442570
triadic
#252C70 #70252C #2C7025
tetradic
#252C70 #702552 #706925 #257044
square
#252C70 #702552 #706925 #257044
split-complementary
#252C70 #704425 #527025
monochromatic
#080917 #161A42 #252C70 #343E9E #4C57C4
Accessibility & contrast
On white
12.55
#252C70 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.67
#252C70 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #252C70
12.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##252C70 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##252C70 | 1.00 | 12.55 | 1.67 | 12.55 |
| #FFFFFF | 12.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003772
Deuteranopia (green-blind)
#00306F
Tritanopia (blue-blind)
#003C49
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #252c70; /* rgb */ color: rgb(37, 44, 112); /* oklch */ color: oklch(33.1% 0.116 273.7);
Tailwind
colors: {
custom: {
50: '#69659a',
500: '#252c70',
950: '#000000',
},
}SCSS
$custom: #252c70; $custom-light: #69659a; $custom-dark: #000000;
JSON
{
"hex": "#252c70",
"rgb": {
"r": 37,
"g": 44,
"b": 112
},
"hsl": {
"h": 234.4,
"s": 50.336,
"l": 29.216
},
"oklch": {
"l": 0.33095,
"c": 0.11642,
"h": 273.7
},
"luminance": 0.03365
}Semantic roles & 50–950 ramp
primary
#252C70
secondary
#A39B4E
accent
#CD4EDA
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07050E
muted
#7A7A7E