#25338E#25338E
#25338E is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.2% C 0.150 H 270.4°. Best body text is #FFFFFF at 10.81:1 contrast (WCAG AA passes).
Color values
| HEX | #25338E |
|---|---|
| RGB | rgb(37, 51, 142) |
| HSL | hsl(232, 59%, 35%) |
| HSV | hsv(232, 74%, 56%) |
| CMYK | cmyk(73.9%, 64.1%, 0%, 44.3%) |
| CIE-LAB | lab(25.90, 27.24, -52.05) |
| CIE-LCH | lch(25.90, 58.75, 297.62°) |
| OKLab | oklab(37.2% 0.0011 -0.1504) |
| OKLCH | oklch(37.2% 0.15 270.4) |
| XYZ | xyz(6.8276, 4.7133, 26.1359) |
| Luminance | 0.0471 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.27
Blueberry
#464196
ΔE00 5.68
Darkslateblue
#483D8B
ΔE00 5.94
Royal
#0C1793
ΔE00 7.40
Cobalt
#0047AB
ΔE00 7.84
Cobalt (survey)
#1E488F
ΔE00 7.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#25338E #8E8025
analogous
#25678E #25338E #4B258E
triadic
#25338E #8E2533 #338E25
tetradic
#25338E #8E2567 #8E8025 #258E4B
square
#25338E #8E2567 #8E8025 #258E4B
split-complementary
#25338E #8E4B25 #678E25
monochromatic
#0C102D #18225D #25338E #3244BF #5A6AD4
Accessibility & contrast
On white
10.81
#25338E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.94
#25338E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #25338E
10.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##25338E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##25338E | 1.00 | 10.81 | 1.94 | 10.81 |
| #FFFFFF | 10.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004291
Deuteranopia (green-blind)
#00398C
Tritanopia (blue-blind)
#004A5B
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #25338e; /* rgb */ color: rgb(37, 51, 142); /* oklch */ color: oklch(37.2% 0.150 270.4);
Tailwind
colors: {
custom: {
50: '#6f6ab0',
500: '#25338e',
950: '#000000',
},
}SCSS
$custom: #25338e; $custom-light: #6f6ab0; $custom-dark: #000000;
JSON
{
"hex": "#25338e",
"rgb": {
"r": 37,
"g": 51,
"b": 142
},
"hsl": {
"h": 232,
"s": 58.659,
"l": 35.098
},
"oklch": {
"l": 0.37198,
"c": 0.15035,
"h": 270.4
},
"luminance": 0.04714
}Semantic roles & 50–950 ramp
primary
#25338E
secondary
#B9AB56
accent
#CD46E2
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080611
muted
#7B7A80