#2A439B#2A439B
#2A439B is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.8% C 0.147 H 267.6°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).
Color values
| HEX | #2A439B |
|---|---|
| RGB | rgb(42, 67, 155) |
| HSL | hsl(227, 57%, 39%) |
| HSV | hsv(227, 73%, 61%) |
| CMYK | cmyk(72.9%, 56.8%, 0%, 39.2%) |
| CIE-LAB | lab(31.51, 22.05, -50.86) |
| CIE-LCH | lch(31.51, 55.43, 293.43°) |
| OKLab | oklab(41.78% -0.0062 -0.1465) |
| OKLCH | oklch(41.78% 0.147 267.6) |
| XYZ | xyz(8.8763, 6.8722, 31.8627) |
| Luminance | 0.0687 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.56
Cobalt (survey)
#1E488F
ΔE00 3.87
Sapphire (survey)
#2138AB
ΔE00 4.45
Blueberry
#464196
ΔE00 5.00
Darkish Blue
#014182
ΔE00 5.88
Blue Blue
#2242C7
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A439B #9B822A
analogous
#2A7B9B #2A439B #492A9B
triadic
#2A439B #9B2A43 #439B2A
tetradic
#2A439B #9B2A7B #9B822A #2A9B49
square
#2A439B #9B2A7B #9B822A #2A9B49
split-complementary
#2A439B #9B492A #7B9B2A
monochromatic
#10193B #1D2E6B #2A439B #3959C9 #6981D6
Accessibility & contrast
On white
8.84
#2A439B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.37
#2A439B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A439B
8.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A439B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A439B | 1.00 | 8.84 | 2.37 | 8.84 |
| #FFFFFF | 8.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00509E
Deuteranopia (green-blind)
#004599
Tritanopia (blue-blind)
#005968
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #2a439b; /* rgb */ color: rgb(42, 67, 155); /* oklch */ color: oklch(41.8% 0.147 267.6);
Tailwind
colors: {
custom: {
50: '#7376b9',
500: '#2a439b',
950: '#000000',
},
}SCSS
$custom: #2a439b; $custom-light: #7376b9; $custom-dark: #000000;
JSON
{
"hex": "#2a439b",
"rgb": {
"r": 42,
"g": 67,
"b": 155
},
"hsl": {
"h": 226.726,
"s": 57.36,
"l": 38.627
},
"oklch": {
"l": 0.41783,
"c": 0.14667,
"h": 267.6
},
"luminance": 0.06873
}Semantic roles & 50–950 ramp
primary
#2A439B
secondary
#BDA964
accent
#BF47E1
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80