#252F7C#252F7C
#252F7C is a dark, vivid blue. Relative luminance 0.039; OKLCH L 34.8% C 0.130 H 272.1°. Best body text is #FFFFFF at 11.82:1 contrast (WCAG AA passes).
Color values
| HEX | #252F7C |
|---|---|
| RGB | rgb(37, 47, 124) |
| HSL | hsl(233, 54%, 32%) |
| HSV | hsv(233, 70%, 49%) |
| CMYK | cmyk(70.2%, 62.1%, 0%, 51.4%) |
| CIE-LAB | lab(23.27, 23.12, -45.07) |
| CIE-LCH | lch(23.27, 50.66, 297.16°) |
| OKLab | oklab(34.77% 0.0048 -0.1299) |
| OKLCH | oklch(34.77% 0.13 272.1) |
| XYZ | xyz(5.4163, 3.8811, 19.5286) |
| Luminance | 0.0388 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 6.27
Darkslateblue
#483D8B
ΔE00 6.48
Marine
#042E60
ΔE00 6.73
Blueberry
#464196
ΔE00 7.13
Sapphire (survey)
#2138AB
ΔE00 7.17
Royal
#0C1793
ΔE00 7.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#252F7C #7C7225
analogous
#255B7C #252F7C #47257C
triadic
#252F7C #7C252F #2F7C25
tetradic
#252F7C #7C255B #7C7225 #257C47
square
#252F7C #7C255B #7C7225 #257C47
split-complementary
#252F7C #7C4725 #5B7C25
monochromatic
#090B1E #171D4D #252F7C #3341AB #505FCB
Accessibility & contrast
On white
11.82
#252F7C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.78
#252F7C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #252F7C
11.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##252F7C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##252F7C | 1.00 | 11.82 | 1.78 | 11.82 |
| #FFFFFF | 11.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C7F
Deuteranopia (green-blind)
#00347A
Tritanopia (blue-blind)
#004250
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #252f7c; /* rgb */ color: rgb(37, 47, 124); /* oklch */ color: oklch(34.8% 0.130 272.1);
Tailwind
colors: {
custom: {
50: '#6b67a3',
500: '#252f7c',
950: '#000000',
},
}SCSS
$custom: #252f7c; $custom-light: #6b67a3; $custom-dark: #000000;
JSON
{
"hex": "#252f7c",
"rgb": {
"r": 37,
"g": 47,
"b": 124
},
"hsl": {
"h": 233.103,
"s": 54.037,
"l": 31.569
},
"oklch": {
"l": 0.34768,
"c": 0.13001,
"h": 272.1
},
"luminance": 0.03882
}Semantic roles & 50–950 ramp
primary
#252F7C
secondary
#AEA34F
accent
#CD4ADD
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F