#25338F#25338F
#25338F is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.3% C 0.152 H 270.4°. Best body text is #FFFFFF at 10.78:1 contrast (WCAG AA passes).
Color values
| HEX | #25338F |
|---|---|
| RGB | rgb(37, 51, 143) |
| HSL | hsl(232, 59%, 35%) |
| HSV | hsv(232, 74%, 56%) |
| CMYK | cmyk(74.1%, 64.3%, 0%, 43.9%) |
| CIE-LAB | lab(25.99, 27.62, -52.52) |
| CIE-LCH | lch(25.99, 59.34, 297.73°) |
| OKLab | oklab(37.29% 0.0011 -0.1517) |
| OKLCH | oklch(37.29% 0.152 270.4) |
| XYZ | xyz(6.9030, 4.7434, 26.5330) |
| Luminance | 0.0474 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.13
Blueberry
#464196
ΔE00 5.66
Darkslateblue
#483D8B
ΔE00 5.96
Royal
#0C1793
ΔE00 7.34
Cobalt
#0047AB
ΔE00 7.80
Cobalt (survey)
#1E488F
ΔE00 7.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#25338F #8F8125
analogous
#25688F #25338F #4C258F
triadic
#25338F #8F2533 #338F25
tetradic
#25338F #8F2568 #8F8125 #258F4C
square
#25338F #8F2568 #8F8125 #258F4C
split-complementary
#25338F #8F4C25 #688F25
monochromatic
#0C102E #18225E #25338F #3244C0 #5A6AD4
Accessibility & contrast
On white
10.78
#25338F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.95
#25338F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #25338F
10.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##25338F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##25338F | 1.00 | 10.78 | 1.95 | 10.78 |
| #FFFFFF | 10.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004392
Deuteranopia (green-blind)
#00398D
Tritanopia (blue-blind)
#004B5C
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #25338f; /* rgb */ color: rgb(37, 51, 143); /* oklch */ color: oklch(37.3% 0.152 270.4);
Tailwind
colors: {
custom: {
50: '#706ab1',
500: '#25338f',
950: '#000000',
},
}SCSS
$custom: #25338f; $custom-light: #706ab1; $custom-dark: #000000;
JSON
{
"hex": "#25338f",
"rgb": {
"r": 37,
"g": 51,
"b": 143
},
"hsl": {
"h": 232.075,
"s": 58.889,
"l": 35.294
},
"oklch": {
"l": 0.37291,
"c": 0.15173,
"h": 270.4
},
"luminance": 0.04744
}Semantic roles & 50–950 ramp
primary
#25338F
secondary
#B9AC57
accent
#CD46E2
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80