#2A207C#2A207C
#2A207C is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.5% C 0.148 H 279.2°. Best body text is #FFFFFF at 13.16:1 contrast (WCAG AA passes).
Color values
| HEX | #2A207C |
|---|---|
| RGB | rgb(42, 32, 124) |
| HSL | hsl(247, 59%, 31%) |
| HSV | hsv(247, 74%, 49%) |
| CMYK | cmyk(66.1%, 74.2%, 0%, 51.4%) |
| CIE-LAB | lab(19.96, 33.67, -50.48) |
| CIE-LCH | lch(19.96, 60.68, 303.71°) |
| OKLab | oklab(32.45% 0.0235 -0.1457) |
| OKLCH | oklch(32.45% 0.148 279.2) |
| XYZ | xyz(5.1083, 2.9801, 19.3709) |
| Luminance | 0.0298 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.89
Royal
#0C1793
ΔE00 4.58
Indigo (survey)
#380282
ΔE00 5.79
Dark Royal Blue
#02066F
ΔE00 6.20
Deep Blue
#040273
ΔE00 6.54
Navy
#000080
ΔE00 6.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A207C #727C20
analogous
#20447C #2A207C #58207C
triadic
#2A207C #7C2A20 #207C2A
tetradic
#2A207C #7C2044 #727C20 #207C58
square
#2A207C #7C2044 #727C20 #207C58
split-complementary
#2A207C #7C5820 #447C20
monochromatic
#09071B #1A134B #2A207C #3A2DAD #5647CF
Accessibility & contrast
On white
13.16
#2A207C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.60
#2A207C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A207C
13.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A207C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A207C | 1.00 | 13.16 | 1.60 | 13.16 |
| #FFFFFF | 13.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00347F
Deuteranopia (green-blind)
#002D7A
Tritanopia (blue-blind)
#00394C
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #2a207c; /* rgb */ color: rgb(42, 32, 124); /* oklch */ color: oklch(32.5% 0.148 279.2);
Tailwind
colors: {
custom: {
50: '#6f5da3',
500: '#2a207c',
950: '#000000',
},
}SCSS
$custom: #2a207c; $custom-light: #6f5da3; $custom-dark: #000000;
JSON
{
"hex": "#2a207c",
"rgb": {
"r": 42,
"g": 32,
"b": 124
},
"hsl": {
"h": 246.522,
"s": 58.974,
"l": 30.588
},
"oklch": {
"l": 0.32454,
"c": 0.14754,
"h": 279.2
},
"luminance": 0.02981
}Semantic roles & 50–950 ramp
primary
#2A207C
secondary
#A4AF49
accent
#E246D1
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F