#2A548F#2A548F
#2A548F is a dark, moderate blue. Relative luminance 0.088; OKLCH L 44.7% C 0.108 H 257.3°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).
Color values
| HEX | #2A548F |
|---|---|
| RGB | rgb(42, 84, 143) |
| HSL | hsl(215, 55%, 36%) |
| HSV | hsv(215, 71%, 56%) |
| CMYK | cmyk(70.6%, 41.3%, 0%, 43.9%) |
| CIE-LAB | lab(35.63, 6.06, -36.96) |
| CIE-LCH | lch(35.63, 37.45, 279.31°) |
| OKLab | oklab(44.67% -0.0237 -0.1054) |
| OKLCH | oklch(44.67% 0.108 257.3) |
| XYZ | xyz(9.0813, 8.8151, 27.2042) |
| Luminance | 0.0882 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk Blue
#26538D
ΔE00 0.65
Light Navy Blue
#2E5A88
ΔE00 2.75
Denim Blue
#3B5B92
ΔE00 2.97
Light Navy
#155084
ΔE00 3.23
Cobalt (survey)
#1E488F
ΔE00 3.99
Sapphire
#0F52BA
ΔE00 5.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A548F #8F652A
analogous
#2A878F #2A548F #332A8F
triadic
#2A548F #8F2A54 #548F2A
tetradic
#2A548F #8F2A87 #8F652A #2A8F33
square
#2A548F #8F2A87 #8F652A #2A8F33
split-complementary
#2A548F #8F332A #878F2A
monochromatic
#0E1C30 #1C3860 #2A548F #3870BE #6290D1
Accessibility & contrast
On white
7.60
#2A548F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.76
#2A548F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A548F
7.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A548F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A548F | 1.00 | 7.60 | 2.76 | 7.60 |
| #FFFFFF | 7.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#395991
Deuteranopia (green-blind)
#294F8E
Tritanopia (blue-blind)
#00626A
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #2a548f; /* rgb */ color: rgb(42, 84, 143); /* oklch */ color: oklch(44.7% 0.108 257.3);
Tailwind
colors: {
custom: {
50: '#7083b0',
500: '#2a548f',
950: '#000000',
},
}SCSS
$custom: #2a548f; $custom-light: #7083b0; $custom-dark: #000000;
JSON
{
"hex": "#2a548f",
"rgb": {
"r": 42,
"g": 84,
"b": 143
},
"hsl": {
"h": 215.05,
"s": 54.595,
"l": 36.275
},
"oklch": {
"l": 0.44666,
"c": 0.10801,
"h": 257.3
},
"luminance": 0.08816
}Semantic roles & 50–950 ramp
primary
#2A548F
secondary
#B7925E
accent
#A04ADE
background
#F7F8FA
surface
#EDEFF5
border
#C8CACF
text
#080A10
muted
#7B7C7F