#25177F#25177F
#25177F is a dark, vivid blue. Relative luminance 0.025; OKLCH L 31.1% C 0.162 H 277.5°. Best body text is #FFFFFF at 13.93:1 contrast (WCAG AA passes).
Color values
| HEX | #25177F |
|---|---|
| RGB | rgb(37, 23, 127) |
| HSL | hsl(248, 69%, 29%) |
| HSV | hsv(248, 82%, 50%) |
| CMYK | cmyk(70.9%, 81.9%, 0%, 50.2%) |
| CIE-LAB | lab(18.09, 39.14, -55.49) |
| CIE-LCH | lch(18.09, 67.91, 305.20°) |
| OKLab | oklab(31.13% 0.021 -0.1603) |
| OKLCH | oklch(31.13% 0.162 277.5) |
| XYZ | xyz(4.8989, 2.5380, 20.3063) |
| Luminance | 0.0254 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.99
Royal
#0C1793
ΔE00 3.32
Indigo (survey)
#380282
ΔE00 4.10
Navy
#000080
ΔE00 4.38
Darkblue
#00008B
ΔE00 4.39
Dark Royal Blue
#02066F
ΔE00 4.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#25177F #717F17
analogous
#173D7F #25177F #59177F
triadic
#25177F #7F2517 #177F25
tetradic
#25177F #7F173D #717F17 #177F59
square
#25177F #7F173D #717F17 #177F59
split-complementary
#25177F #7F5917 #3D7F17
monochromatic
#08051A #160E4B #25177F #3420B3 #4C36DB
Accessibility & contrast
On white
13.93
#25177F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.51
#25177F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #25177F
13.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##25177F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##25177F | 1.00 | 13.93 | 1.51 | 13.93 |
| #FFFFFF | 13.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003082
Deuteranopia (green-blind)
#00287D
Tritanopia (blue-blind)
#00374B
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #25177f; /* rgb */ color: rgb(37, 23, 127); /* oklch */ color: oklch(31.1% 0.162 277.5);
Tailwind
colors: {
custom: {
50: '#6e57a5',
500: '#25177f',
950: '#000000',
},
}SCSS
$custom: #25177f; $custom-light: #6e57a5; $custom-dark: #000000;
JSON
{
"hex": "#25177f",
"rgb": {
"r": 37,
"g": 23,
"b": 127
},
"hsl": {
"h": 248.077,
"s": 69.333,
"l": 29.412
},
"oklch": {
"l": 0.31125,
"c": 0.16171,
"h": 277.5
},
"luminance": 0.02538
}Semantic roles & 50–950 ramp
primary
#25177F
secondary
#A4B43E
accent
#EC3CD4
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F