#252F99#252F99
#252F99 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.5% C 0.170 H 271.0°. Best body text is #FFFFFF at 10.80:1 contrast (WCAG AA passes).
Color values
| HEX | #252F99 |
|---|---|
| RGB | rgb(37, 47, 153) |
| HSL | hsl(235, 61%, 37%) |
| HSV | hsv(235, 76%, 60%) |
| CMYK | cmyk(75.8%, 69.3%, 0%, 40%) |
| CIE-LAB | lab(25.94, 33.95, -58.76) |
| CIE-LCH | lch(25.94, 67.87, 300.02°) |
| OKLab | oklab(37.54% 0.003 -0.17) |
| OKLCH | oklch(37.54% 0.17 271) |
| XYZ | xyz(7.5273, 4.7255, 30.6462) |
| Luminance | 0.0473 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.44
Royal
#0C1793
ΔE00 5.86
Blueberry
#464196
ΔE00 6.31
Indigo Blue
#3A18B1
ΔE00 6.72
Darkslateblue
#483D8B
ΔE00 6.72
Cobalt Blue
#030AA7
ΔE00 7.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#252F99 #998F25
analogous
#256999 #252F99 #552599
triadic
#252F99 #99252F #2F9925
tetradic
#252F99 #992569 #998F25 #259955
square
#252F99 #992569 #998F25 #259955
split-complementary
#252F99 #995525 #699925
monochromatic
#0D1136 #192068 #252F99 #313ECA #606AD9
Accessibility & contrast
On white
10.80
#252F99 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.95
#252F99 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #252F99
10.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##252F99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##252F99 | 1.00 | 10.80 | 1.95 | 10.80 |
| #FFFFFF | 10.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00439C
Deuteranopia (green-blind)
#003897
Tritanopia (blue-blind)
#004C60
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #252f99; /* rgb */ color: rgb(37, 47, 153); /* oklch */ color: oklch(37.5% 0.170 271.0);
Tailwind
colors: {
custom: {
50: '#7368b8',
500: '#252f99',
950: '#000000',
},
}SCSS
$custom: #252f99; $custom-light: #7368b8; $custom-dark: #000000;
JSON
{
"hex": "#252f99",
"rgb": {
"r": 37,
"g": 47,
"b": 153
},
"hsl": {
"h": 234.828,
"s": 61.053,
"l": 37.255
},
"oklch": {
"l": 0.37539,
"c": 0.17005,
"h": 271
},
"luminance": 0.04726
}Semantic roles & 50–950 ramp
primary
#252F99
secondary
#BEB55C
accent
#D644E4
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80