#20308F#20308F
#20308F is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.5% C 0.157 H 269.3°. Best body text is #FFFFFF at 11.17:1 contrast (WCAG AA passes).
Color values
| HEX | #20308F |
|---|---|
| RGB | rgb(32, 48, 143) |
| HSL | hsl(231, 63%, 34%) |
| HSV | hsv(231, 78%, 56%) |
| CMYK | cmyk(77.6%, 66.4%, 0%, 43.9%) |
| CIE-LAB | lab(24.96, 29.04, -54.22) |
| CIE-LCH | lch(24.96, 61.51, 298.18°) |
| OKLab | oklab(36.46% -0.002 -0.1568) |
| OKLCH | oklch(36.46% 0.157 269.3) |
| XYZ | xyz(6.6088, 4.4034, 26.4829) |
| Luminance | 0.0440 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.37
Blueberry
#464196
ΔE00 6.45
Royal
#0C1793
ΔE00 6.49
Darkslateblue
#483D8B
ΔE00 6.64
Midnight Blue
#191970
ΔE00 7.29
Cobalt
#0047AB
ΔE00 8.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#20308F #8F7F20
analogous
#20688F #20308F #47208F
triadic
#20308F #8F2030 #308F20
tetradic
#20308F #8F2068 #8F7F20 #208F47
square
#20308F #8F2068 #8F7F20 #208F47
split-complementary
#20308F #8F4720 #688F20
monochromatic
#0A0E2B #151F5D #20308F #2B41C1 #5165D8
Accessibility & contrast
On white
11.17
#20308F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.88
#20308F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #20308F
11.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##20308F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##20308F | 1.00 | 11.17 | 1.88 | 11.17 |
| #FFFFFF | 11.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004192
Deuteranopia (green-blind)
#00368D
Tritanopia (blue-blind)
#00495B
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #20308f; /* rgb */ color: rgb(32, 48, 143); /* oklch */ color: oklch(36.5% 0.157 269.3);
Tailwind
colors: {
custom: {
50: '#6e68b1',
500: '#20308f',
950: '#000000',
},
}SCSS
$custom: #20308f; $custom-light: #6e68b1; $custom-dark: #000000;
JSON
{
"hex": "#20308f",
"rgb": {
"r": 32,
"g": 48,
"b": 143
},
"hsl": {
"h": 231.351,
"s": 63.429,
"l": 34.314
},
"oklch": {
"l": 0.36464,
"c": 0.15684,
"h": 269.3
},
"luminance": 0.04404
}Semantic roles & 50–950 ramp
primary
#20308F
secondary
#BBAC4F
accent
#CF41E6
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080611
muted
#7B7A80