#2A4D8F#2A4D8F
#2A4D8F is a dark, moderate blue. Relative luminance 0.078; OKLCH L 43.0% C 0.117 H 261.8°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).
Color values
| HEX | #2A4D8F |
|---|---|
| RGB | rgb(42, 77, 143) |
| HSL | hsl(219, 55%, 36%) |
| HSV | hsv(219, 71%, 56%) |
| CMYK | cmyk(70.6%, 46.2%, 0%, 43.9%) |
| CIE-LAB | lab(33.53, 10.69, -40.31) |
| CIE-LCH | lch(33.53, 41.71, 284.85°) |
| OKLab | oklab(43.04% -0.0167 -0.1153) |
| OKLCH | oklch(43.04% 0.117 261.8) |
| XYZ | xyz(8.5649, 7.7823, 27.0320) |
| Luminance | 0.0778 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.77
Dusk Blue
#26538D
ΔE00 2.78
Cobalt
#0047AB
ΔE00 4.41
Light Navy
#155084
ΔE00 4.49
Denim Blue
#3B5B92
ΔE00 4.65
Darkish Blue
#014182
ΔE00 4.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A4D8F #8F6C2A
analogous
#2A808F #2A4D8F #3A2A8F
triadic
#2A4D8F #8F2A4D #4D8F2A
tetradic
#2A4D8F #8F2A80 #8F6C2A #2A8F3A
square
#2A4D8F #8F2A80 #8F6C2A #2A8F3A
split-complementary
#2A4D8F #8F3A2A #808F2A
monochromatic
#0E1A30 #1C3460 #2A4D8F #3866BE #6289D1
Accessibility & contrast
On white
8.21
#2A4D8F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.56
#2A4D8F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A4D8F
8.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A4D8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A4D8F | 1.00 | 8.21 | 2.56 | 8.21 |
| #FFFFFF | 8.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C5492
Deuteranopia (green-blind)
#194B8E
Tritanopia (blue-blind)
#005C67
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #2a4d8f; /* rgb */ color: rgb(42, 77, 143); /* oklch */ color: oklch(43.0% 0.117 261.8);
Tailwind
colors: {
custom: {
50: '#707eb0',
500: '#2a4d8f',
950: '#000000',
},
}SCSS
$custom: #2a4d8f; $custom-light: #707eb0; $custom-dark: #000000;
JSON
{
"hex": "#2a4d8f",
"rgb": {
"r": 42,
"g": 77,
"b": 143
},
"hsl": {
"h": 219.208,
"s": 54.595,
"l": 36.275
},
"oklch": {
"l": 0.43042,
"c": 0.11654,
"h": 261.8
},
"luminance": 0.07783
}Semantic roles & 50–950 ramp
primary
#2A4D8F
secondary
#B7985E
accent
#AB4ADE
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#080910
muted
#7B7B7F