#2A409F#2A409F
#2A409F is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.5% C 0.156 H 268.6°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).
Color values
| HEX | #2A409F |
|---|---|
| RGB | rgb(42, 64, 159) |
| HSL | hsl(229, 58%, 39%) |
| HSV | hsv(229, 74%, 62%) |
| CMYK | cmyk(73.6%, 59.7%, 0%, 37.6%) |
| CIE-LAB | lab(31.02, 25.58, -54.08) |
| CIE-LCH | lch(31.02, 59.83, 295.32°) |
| OKLab | oklab(41.52% -0.0037 -0.156) |
| OKLCH | oklch(41.52% 0.156 268.6) |
| XYZ | xyz(9.0441, 6.6613, 33.6033) |
| Luminance | 0.0666 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.16
Cobalt
#0047AB
ΔE00 4.11
Blueberry
#464196
ΔE00 4.61
Cobalt (survey)
#1E488F
ΔE00 5.10
Blue Blue
#2242C7
ΔE00 5.43
Darkslateblue
#483D8B
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A409F #9F892A
analogous
#2A7B9F #2A409F #4F2A9F
triadic
#2A409F #9F2A40 #409F2A
tetradic
#2A409F #9F2A7B #9F892A #2A9F4F
square
#2A409F #9F2A7B #9F892A #2A9F4F
split-complementary
#2A409F #9F4F2A #7B9F2A
monochromatic
#10193E #1D2D6F #2A409F #3B56CB #6B80D8
Accessibility & contrast
On white
9.00
#2A409F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.33
#2A409F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A409F
9.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A409F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A409F | 1.00 | 9.00 | 2.33 | 9.00 |
| #FFFFFF | 9.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004FA2
Deuteranopia (green-blind)
#00449D
Tritanopia (blue-blind)
#005869
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #2a409f; /* rgb */ color: rgb(42, 64, 159); /* oklch */ color: oklch(41.5% 0.156 268.6);
Tailwind
colors: {
custom: {
50: '#7474bc',
500: '#2a409f',
950: '#000000',
},
}SCSS
$custom: #2a409f; $custom-light: #7474bc; $custom-dark: #000000;
JSON
{
"hex": "#2a409f",
"rgb": {
"r": 42,
"g": 64,
"b": 159
},
"hsl": {
"h": 228.718,
"s": 58.209,
"l": 39.412
},
"oklch": {
"l": 0.41515,
"c": 0.15609,
"h": 268.6
},
"luminance": 0.06662
}Semantic roles & 50–950 ramp
primary
#2A409F
secondary
#BFAE66
accent
#C446E1
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090812
muted
#7B7B81