#2A439A#2A439A
#2A439A is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.7% C 0.145 H 267.5°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).
Color values
| HEX | #2A439A |
|---|---|
| RGB | rgb(42, 67, 154) |
| HSL | hsl(227, 57%, 38%) |
| HSV | hsv(227, 73%, 60%) |
| CMYK | cmyk(72.7%, 56.5%, 0%, 39.6%) |
| CIE-LAB | lab(31.44, 21.66, -50.38) |
| CIE-LCH | lch(31.44, 54.84, 293.27°) |
| OKLab | oklab(41.7% -0.0063 -0.1451) |
| OKLCH | oklch(41.7% 0.145 267.5) |
| XYZ | xyz(8.7927, 6.8387, 31.4222) |
| Luminance | 0.0684 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.61
Cobalt (survey)
#1E488F
ΔE00 3.77
Sapphire (survey)
#2138AB
ΔE00 4.56
Blueberry
#464196
ΔE00 5.01
Darkish Blue
#014182
ΔE00 5.77
Blue Blue
#2242C7
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A439A #9A812A
analogous
#2A7B9A #2A439A #492A9A
triadic
#2A439A #9A2A43 #439A2A
tetradic
#2A439A #9A2A7B #9A812A #2A9A49
square
#2A439A #9A2A7B #9A812A #2A9A49
split-complementary
#2A439A #9A492A #7B9A2A
monochromatic
#10193A #1D2E6A #2A439A #3859C9 #6881D6
Accessibility & contrast
On white
8.87
#2A439A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.37
#2A439A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A439A
8.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A439A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A439A | 1.00 | 8.87 | 2.37 | 8.87 |
| #FFFFFF | 8.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004F9D
Deuteranopia (green-blind)
#004598
Tritanopia (blue-blind)
#005868
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #2a439a; /* rgb */ color: rgb(42, 67, 154); /* oklch */ color: oklch(41.7% 0.145 267.5);
Tailwind
colors: {
custom: {
50: '#7376b8',
500: '#2a439a',
950: '#000000',
},
}SCSS
$custom: #2a439a; $custom-light: #7376b8; $custom-dark: #000000;
JSON
{
"hex": "#2a439a",
"rgb": {
"r": 42,
"g": 67,
"b": 154
},
"hsl": {
"h": 226.607,
"s": 57.143,
"l": 38.431
},
"oklch": {
"l": 0.417,
"c": 0.14525,
"h": 267.5
},
"luminance": 0.0684
}Semantic roles & 50–950 ramp
primary
#2A439A
secondary
#BCA863
accent
#BE47E0
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80