#25307F#25307F
#25307F is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.2% C 0.133 H 271.7°. Best body text is #FFFFFF at 11.62:1 contrast (WCAG AA passes).
Color values
| HEX | #25307F |
|---|---|
| RGB | rgb(37, 48, 127) |
| HSL | hsl(233, 55%, 32%) |
| HSV | hsv(233, 71%, 50%) |
| CMYK | cmyk(70.9%, 62.2%, 0%, 50.2%) |
| CIE-LAB | lab(23.80, 23.58, -46.11) |
| CIE-LCH | lch(23.80, 51.79, 297.08°) |
| OKLab | oklab(35.24% 0.0039 -0.133) |
| OKLCH | oklch(35.24% 0.133 271.7) |
| XYZ | xyz(5.6494, 4.0390, 20.5564) |
| Luminance | 0.0404 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 6.29
Midnight Blue
#191970
ΔE00 6.58
Sapphire (survey)
#2138AB
ΔE00 6.66
Blueberry
#464196
ΔE00 6.78
Marine
#042E60
ΔE00 6.92
Royal
#0C1793
ΔE00 7.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#25307F #7F7425
analogous
#255D7F #25307F #47257F
triadic
#25307F #7F2530 #307F25
tetradic
#25307F #7F255D #7F7425 #257F47
square
#25307F #7F255D #7F7425 #257F47
split-complementary
#25307F #7F4725 #5D7F25
monochromatic
#090C20 #171E50 #25307F #3342AE #5261CD
Accessibility & contrast
On white
11.62
#25307F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.81
#25307F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #25307F
11.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##25307F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##25307F | 1.00 | 11.62 | 1.81 | 11.62 |
| #FFFFFF | 11.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D82
Deuteranopia (green-blind)
#00357D
Tritanopia (blue-blind)
#004452
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #25307f; /* rgb */ color: rgb(37, 48, 127); /* oklch */ color: oklch(35.2% 0.133 271.7);
Tailwind
colors: {
custom: {
50: '#6c68a5',
500: '#25307f',
950: '#000000',
},
}SCSS
$custom: #25307f; $custom-light: #6c68a5; $custom-dark: #000000;
JSON
{
"hex": "#25307f",
"rgb": {
"r": 37,
"g": 48,
"b": 127
},
"hsl": {
"h": 232.667,
"s": 54.878,
"l": 32.157
},
"oklch": {
"l": 0.35237,
"c": 0.13302,
"h": 271.7
},
"luminance": 0.0404
}Semantic roles & 50–950 ramp
primary
#25307F
secondary
#B1A54F
accent
#CC4ADE
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#08060F
muted
#7A7A7F