#20257F#20257F
#20257F is a dark, vivid blue. Relative luminance 0.032; OKLCH L 32.9% C 0.148 H 272.4°. Best body text is #FFFFFF at 12.86:1 contrast (WCAG AA passes).
Color values
| HEX | #20257F |
|---|---|
| RGB | rgb(32, 37, 127) |
| HSL | hsl(237, 60%, 31%) |
| HSV | hsv(237, 75%, 50%) |
| CMYK | cmyk(74.8%, 70.9%, 0%, 50.2%) |
| CIE-LAB | lab(20.68, 30.31, -51.23) |
| CIE-LCH | lch(20.68, 59.53, 300.61°) |
| OKLab | oklab(32.87% 0.0063 -0.1481) |
| OKLCH | oklch(32.87% 0.148 272.4) |
| XYZ | xyz(5.0867, 3.1620, 20.4168) |
| Luminance | 0.0316 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.61
Royal
#0C1793
ΔE00 4.82
Dark Royal Blue
#02066F
ΔE00 7.26
Darkblue
#00008B
ΔE00 7.57
Navy
#000080
ΔE00 7.66
Cobalt Blue
#030AA7
ΔE00 7.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#20257F #7F7A20
analogous
#20547F #20257F #4A207F
triadic
#20257F #7F2025 #257F20
tetradic
#20257F #7F2054 #7F7A20 #207F4A
square
#20257F #7F2054 #7F7A20 #207F4A
split-complementary
#20257F #7F4A20 #547F20
monochromatic
#07091D #14174E #20257F #2C33B0 #4850D1
Accessibility & contrast
On white
12.86
#20257F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.63
#20257F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #20257F
12.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##20257F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##20257F | 1.00 | 12.86 | 1.63 | 12.86 |
| #FFFFFF | 12.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003682
Deuteranopia (green-blind)
#002D7D
Tritanopia (blue-blind)
#003D4F
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #20257f; /* rgb */ color: rgb(32, 37, 127); /* oklch */ color: oklch(32.9% 0.148 272.4);
Tailwind
colors: {
custom: {
50: '#6b60a5',
500: '#20257f',
950: '#000000',
},
}SCSS
$custom: #20257f; $custom-light: #6b60a5; $custom-dark: #000000;
JSON
{
"hex": "#20257f",
"rgb": {
"r": 32,
"g": 37,
"b": 127
},
"hsl": {
"h": 236.842,
"s": 59.748,
"l": 31.176
},
"oklch": {
"l": 0.32871,
"c": 0.14828,
"h": 272.4
},
"luminance": 0.03163
}Semantic roles & 50–950 ramp
primary
#20257F
secondary
#B2AC49
accent
#DB45E3
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08050F
muted
#7A797F