#2A4883#2A4883
#2A4883 is a dark, moderate blue. Relative luminance 0.068; OKLCH L 41.1% C 0.105 H 262.4°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).
Color values
| HEX | #2A4883 |
|---|---|
| RGB | rgb(42, 72, 131) |
| HSL | hsl(220, 51%, 34%) |
| HSV | hsv(220, 68%, 51%) |
| CMYK | cmyk(67.9%, 45%, 0%, 48.6%) |
| CIE-LAB | lab(31.27, 9.46, -36.55) |
| CIE-LCH | lch(31.27, 37.75, 284.51°) |
| OKLab | oklab(41.06% -0.0139 -0.1044) |
| OKLCH | oklch(41.06% 0.105 262.4) |
| XYZ | xyz(7.3675, 6.7650, 22.3858) |
| Luminance | 0.0677 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.08
Darkish Blue
#014182
ΔE00 3.69
Twilight Blue
#0A437A
ΔE00 3.90
Dusk Blue
#26538D
ΔE00 4.36
Prussian Blue
#004577
ΔE00 5.18
Light Navy
#155084
ΔE00 5.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A4883 #83652A
analogous
#2A7583 #2A4883 #392A83
triadic
#2A4883 #832A48 #48832A
tetradic
#2A4883 #832A75 #83652A #2A8339
square
#2A4883 #832A75 #83652A #2A8339
split-complementary
#2A4883 #83392A #75832A
monochromatic
#0C1526 #1B2F55 #2A4883 #3961B1 #5D82CB
Accessibility & contrast
On white
8.92
#2A4883 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.35
#2A4883 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A4883
8.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A4883 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A4883 | 1.00 | 8.92 | 2.35 | 8.92 |
| #FFFFFF | 8.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C4E85
Deuteranopia (green-blind)
#1D4682
Tritanopia (blue-blind)
#00565F
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #2a4883; /* rgb */ color: rgb(42, 72, 131); /* oklch */ color: oklch(41.1% 0.105 262.4);
Tailwind
colors: {
custom: {
50: '#6e7aa7',
500: '#2a4883',
950: '#000000',
},
}SCSS
$custom: #2a4883; $custom-light: #6e7aa7; $custom-dark: #000000;
JSON
{
"hex": "#2a4883",
"rgb": {
"r": 42,
"g": 72,
"b": 131
},
"hsl": {
"h": 219.775,
"s": 51.445,
"l": 33.922
},
"oklch": {
"l": 0.41055,
"c": 0.10528,
"h": 262.4
},
"luminance": 0.06766
}Semantic roles & 50–950 ramp
primary
#2A4883
secondary
#B19358
accent
#AB4DDB
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#08090F
muted
#7B7B7F