#25179E#25179E
#25179E is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.8% C 0.199 H 273.5°. Best body text is #FFFFFF at 12.39:1 contrast (WCAG AA passes).
Color values
| HEX | #25179E |
|---|---|
| RGB | rgb(37, 23, 158) |
| HSL | hsl(246, 75%, 35%) |
| HSV | hsv(246, 85%, 62%) |
| CMYK | cmyk(76.6%, 85.4%, 0%, 38%) |
| CIE-LAB | lab(21.85, 48.79, -68.58) |
| CIE-LCH | lch(21.85, 84.17, 305.43°) |
| OKLab | oklab(34.81% 0.012 -0.1983) |
| OKLCH | oklch(34.81% 0.199 273.5) |
| XYZ | xyz(7.2388, 3.4740, 32.6302) |
| Luminance | 0.0348 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt Blue
#030AA7
ΔE00 2.37
Royal
#0C1793
ΔE00 2.39
Royal Blue (survey)
#0504AA
ΔE00 2.82
Ultramarine
#2000B1
ΔE00 3.18
Indigo Blue
#3A18B1
ΔE00 3.48
Darkblue
#00008B
ΔE00 4.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#25179E #909E17
analogous
#174D9E #25179E #68179E
triadic
#25179E #9E2517 #179E25
tetradic
#25179E #9E174D #909E17 #179E68
square
#25179E #9E174D #909E17 #179E68
split-complementary
#25179E #9E6817 #4D9E17
monochromatic
#0C0733 #180F69 #25179E #321FD3 #5B4BE5
Accessibility & contrast
On white
12.39
#25179E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.70
#25179E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #25179E
12.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##25179E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##25179E | 1.00 | 12.39 | 1.70 | 12.39 |
| #FFFFFF | 12.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003AA2
Deuteranopia (green-blind)
#002E9C
Tritanopia (blue-blind)
#00445D
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #25179e; /* rgb */ color: rgb(37, 23, 158); /* oklch */ color: oklch(34.8% 0.199 273.5);
Tailwind
colors: {
custom: {
50: '#765abc',
500: '#25179e',
950: '#000000',
},
}SCSS
$custom: #25179e; $custom-light: #765abc; $custom-dark: #000000;
JSON
{
"hex": "#25179e",
"rgb": {
"r": 37,
"g": 23,
"b": 158
},
"hsl": {
"h": 246.222,
"s": 74.586,
"l": 35.49
},
"oklch": {
"l": 0.34813,
"c": 0.19867,
"h": 273.5
},
"luminance": 0.03475
}Semantic roles & 50–950 ramp
primary
#25179E
secondary
#B9C64A
accent
#F137DE
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981