#20257E#20257E
#20257E is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.8% C 0.147 H 272.5°. Best body text is #FFFFFF at 12.90:1 contrast (WCAG AA passes).
Color values
| HEX | #20257E |
|---|---|
| RGB | rgb(32, 37, 126) |
| HSL | hsl(237, 59%, 31%) |
| HSV | hsv(237, 75%, 49%) |
| CMYK | cmyk(74.6%, 70.6%, 0%, 50.6%) |
| CIE-LAB | lab(20.58, 29.94, -50.76) |
| CIE-LCH | lch(20.58, 58.94, 300.54°) |
| OKLab | oklab(32.77% 0.0064 -0.1468) |
| OKLCH | oklch(32.77% 0.147 272.5) |
| XYZ | xyz(5.0219, 3.1361, 20.0753) |
| Luminance | 0.0314 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.54
Royal
#0C1793
ΔE00 4.95
Dark Royal Blue
#02066F
ΔE00 7.25
Darkblue
#00008B
ΔE00 7.65
Navy
#000080
ΔE00 7.71
Deep Blue
#040273
ΔE00 7.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#20257E #7E7920
analogous
#20547E #20257E #4A207E
triadic
#20257E #7E2025 #257E20
tetradic
#20257E #7E2054 #7E7920 #207E4A
square
#20257E #7E2054 #7E7920 #207E4A
split-complementary
#20257E #7E4A20 #547E20
monochromatic
#07081C #14174D #20257E #2C33AF #484FD0
Accessibility & contrast
On white
12.90
#20257E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.63
#20257E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #20257E
12.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##20257E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##20257E | 1.00 | 12.90 | 1.63 | 12.90 |
| #FFFFFF | 12.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003681
Deuteranopia (green-blind)
#002D7C
Tritanopia (blue-blind)
#003D4E
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #20257e; /* rgb */ color: rgb(32, 37, 126); /* oklch */ color: oklch(32.8% 0.147 272.5);
Tailwind
colors: {
custom: {
50: '#6b60a4',
500: '#20257e',
950: '#000000',
},
}SCSS
$custom: #20257e; $custom-light: #6b60a4; $custom-dark: #000000;
JSON
{
"hex": "#20257e",
"rgb": {
"r": 32,
"g": 37,
"b": 126
},
"hsl": {
"h": 236.809,
"s": 59.494,
"l": 30.98
},
"oklch": {
"l": 0.32768,
"c": 0.14692,
"h": 272.5
},
"luminance": 0.03137
}Semantic roles & 50–950 ramp
primary
#20257E
secondary
#B1AB49
accent
#DA45E3
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08050F
muted
#7A797F