#25339C#25339C
#25339C is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.5% C 0.169 H 270.1°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).
Color values
| HEX | #25339C |
|---|---|
| RGB | rgb(37, 51, 156) |
| HSL | hsl(233, 62%, 38%) |
| HSV | hsv(233, 76%, 61%) |
| CMYK | cmyk(76.3%, 67.3%, 0%, 38.8%) |
| CIE-LAB | lab(27.19, 32.47, -58.54) |
| CIE-LCH | lch(27.19, 66.95, 299.02°) |
| OKLab | oklab(38.54% 0.0003 -0.1694) |
| OKLCH | oklch(38.54% 0.169 270.1) |
| XYZ | xyz(7.9455, 5.1604, 32.0234) |
| Luminance | 0.0516 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.44
Blueberry
#464196
ΔE00 5.69
Darkslateblue
#483D8B
ΔE00 6.46
Blue Blue
#2242C7
ΔE00 6.96
Royal
#0C1793
ΔE00 6.99
Ocean Blue
#4F42B5
ΔE00 7.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#25339C #9C8E25
analogous
#256E9C #25339C #52259C
triadic
#25339C #9C2533 #339C25
tetradic
#25339C #9C256E #9C8E25 #259C52
square
#25339C #9C256E #9C8E25 #259C52
split-complementary
#25339C #9C5225 #6E9C25
monochromatic
#0E1339 #19236B #25339C #3143CD #6270DA
Accessibility & contrast
On white
10.33
#25339C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.03
#25339C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #25339C
10.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##25339C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##25339C | 1.00 | 10.33 | 2.03 | 10.33 |
| #FFFFFF | 10.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00469F
Deuteranopia (green-blind)
#003B9A
Tritanopia (blue-blind)
#004F63
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #25339c; /* rgb */ color: rgb(37, 51, 156); /* oklch */ color: oklch(38.5% 0.169 270.1);
Tailwind
colors: {
custom: {
50: '#736bba',
500: '#25339c',
950: '#000000',
},
}SCSS
$custom: #25339c; $custom-light: #736bba; $custom-dark: #000000;
JSON
{
"hex": "#25339c",
"rgb": {
"r": 37,
"g": 51,
"b": 156
},
"hsl": {
"h": 232.941,
"s": 61.658,
"l": 37.843
},
"oklch": {
"l": 0.38535,
"c": 0.16936,
"h": 270.1
},
"luminance": 0.05161
}Semantic roles & 50–950 ramp
primary
#25339C
secondary
#BFB45E
accent
#D243E5
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090612
muted
#7B7A81