#2A4B97#2A4B97
#2A4B97 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.2% C 0.131 H 264.1°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).
Color values
| HEX | #2A4B97 |
|---|---|
| RGB | rgb(42, 75, 151) |
| HSL | hsl(222, 56%, 38%) |
| HSV | hsv(222, 72%, 59%) |
| CMYK | cmyk(72.2%, 50.3%, 0%, 40.8%) |
| CIE-LAB | lab(33.47, 15.11, -45.26) |
| CIE-LCH | lch(33.47, 47.72, 288.46°) |
| OKLab | oklab(43.17% -0.0135 -0.1299) |
| OKLCH | oklch(43.17% 0.131 264.1) |
| XYZ | xyz(9.0549, 7.7578, 30.2924) |
| Luminance | 0.0776 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.95
Cobalt
#0047AB
ΔE00 3.36
Dusk Blue
#26538D
ΔE00 4.01
Sapphire
#0F52BA
ΔE00 5.03
Darkish Blue
#014182
ΔE00 5.08
Denim Blue
#3B5B92
ΔE00 5.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A4B97 #97762A
analogous
#2A8197 #2A4B97 #3F2A97
triadic
#2A4B97 #972A4B #4B972A
tetradic
#2A4B97 #972A81 #97762A #2A973F
square
#2A4B97 #972A81 #97762A #2A973F
split-complementary
#2A4B97 #973F2A #81972A
monochromatic
#0F1B37 #1D3367 #2A4B97 #3763C7 #6788D5
Accessibility & contrast
On white
8.23
#2A4B97 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.55
#2A4B97 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A4B97
8.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A4B97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A4B97 | 1.00 | 8.23 | 2.55 | 8.23 |
| #FFFFFF | 8.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#20549A
Deuteranopia (green-blind)
#004A95
Tritanopia (blue-blind)
#005D6A
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #2a4b97; /* rgb */ color: rgb(42, 75, 151); /* oklch */ color: oklch(43.2% 0.131 264.1);
Tailwind
colors: {
custom: {
50: '#727cb6',
500: '#2a4b97',
950: '#000000',
},
}SCSS
$custom: #2a4b97; $custom-light: #727cb6; $custom-dark: #000000;
JSON
{
"hex": "#2a4b97",
"rgb": {
"r": 42,
"g": 75,
"b": 151
},
"hsl": {
"h": 221.835,
"s": 56.477,
"l": 37.843
},
"oklch": {
"l": 0.43174,
"c": 0.13064,
"h": 264.1
},
"luminance": 0.07759
}Semantic roles & 50–950 ramp
primary
#2A4B97
secondary
#BBA062
accent
#B248E0
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090911
muted
#7B7B80