#2A4F9D#2A4F9D
#2A4F9D is a dark, vivid blue. Relative luminance 0.085; OKLCH L 44.5% C 0.134 H 263.0°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).
Color values
| HEX | #2A4F9D |
|---|---|
| RGB | rgb(42, 79, 157) |
| HSL | hsl(221, 58%, 39%) |
| HSV | hsv(221, 73%, 62%) |
| CMYK | cmyk(73.2%, 49.7%, 0%, 38.4%) |
| CIE-LAB | lab(35.04, 14.74, -46.37) |
| CIE-LCH | lch(35.04, 48.66, 287.64°) |
| OKLab | oklab(44.5% -0.0163 -0.1331) |
| OKLCH | oklch(44.5% 0.134 263) |
| XYZ | xyz(9.8345, 8.5175, 33.0175) |
| Luminance | 0.0852 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.92
Dusk Blue
#26538D
ΔE00 3.34
Cobalt
#0047AB
ΔE00 3.44
Sapphire
#0F52BA
ΔE00 3.83
Denim Blue
#3B5B92
ΔE00 4.40
Light Navy Blue
#2E5A88
ΔE00 5.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A4F9D #9D782A
analogous
#2A899D #2A4F9D #3F2A9D
triadic
#2A4F9D #9D2A4F #4F9D2A
tetradic
#2A4F9D #9D2A89 #9D782A #2A9D3F
square
#2A4F9D #9D2A89 #9D782A #2A9D3F
split-complementary
#2A4F9D #9D3F2A #899D2A
monochromatic
#101E3C #1D376D #2A4F9D #3A68CA #6A8DD7
Accessibility & contrast
On white
7.77
#2A4F9D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.70
#2A4F9D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A4F9D
7.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A4F9D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A4F9D | 1.00 | 7.77 | 2.70 | 7.77 |
| #FFFFFF | 7.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2358A0
Deuteranopia (green-blind)
#004D9B
Tritanopia (blue-blind)
#00616E
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #2a4f9d; /* rgb */ color: rgb(42, 79, 157); /* oklch */ color: oklch(44.5% 0.134 263.0);
Tailwind
colors: {
custom: {
50: '#737fba',
500: '#2a4f9d',
950: '#000000',
},
}SCSS
$custom: #2a4f9d; $custom-light: #737fba; $custom-dark: #000000;
JSON
{
"hex": "#2a4f9d",
"rgb": {
"r": 42,
"g": 79,
"b": 157
},
"hsl": {
"h": 220.696,
"s": 57.789,
"l": 39.02
},
"oklch": {
"l": 0.44501,
"c": 0.13412,
"h": 263
},
"luminance": 0.08519
}Semantic roles & 50–950 ramp
primary
#2A4F9D
secondary
#BEA165
accent
#AF47E1
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A12
muted
#7B7C81