#2A4AAA#2A4AAA
#2A4AAA is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.5% C 0.159 H 266.1°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).
Color values
| HEX | #2A4AAA |
|---|---|
| RGB | rgb(42, 74, 170) |
| HSL | hsl(225, 60%, 42%) |
| HSV | hsv(225, 75%, 67%) |
| CMYK | cmyk(75.3%, 56.5%, 0%, 33.3%) |
| CIE-LAB | lab(34.58, 23.08, -54.90) |
| CIE-LCH | lch(34.58, 59.55, 292.80°) |
| OKLab | oklab(44.45% -0.0109 -0.1583) |
| OKLCH | oklch(44.45% 0.159 266.1) |
| XYZ | xyz(10.6568, 8.2909, 39.0611) |
| Luminance | 0.0829 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.46
Sapphire
#0F52BA
ΔE00 3.87
Cobalt (survey)
#1E488F
ΔE00 4.42
Blue Blue
#2242C7
ΔE00 4.91
Sapphire (survey)
#2138AB
ΔE00 5.67
Dusk Blue
#26538D
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A4AAA #AA8A2A
analogous
#2A8AAA #2A4AAA #4A2AAA
triadic
#2A4AAA #AA2A4A #4AAA2A
tetradic
#2A4AAA #AA2A8A #AA8A2A #2AAA4A
square
#2A4AAA #AA2A8A #AA8A2A #2AAA4A
split-complementary
#2A4AAA #AA4A2A #8AAA2A
monochromatic
#121F48 #1E3579 #2A4AAA #4165D0 #728DDC
Accessibility & contrast
On white
7.90
#2A4AAA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.66
#2A4AAA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A4AAA
7.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A4AAA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A4AAA | 1.00 | 7.90 | 2.66 | 7.90 |
| #FFFFFF | 7.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057AD
Deuteranopia (green-blind)
#004CA8
Tritanopia (blue-blind)
#006272
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #2a4aaa; /* rgb */ color: rgb(42, 74, 170); /* oklch */ color: oklch(44.5% 0.159 266.1);
Tailwind
colors: {
custom: {
50: '#767cc4',
500: '#2a4aaa',
950: '#000000',
},
}SCSS
$custom: #2a4aaa; $custom-light: #767cc4; $custom-dark: #000000;
JSON
{
"hex": "#2a4aaa",
"rgb": {
"r": 42,
"g": 74,
"b": 170
},
"hsl": {
"h": 225,
"s": 60.377,
"l": 41.569
},
"oklch": {
"l": 0.44454,
"c": 0.15868,
"h": 266.1
},
"luminance": 0.08292
}Semantic roles & 50–950 ramp
primary
#2A4AAA
secondary
#C3AE6C
accent
#BC44E4
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82