#2A439D#2A439D
#2A439D is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.9% C 0.149 H 267.7°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).
Color values
| HEX | #2A439D |
|---|---|
| RGB | rgb(42, 67, 157) |
| HSL | hsl(227, 58%, 39%) |
| HSV | hsv(227, 73%, 62%) |
| CMYK | cmyk(73.2%, 57.3%, 0%, 38.4%) |
| CIE-LAB | lab(31.67, 22.81, -51.82) |
| CIE-LCH | lch(31.67, 56.62, 293.76°) |
| OKLab | oklab(41.95% -0.0061 -0.1494) |
| OKLCH | oklch(41.95% 0.149 267.7) |
| XYZ | xyz(9.0457, 6.9399, 32.7546) |
| Luminance | 0.0694 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.47
Cobalt (survey)
#1E488F
ΔE00 4.07
Sapphire (survey)
#2138AB
ΔE00 4.24
Blueberry
#464196
ΔE00 4.98
Blue Blue
#2242C7
ΔE00 5.84
Darkish Blue
#014182
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A439D #9D842A
analogous
#2A7D9D #2A439D #4B2A9D
triadic
#2A439D #9D2A43 #439D2A
tetradic
#2A439D #9D2A7D #9D842A #2A9D4B
square
#2A439D #9D2A7D #9D842A #2A9D4B
split-complementary
#2A439D #9D4B2A #7D9D2A
monochromatic
#101A3C #1D2E6D #2A439D #3A59CA #6A82D7
Accessibility & contrast
On white
8.79
#2A439D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.39
#2A439D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A439D
8.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A439D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A439D | 1.00 | 8.79 | 2.39 | 8.79 |
| #FFFFFF | 8.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0050A0
Deuteranopia (green-blind)
#00459B
Tritanopia (blue-blind)
#005969
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #2a439d; /* rgb */ color: rgb(42, 67, 157); /* oklch */ color: oklch(41.9% 0.149 267.7);
Tailwind
colors: {
custom: {
50: '#7476bb',
500: '#2a439d',
950: '#000000',
},
}SCSS
$custom: #2a439d; $custom-light: #7476bb; $custom-dark: #000000;
JSON
{
"hex": "#2a439d",
"rgb": {
"r": 42,
"g": 67,
"b": 157
},
"hsl": {
"h": 226.957,
"s": 57.789,
"l": 39.02
},
"oklch": {
"l": 0.41949,
"c": 0.14948,
"h": 267.7
},
"luminance": 0.06941
}Semantic roles & 50–950 ramp
primary
#2A439D
secondary
#BEAA65
accent
#BF47E1
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090812
muted
#7B7B81