#25339E#25339E
#25339E is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.7% C 0.172 H 270.1°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).
Color values
| HEX | #25339E |
|---|---|
| RGB | rgb(37, 51, 158) |
| HSL | hsl(233, 62%, 38%) |
| HSV | hsv(233, 77%, 62%) |
| CMYK | cmyk(76.6%, 67.7%, 0%, 38%) |
| CIE-LAB | lab(27.38, 33.21, -59.45) |
| CIE-LCH | lch(27.38, 68.10, 299.19°) |
| OKLab | oklab(38.73% 0.0002 -0.172) |
| OKLCH | oklch(38.73% 0.172 270.1) |
| XYZ | xyz(8.1162, 5.2287, 32.9226) |
| Luminance | 0.0523 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.22
Blueberry
#464196
ΔE00 5.74
Darkslateblue
#483D8B
ΔE00 6.58
Blue Blue
#2242C7
ΔE00 6.75
Royal
#0C1793
ΔE00 7.00
Ocean Blue
#4F42B5
ΔE00 7.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#25339E #9E9025
analogous
#256F9E #25339E #53259E
triadic
#25339E #9E2533 #339E25
tetradic
#25339E #9E256F #9E9025 #259E53
square
#25339E #9E256F #9E9025 #259E53
split-complementary
#25339E #9E5325 #6F9E25
monochromatic
#0E133B #19236C #25339E #3144CF #6371DA
Accessibility & contrast
On white
10.26
#25339E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.05
#25339E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #25339E
10.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##25339E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##25339E | 1.00 | 10.26 | 2.05 | 10.26 |
| #FFFFFF | 10.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046A1
Deuteranopia (green-blind)
#003B9C
Tritanopia (blue-blind)
#005064
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #25339e; /* rgb */ color: rgb(37, 51, 158); /* oklch */ color: oklch(38.7% 0.172 270.1);
Tailwind
colors: {
custom: {
50: '#736bbc',
500: '#25339e',
950: '#000000',
},
}SCSS
$custom: #25339e; $custom-light: #736bbc; $custom-dark: #000000;
JSON
{
"hex": "#25339e",
"rgb": {
"r": 37,
"g": 51,
"b": 158
},
"hsl": {
"h": 233.058,
"s": 62.051,
"l": 38.235
},
"oklch": {
"l": 0.38731,
"c": 0.17201,
"h": 270.1
},
"luminance": 0.0523
}Semantic roles & 50–950 ramp
primary
#25339E
secondary
#C0B55F
accent
#D243E5
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090612
muted
#7B7A81