#25399C#25399C
#25399C is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.6% C 0.162 H 268.8°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).
Color values
| HEX | #25399C |
|---|---|
| RGB | rgb(37, 57, 156) |
| HSL | hsl(230, 62%, 38%) |
| HSV | hsv(230, 76%, 61%) |
| CMYK | cmyk(76.3%, 63.5%, 0%, 38.8%) |
| CIE-LAB | lab(28.69, 28.52, -56.08) |
| CIE-LCH | lch(28.69, 62.91, 296.95°) |
| OKLab | oklab(39.64% -0.0035 -0.1621) |
| OKLCH | oklch(39.64% 0.162 268.8) |
| XYZ | xyz(8.2248, 5.7190, 32.1165) |
| Luminance | 0.0572 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.21
Blueberry
#464196
ΔE00 5.02
Cobalt
#0047AB
ΔE00 5.70
Blue Blue
#2242C7
ΔE00 6.22
Darkslateblue
#483D8B
ΔE00 6.24
Cobalt (survey)
#1E488F
ΔE00 6.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#25399C #9C8825
analogous
#25749C #25399C #4C259C
triadic
#25399C #9C2539 #399C25
tetradic
#25399C #9C2574 #9C8825 #259C4C
square
#25399C #9C2574 #9C8825 #259C4C
split-complementary
#25399C #9C4C25 #749C25
monochromatic
#0E1539 #19276B #25399C #314BCD #6276DA
Accessibility & contrast
On white
9.79
#25399C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.14
#25399C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #25399C
9.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##25399C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##25399C | 1.00 | 9.79 | 2.14 | 9.79 |
| #FFFFFF | 9.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00499F
Deuteranopia (green-blind)
#003E9A
Tritanopia (blue-blind)
#005365
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #25399c; /* rgb */ color: rgb(37, 57, 156); /* oklch */ color: oklch(39.6% 0.162 268.8);
Tailwind
colors: {
custom: {
50: '#726fba',
500: '#25399c',
950: '#000000',
},
}SCSS
$custom: #25399c; $custom-light: #726fba; $custom-dark: #000000;
JSON
{
"hex": "#25399c",
"rgb": {
"r": 37,
"g": 57,
"b": 156
},
"hsl": {
"h": 229.916,
"s": 61.658,
"l": 37.843
},
"oklch": {
"l": 0.3964,
"c": 0.16213,
"h": 268.8
},
"luminance": 0.0572
}Semantic roles & 50–950 ramp
primary
#25399C
secondary
#BFAF5E
accent
#CA43E5
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090712
muted
#7B7A81