#2A4AA8#2A4AA8
#2A4AA8 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.3% C 0.156 H 266.0°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).
Color values
| HEX | #2A4AA8 |
|---|---|
| RGB | rgb(42, 74, 168) |
| HSL | hsl(225, 60%, 41%) |
| HSV | hsv(225, 75%, 66%) |
| CMYK | cmyk(75%, 56%, 0%, 34.1%) |
| CIE-LAB | lab(34.43, 22.31, -53.96) |
| CIE-LCH | lch(34.43, 58.39, 292.47°) |
| OKLab | oklab(44.29% -0.011 -0.1555) |
| OKLCH | oklch(44.29% 0.156 266) |
| XYZ | xyz(10.4690, 8.2158, 38.0723) |
| Luminance | 0.0822 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.41
Sapphire
#0F52BA
ΔE00 3.94
Cobalt (survey)
#1E488F
ΔE00 4.15
Blue Blue
#2242C7
ΔE00 5.17
Sapphire (survey)
#2138AB
ΔE00 5.76
Dusk Blue
#26538D
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A4AA8 #A8882A
analogous
#2A89A8 #2A4AA8 #492AA8
triadic
#2A4AA8 #A82A4A #4AA82A
tetradic
#2A4AA8 #A82A89 #A8882A #2AA849
square
#2A4AA8 #A82A89 #A8882A #2AA849
split-complementary
#2A4AA8 #A8492A #89A82A
monochromatic
#121F46 #1E3477 #2A4AA8 #4064CF #718CDB
Accessibility & contrast
On white
7.94
#2A4AA8 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.64
#2A4AA8 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A4AA8
7.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A4AA8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A4AA8 | 1.00 | 7.94 | 2.64 | 7.94 |
| #FFFFFF | 7.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057AB
Deuteranopia (green-blind)
#004BA6
Tritanopia (blue-blind)
#006171
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #2a4aa8; /* rgb */ color: rgb(42, 74, 168); /* oklch */ color: oklch(44.3% 0.156 266.0);
Tailwind
colors: {
custom: {
50: '#767cc3',
500: '#2a4aa8',
950: '#000000',
},
}SCSS
$custom: #2a4aa8; $custom-light: #767cc3; $custom-dark: #000000;
JSON
{
"hex": "#2a4aa8",
"rgb": {
"r": 42,
"g": 74,
"b": 168
},
"hsl": {
"h": 224.762,
"s": 60,
"l": 41.176
},
"oklch": {
"l": 0.4429,
"c": 0.15592,
"h": 266
},
"luminance": 0.08217
}Semantic roles & 50–950 ramp
primary
#2A4AA8
secondary
#C3AC6B
accent
#BB45E3
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0912
muted
#7C7B81