#2A4F94#2A4F94
#2A4F94 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 43.9% C 0.121 H 261.6°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).
Color values
| HEX | #2A4F94 |
|---|---|
| RGB | rgb(42, 79, 148) |
| HSL | hsl(219, 56%, 37%) |
| HSV | hsv(219, 72%, 58%) |
| CMYK | cmyk(71.6%, 46.6%, 0%, 42%) |
| CIE-LAB | lab(34.44, 11.28, -41.89) |
| CIE-LCH | lch(34.44, 43.38, 285.07°) |
| OKLab | oklab(43.85% -0.0177 -0.1199) |
| OKLCH | oklch(43.85% 0.121 261.6) |
| XYZ | xyz(9.0942, 8.2214, 29.1188) |
| Luminance | 0.0822 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.34
Dusk Blue
#26538D
ΔE00 2.44
Denim Blue
#3B5B92
ΔE00 4.10
Cobalt
#0047AB
ΔE00 4.21
Light Navy
#155084
ΔE00 4.47
Light Navy Blue
#2E5A88
ΔE00 4.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A4F94 #946F2A
analogous
#2A8494 #2A4F94 #3A2A94
triadic
#2A4F94 #942A4F #4F942A
tetradic
#2A4F94 #942A84 #946F2A #2A943A
square
#2A4F94 #942A84 #946F2A #2A943A
split-complementary
#2A4F94 #943A2A #84942A
monochromatic
#0F1C35 #1C3664 #2A4F94 #3868C4 #658CD3
Accessibility & contrast
On white
7.94
#2A4F94 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.64
#2A4F94 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A4F94
7.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A4F94 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A4F94 | 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)
#2C5697
Deuteranopia (green-blind)
#164C93
Tritanopia (blue-blind)
#005F6A
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #2a4f94; /* rgb */ color: rgb(42, 79, 148); /* oklch */ color: oklch(43.9% 0.121 261.6);
Tailwind
colors: {
custom: {
50: '#717fb4',
500: '#2a4f94',
950: '#000000',
},
}SCSS
$custom: #2a4f94; $custom-light: #717fb4; $custom-dark: #000000;
JSON
{
"hex": "#2a4f94",
"rgb": {
"r": 42,
"g": 79,
"b": 148
},
"hsl": {
"h": 219.057,
"s": 55.789,
"l": 37.255
},
"oklch": {
"l": 0.4385,
"c": 0.12125,
"h": 261.6
},
"luminance": 0.08222
}Semantic roles & 50–950 ramp
primary
#2A4F94
secondary
#B99A60
accent
#AB49DF
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80