#202A6F#202A6F
#202A6F is a dark, moderate blue. Relative luminance 0.031; OKLCH L 32.3% C 0.119 H 271.7°. Best body text is #FFFFFF at 12.95:1 contrast (WCAG AA passes).
Color values
| HEX | #202A6F |
|---|---|
| RGB | rgb(32, 42, 111) |
| HSL | hsl(232, 55%, 28%) |
| HSV | hsv(232, 71%, 44%) |
| CMYK | cmyk(71.2%, 62.2%, 0%, 56.5%) |
| CIE-LAB | lab(20.48, 20.81, -41.33) |
| CIE-LCH | lch(20.48, 46.27, 296.72°) |
| OKLab | oklab(32.26% 0.0035 -0.1191) |
| OKLCH | oklch(32.26% 0.119 271.7) |
| XYZ | xyz(4.2919, 3.1103, 15.4100) |
| Luminance | 0.0311 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.31
Marine
#042E60
ΔE00 5.81
Navy Blue
#1B2A4A
ΔE00 7.70
Marine Blue
#01386A
ΔE00 8.07
Darkslateblue
#483D8B
ΔE00 8.17
Royal
#0C1793
ΔE00 8.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#202A6F #6F6520
analogous
#20516F #202A6F #3D206F
triadic
#202A6F #6F202A #2A6F20
tetradic
#202A6F #6F2051 #6F6520 #206F3D
square
#202A6F #6F2051 #6F6520 #206F3D
split-complementary
#202A6F #6F3D20 #516F20
monochromatic
#070918 #12183F #202A6F #2E3C9F #4152C8
Accessibility & contrast
On white
12.95
#202A6F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.62
#202A6F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #202A6F
12.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##202A6F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##202A6F | 1.00 | 12.95 | 1.62 | 12.95 |
| #FFFFFF | 12.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003571
Deuteranopia (green-blind)
#002E6E
Tritanopia (blue-blind)
#003B48
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #202a6f; /* rgb */ color: rgb(32, 42, 111); /* oklch */ color: oklch(32.3% 0.119 271.7);
Tailwind
colors: {
custom: {
50: '#676399',
500: '#202a6f',
950: '#000000',
},
}SCSS
$custom: #202a6f; $custom-light: #676399; $custom-dark: #000000;
JSON
{
"hex": "#202a6f",
"rgb": {
"r": 32,
"g": 42,
"b": 111
},
"hsl": {
"h": 232.405,
"s": 55.245,
"l": 28.039
},
"oklch": {
"l": 0.32263,
"c": 0.11915,
"h": 271.7
},
"luminance": 0.03111
}Semantic roles & 50–950 ramp
primary
#202A6F
secondary
#A39748
accent
#CC49DF
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050E
muted
#7A797E