#2A4C99#2A4C99
#2A4C99 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 43.5% C 0.132 H 263.8°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).
Color values
| HEX | #2A4C99 |
|---|---|
| RGB | rgb(42, 76, 153) |
| HSL | hsl(222, 57%, 38%) |
| HSV | hsv(222, 73%, 60%) |
| CMYK | cmyk(72.5%, 50.3%, 0%, 40%) |
| CIE-LAB | lab(33.90, 15.21, -45.79) |
| CIE-LCH | lch(33.90, 48.25, 288.37°) |
| OKLab | oklab(43.54% -0.0142 -0.1315) |
| OKLCH | oklch(43.54% 0.132 263.8) |
| XYZ | xyz(9.2870, 7.9601, 31.1778) |
| Luminance | 0.0796 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.19
Cobalt
#0047AB
ΔE00 3.27
Dusk Blue
#26538D
ΔE00 3.84
Sapphire
#0F52BA
ΔE00 4.66
Denim Blue
#3B5B92
ΔE00 5.16
Darkish Blue
#014182
ΔE00 5.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A4C99 #99772A
analogous
#2A8399 #2A4C99 #402A99
triadic
#2A4C99 #992A4C #4C992A
tetradic
#2A4C99 #992A83 #99772A #2A9940
square
#2A4C99 #992A83 #99772A #2A9940
split-complementary
#2A4C99 #99402A #83992A
monochromatic
#101C39 #1D3469 #2A4C99 #3864C8 #6889D6
Accessibility & contrast
On white
8.10
#2A4C99 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.59
#2A4C99 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A4C99
8.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A4C99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A4C99 | 1.00 | 8.10 | 2.59 | 8.10 |
| #FFFFFF | 8.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#20559C
Deuteranopia (green-blind)
#004B97
Tritanopia (blue-blind)
#005E6B
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #2a4c99; /* rgb */ color: rgb(42, 76, 153); /* oklch */ color: oklch(43.5% 0.132 263.8);
Tailwind
colors: {
custom: {
50: '#727db8',
500: '#2a4c99',
950: '#000000',
},
}SCSS
$custom: #2a4c99; $custom-light: #727db8; $custom-dark: #000000;
JSON
{
"hex": "#2a4c99",
"rgb": {
"r": 42,
"g": 76,
"b": 153
},
"hsl": {
"h": 221.622,
"s": 56.923,
"l": 38.235
},
"oklch": {
"l": 0.43543,
"c": 0.13223,
"h": 263.8
},
"luminance": 0.07961
}Semantic roles & 50–950 ramp
primary
#2A4C99
secondary
#BCA163
accent
#B148E0
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090911
muted
#7B7B80