#2A207D#2A207D
#2A207D is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.6% C 0.149 H 279.0°. Best body text is #FFFFFF at 13.12:1 contrast (WCAG AA passes).
Color values
| HEX | #2A207D |
|---|---|
| RGB | rgb(42, 32, 125) |
| HSL | hsl(246, 59%, 31%) |
| HSV | hsv(246, 74%, 49%) |
| CMYK | cmyk(66.4%, 74.4%, 0%, 51%) |
| CIE-LAB | lab(20.07, 34.01, -50.95) |
| CIE-LCH | lch(20.07, 61.26, 303.73°) |
| OKLab | oklab(32.56% 0.0233 -0.147) |
| OKLCH | oklch(32.56% 0.149 279) |
| XYZ | xyz(5.1718, 3.0055, 19.7056) |
| Luminance | 0.0301 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.98
Royal
#0C1793
ΔE00 4.45
Indigo (survey)
#380282
ΔE00 5.73
Dark Royal Blue
#02066F
ΔE00 6.22
Darkblue
#00008B
ΔE00 6.51
Navy
#000080
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A207D #737D20
analogous
#20447D #2A207D #58207D
triadic
#2A207D #7D2A20 #207D2A
tetradic
#2A207D #7D2044 #737D20 #207D58
square
#2A207D #7D2044 #737D20 #207D58
split-complementary
#2A207D #7D5820 #447D20
monochromatic
#09071C #1A144C #2A207D #3A2CAE #5647D0
Accessibility & contrast
On white
13.12
#2A207D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.60
#2A207D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A207D
13.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A207D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A207D | 1.00 | 13.12 | 1.60 | 13.12 |
| #FFFFFF | 13.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003480
Deuteranopia (green-blind)
#002D7B
Tritanopia (blue-blind)
#003A4C
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #2a207d; /* rgb */ color: rgb(42, 32, 125); /* oklch */ color: oklch(32.6% 0.149 279.0);
Tailwind
colors: {
custom: {
50: '#6f5da4',
500: '#2a207d',
950: '#000000',
},
}SCSS
$custom: #2a207d; $custom-light: #6f5da4; $custom-dark: #000000;
JSON
{
"hex": "#2a207d",
"rgb": {
"r": 42,
"g": 32,
"b": 125
},
"hsl": {
"h": 246.452,
"s": 59.236,
"l": 30.784
},
"oklch": {
"l": 0.32558,
"c": 0.14886,
"h": 279
},
"luminance": 0.03006
}Semantic roles & 50–950 ramp
primary
#2A207D
secondary
#A5B049
accent
#E245D2
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F