#25286F#25286F
#25286F is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.2% C 0.120 H 275.5°. Best body text is #FFFFFF at 13.03:1 contrast (WCAG AA passes).
Color values
| HEX | #25286F |
|---|---|
| RGB | rgb(37, 40, 111) |
| HSL | hsl(238, 50%, 29%) |
| HSV | hsv(238, 67%, 44%) |
| CMYK | cmyk(66.7%, 64%, 0%, 56.5%) |
| CIE-LAB | lab(20.28, 23.04, -41.65) |
| CIE-LCH | lch(20.28, 47.59, 298.95°) |
| OKLab | oklab(32.2% 0.0115 -0.1199) |
| OKLCH | oklch(32.2% 0.12 275.5) |
| XYZ | xyz(4.3900, 3.0582, 15.3948) |
| Luminance | 0.0306 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 4.51
Marine
#042E60
ΔE00 7.04
Royal
#0C1793
ΔE00 7.87
Darkslateblue
#483D8B
ΔE00 7.93
Navy Blue
#1B2A4A
ΔE00 8.30
Darkblue (survey)
#030764
ΔE00 8.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#25286F #6F6C25
analogous
#254D6F #25286F #47256F
triadic
#25286F #6F2528 #286F25
tetradic
#25286F #6F254D #6F6C25 #256F47
square
#25286F #6F254D #6F6C25 #256F47
split-complementary
#25286F #6F4725 #4D6F25
monochromatic
#080817 #161741 #25286F #34399D #4B50C3
Accessibility & contrast
On white
13.03
#25286F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.61
#25286F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #25286F
13.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##25286F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##25286F | 1.00 | 13.03 | 1.61 | 13.03 |
| #FFFFFF | 13.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003471
Deuteranopia (green-blind)
#002E6E
Tritanopia (blue-blind)
#003A47
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #25286f; /* rgb */ color: rgb(37, 40, 111); /* oklch */ color: oklch(32.2% 0.120 275.5);
Tailwind
colors: {
custom: {
50: '#696299',
500: '#25286f',
950: '#000000',
},
}SCSS
$custom: #25286f; $custom-light: #696299; $custom-dark: #000000;
JSON
{
"hex": "#25286f",
"rgb": {
"r": 37,
"g": 40,
"b": 111
},
"hsl": {
"h": 237.568,
"s": 50,
"l": 29.02
},
"oklch": {
"l": 0.32201,
"c": 0.12047,
"h": 275.5
},
"luminance": 0.03059
}Semantic roles & 50–950 ramp
primary
#25286F
secondary
#A29E4E
accent
#D44EDA
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050E
muted
#7A797E