#2A439E#2A439E
#2A439E is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.0% C 0.151 H 267.7°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).
Color values
| HEX | #2A439E |
|---|---|
| RGB | rgb(42, 67, 158) |
| HSL | hsl(227, 58%, 39%) |
| HSV | hsv(227, 73%, 62%) |
| CMYK | cmyk(73.4%, 57.6%, 0%, 38%) |
| CIE-LAB | lab(31.75, 23.19, -52.30) |
| CIE-LCH | lch(31.75, 57.21, 293.91°) |
| OKLab | oklab(42.03% -0.0061 -0.1508) |
| OKLCH | oklch(42.03% 0.151 267.7) |
| XYZ | xyz(9.1314, 6.9742, 33.2060) |
| Luminance | 0.0698 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.43
Sapphire (survey)
#2138AB
ΔE00 4.14
Cobalt (survey)
#1E488F
ΔE00 4.17
Blueberry
#464196
ΔE00 4.97
Blue Blue
#2242C7
ΔE00 5.69
Darkish Blue
#014182
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A439E #9E852A
analogous
#2A7D9E #2A439E #4B2A9E
triadic
#2A439E #9E2A43 #439E2A
tetradic
#2A439E #9E2A7D #9E852A #2A9E4B
square
#2A439E #9E2A7D #9E852A #2A9E4B
split-complementary
#2A439E #9E4B2A #7D9E2A
monochromatic
#101A3D #1D2E6E #2A439E #3A5ACB #6B82D8
Accessibility & contrast
On white
8.77
#2A439E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.40
#2A439E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A439E
8.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A439E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A439E | 1.00 | 8.77 | 2.40 | 8.77 |
| #FFFFFF | 8.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0050A1
Deuteranopia (green-blind)
#00469C
Tritanopia (blue-blind)
#00596A
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #2a439e; /* rgb */ color: rgb(42, 67, 158); /* oklch */ color: oklch(42.0% 0.151 267.7);
Tailwind
colors: {
custom: {
50: '#7476bb',
500: '#2a439e',
950: '#000000',
},
}SCSS
$custom: #2a439e; $custom-light: #7476bb; $custom-dark: #000000;
JSON
{
"hex": "#2a439e",
"rgb": {
"r": 42,
"g": 67,
"b": 158
},
"hsl": {
"h": 227.069,
"s": 58,
"l": 39.216
},
"oklch": {
"l": 0.42032,
"c": 0.15088,
"h": 267.7
},
"luminance": 0.06975
}Semantic roles & 50–950 ramp
primary
#2A439E
secondary
#BEAB66
accent
#C047E1
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090812
muted
#7B7B81