#2A4983#2A4983
#2A4983 is a dark, moderate blue. Relative luminance 0.069; OKLCH L 41.3% C 0.104 H 261.7°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).
Color values
| HEX | #2A4983 |
|---|---|
| RGB | rgb(42, 73, 131) |
| HSL | hsl(219, 51%, 34%) |
| HSV | hsv(219, 68%, 51%) |
| CMYK | cmyk(67.9%, 44.3%, 0%, 48.6%) |
| CIE-LAB | lab(31.57, 8.78, -36.07) |
| CIE-LCH | lch(31.57, 37.12, 283.69°) |
| OKLab | oklab(41.29% -0.0149 -0.1029) |
| OKLCH | oklch(41.29% 0.104 261.7) |
| XYZ | xyz(7.4327, 6.8953, 22.4076) |
| Luminance | 0.0690 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.04
Darkish Blue
#014182
ΔE00 3.75
Twilight Blue
#0A437A
ΔE00 3.85
Dusk Blue
#26538D
ΔE00 4.00
Light Navy
#155084
ΔE00 4.91
Prussian Blue
#004577
ΔE00 5.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A4983 #83642A
analogous
#2A7683 #2A4983 #382A83
triadic
#2A4983 #832A49 #49832A
tetradic
#2A4983 #832A76 #83642A #2A8338
square
#2A4983 #832A76 #83642A #2A8338
split-complementary
#2A4983 #83382A #76832A
monochromatic
#0C1526 #1B2F55 #2A4983 #3963B1 #5D83CB
Accessibility & contrast
On white
8.83
#2A4983 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.38
#2A4983 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A4983
8.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A4983 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A4983 | 1.00 | 8.83 | 2.38 | 8.83 |
| #FFFFFF | 8.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E4F85
Deuteranopia (green-blind)
#204682
Tritanopia (blue-blind)
#00565F
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #2a4983; /* rgb */ color: rgb(42, 73, 131); /* oklch */ color: oklch(41.3% 0.104 261.7);
Tailwind
colors: {
custom: {
50: '#6e7ba7',
500: '#2a4983',
950: '#000000',
},
}SCSS
$custom: #2a4983; $custom-light: #6e7ba7; $custom-dark: #000000;
JSON
{
"hex": "#2a4983",
"rgb": {
"r": 42,
"g": 73,
"b": 131
},
"hsl": {
"h": 219.101,
"s": 51.445,
"l": 33.922
},
"oklch": {
"l": 0.41288,
"c": 0.10401,
"h": 261.7
},
"luminance": 0.06896
}Semantic roles & 50–950 ramp
primary
#2A4983
secondary
#B19258
accent
#A94DDB
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#08090F
muted
#7B7B7F