#25339B#25339B
#25339B is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.4% C 0.168 H 270.1°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).
Color values
| HEX | #25339B |
|---|---|
| RGB | rgb(37, 51, 155) |
| HSL | hsl(233, 61%, 38%) |
| HSV | hsv(233, 76%, 61%) |
| CMYK | cmyk(76.1%, 67.1%, 0%, 39.2%) |
| CIE-LAB | lab(27.09, 32.10, -58.09) |
| CIE-LCH | lch(27.09, 66.37, 298.93°) |
| OKLab | oklab(38.44% 0.0004 -0.168) |
| OKLCH | oklch(38.44% 0.168 270.1) |
| XYZ | xyz(7.8611, 5.1267, 31.5792) |
| Luminance | 0.0513 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.55
Blueberry
#464196
ΔE00 5.66
Darkslateblue
#483D8B
ΔE00 6.41
Royal
#0C1793
ΔE00 7.00
Blue Blue
#2242C7
ΔE00 7.08
Ocean Blue
#4F42B5
ΔE00 7.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#25339B #9B8D25
analogous
#256E9B #25339B #52259B
triadic
#25339B #9B2533 #339B25
tetradic
#25339B #9B256E #9B8D25 #259B52
square
#25339B #9B256E #9B8D25 #259B52
split-complementary
#25339B #9B5225 #6E9B25
monochromatic
#0D1238 #19236A #25339B #3143CC #616FD9
Accessibility & contrast
On white
10.37
#25339B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.03
#25339B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #25339B
10.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##25339B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##25339B | 1.00 | 10.37 | 2.03 | 10.37 |
| #FFFFFF | 10.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00469E
Deuteranopia (green-blind)
#003A99
Tritanopia (blue-blind)
#004F62
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #25339b; /* rgb */ color: rgb(37, 51, 155); /* oklch */ color: oklch(38.4% 0.168 270.1);
Tailwind
colors: {
custom: {
50: '#736bb9',
500: '#25339b',
950: '#000000',
},
}SCSS
$custom: #25339b; $custom-light: #736bb9; $custom-dark: #000000;
JSON
{
"hex": "#25339b",
"rgb": {
"r": 37,
"g": 51,
"b": 155
},
"hsl": {
"h": 232.881,
"s": 61.458,
"l": 37.647
},
"oklch": {
"l": 0.38437,
"c": 0.16803,
"h": 270.1
},
"luminance": 0.05128
}Semantic roles & 50–950 ramp
primary
#25339B
secondary
#BFB35D
accent
#D143E5
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090612
muted
#7B7A81