#2A409C#2A409C
#2A409C is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.3% C 0.152 H 268.6°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).
Color values
| HEX | #2A409C |
|---|---|
| RGB | rgb(42, 64, 156) |
| HSL | hsl(228, 58%, 39%) |
| HSV | hsv(228, 73%, 61%) |
| CMYK | cmyk(73.1%, 59%, 0%, 38.8%) |
| CIE-LAB | lab(30.78, 24.45, -52.66) |
| CIE-LCH | lch(30.78, 58.06, 294.90°) |
| OKLab | oklab(41.26% -0.0037 -0.1519) |
| OKLCH | oklch(41.26% 0.152 268.6) |
| XYZ | xyz(8.7869, 6.5584, 32.2489) |
| Luminance | 0.0656 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.50
Cobalt
#0047AB
ΔE00 4.19
Blueberry
#464196
ΔE00 4.59
Cobalt (survey)
#1E488F
ΔE00 4.82
Blue Blue
#2242C7
ΔE00 5.88
Darkslateblue
#483D8B
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A409C #9C862A
analogous
#2A799C #2A409C #4D2A9C
triadic
#2A409C #9C2A40 #409C2A
tetradic
#2A409C #9C2A79 #9C862A #2A9C4D
square
#2A409C #9C2A79 #9C862A #2A9C4D
split-complementary
#2A409C #9C4D2A #799C2A
monochromatic
#10183C #1D2C6C #2A409C #3955CA #6A7FD7
Accessibility & contrast
On white
9.08
#2A409C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.31
#2A409C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A409C
9.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A409C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A409C | 1.00 | 9.08 | 2.31 | 9.08 |
| #FFFFFF | 9.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004E9F
Deuteranopia (green-blind)
#00439A
Tritanopia (blue-blind)
#005767
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #2a409c; /* rgb */ color: rgb(42, 64, 156); /* oklch */ color: oklch(41.3% 0.152 268.6);
Tailwind
colors: {
custom: {
50: '#7474ba',
500: '#2a409c',
950: '#000000',
},
}SCSS
$custom: #2a409c; $custom-light: #7474ba; $custom-dark: #000000;
JSON
{
"hex": "#2a409c",
"rgb": {
"r": 42,
"g": 64,
"b": 156
},
"hsl": {
"h": 228.421,
"s": 57.576,
"l": 38.824
},
"oklch": {
"l": 0.41258,
"c": 0.15192,
"h": 268.6
},
"luminance": 0.06559
}Semantic roles & 50–950 ramp
primary
#2A409C
secondary
#BDAC65
accent
#C347E1
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090812
muted
#7B7B81