#252F9C#252F9C
#252F9C is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.8% C 0.174 H 270.9°. Best body text is #FFFFFF at 10.68:1 contrast (WCAG AA passes).
Color values
| HEX | #252F9C |
|---|---|
| RGB | rgb(37, 47, 156) |
| HSL | hsl(235, 62%, 38%) |
| HSV | hsv(235, 76%, 61%) |
| CMYK | cmyk(76.3%, 69.9%, 0%, 38.8%) |
| CIE-LAB | lab(26.23, 35.04, -60.11) |
| CIE-LCH | lch(26.23, 69.58, 300.24°) |
| OKLab | oklab(37.84% 0.0027 -0.1739) |
| OKLCH | oklch(37.84% 0.174 270.9) |
| XYZ | xyz(7.7782, 4.8258, 31.9676) |
| Luminance | 0.0483 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.19
Royal
#0C1793
ΔE00 5.88
Blueberry
#464196
ΔE00 6.37
Indigo Blue
#3A18B1
ΔE00 6.42
Darkslateblue
#483D8B
ΔE00 6.88
Cobalt Blue
#030AA7
ΔE00 7.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#252F9C #9C9225
analogous
#256A9C #252F9C #56259C
triadic
#252F9C #9C252F #2F9C25
tetradic
#252F9C #9C256A #9C9225 #259C56
square
#252F9C #9C256A #9C9225 #259C56
split-complementary
#252F9C #9C5625 #6A9C25
monochromatic
#0E1139 #19206B #252F9C #313ECD #626CDA
Accessibility & contrast
On white
10.68
#252F9C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.97
#252F9C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #252F9C
10.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##252F9C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##252F9C | 1.00 | 10.68 | 1.97 | 10.68 |
| #FFFFFF | 10.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00449F
Deuteranopia (green-blind)
#00389A
Tritanopia (blue-blind)
#004D61
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #252f9c; /* rgb */ color: rgb(37, 47, 156); /* oklch */ color: oklch(37.8% 0.174 270.9);
Tailwind
colors: {
custom: {
50: '#7368ba',
500: '#252f9c',
950: '#000000',
},
}SCSS
$custom: #252f9c; $custom-light: #7368ba; $custom-dark: #000000;
JSON
{
"hex": "#252f9c",
"rgb": {
"r": 37,
"g": 47,
"b": 156
},
"hsl": {
"h": 234.958,
"s": 61.658,
"l": 37.843
},
"oklch": {
"l": 0.37841,
"c": 0.17397,
"h": 270.9
},
"luminance": 0.04827
}Semantic roles & 50–950 ramp
primary
#252F9C
secondary
#BFB75E
accent
#D743E5
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090612
muted
#7B7A81