#2A4A97#2A4A97
#2A4A97 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.0% C 0.132 H 264.5°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).
Color values
| HEX | #2A4A97 |
|---|---|
| RGB | rgb(42, 74, 151) |
| HSL | hsl(222, 56%, 38%) |
| HSV | hsv(222, 72%, 59%) |
| CMYK | cmyk(72.2%, 51%, 0%, 40.8%) |
| CIE-LAB | lab(33.19, 15.79, -45.73) |
| CIE-LCH | lch(33.19, 48.38, 289.04°) |
| OKLab | oklab(42.95% -0.0126 -0.1313) |
| OKLCH | oklch(42.95% 0.132 264.5) |
| XYZ | xyz(8.9876, 7.6232, 30.2699) |
| Luminance | 0.0762 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.99
Cobalt
#0047AB
ΔE00 3.29
Dusk Blue
#26538D
ΔE00 4.35
Darkish Blue
#014182
ΔE00 5.04
Sapphire
#0F52BA
ΔE00 5.21
Twilight Blue
#0A437A
ΔE00 5.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A4A97 #97772A
analogous
#2A8197 #2A4A97 #402A97
triadic
#2A4A97 #972A4A #4A972A
tetradic
#2A4A97 #972A81 #97772A #2A9740
square
#2A4A97 #972A81 #97772A #2A9740
split-complementary
#2A4A97 #97402A #81972A
monochromatic
#0F1B37 #1D3367 #2A4A97 #3761C7 #6787D5
Accessibility & contrast
On white
8.32
#2A4A97 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.52
#2A4A97 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A4A97
8.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A4A97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A4A97 | 1.00 | 8.32 | 2.52 | 8.32 |
| #FFFFFF | 8.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D539A
Deuteranopia (green-blind)
#004995
Tritanopia (blue-blind)
#005C69
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #2a4a97; /* rgb */ color: rgb(42, 74, 151); /* oklch */ color: oklch(43.0% 0.132 264.5);
Tailwind
colors: {
custom: {
50: '#727cb6',
500: '#2a4a97',
950: '#000000',
},
}SCSS
$custom: #2a4a97; $custom-light: #727cb6; $custom-dark: #000000;
JSON
{
"hex": "#2a4a97",
"rgb": {
"r": 42,
"g": 74,
"b": 151
},
"hsl": {
"h": 222.385,
"s": 56.477,
"l": 37.843
},
"oklch": {
"l": 0.42954,
"c": 0.13193,
"h": 264.5
},
"luminance": 0.07624
}Semantic roles & 50–950 ramp
primary
#2A4A97
secondary
#BBA162
accent
#B348E0
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80