#2A538F#2A538F
#2A538F is a dark, moderate blue. Relative luminance 0.087; OKLCH L 44.4% C 0.109 H 258.0°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).
Color values
| HEX | #2A538F |
|---|---|
| RGB | rgb(42, 83, 143) |
| HSL | hsl(216, 55%, 36%) |
| HSV | hsv(216, 71%, 56%) |
| CMYK | cmyk(70.6%, 42%, 0%, 43.9%) |
| CIE-LAB | lab(35.32, 6.71, -37.44) |
| CIE-LCH | lch(35.32, 38.04, 280.16°) |
| OKLab | oklab(44.43% -0.0227 -0.1068) |
| OKLCH | oklch(44.43% 0.109 258) |
| XYZ | xyz(9.0042, 8.6610, 27.1785) |
| Luminance | 0.0866 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk Blue
#26538D
ΔE00 0.78
Light Navy Blue
#2E5A88
ΔE00 3.10
Denim Blue
#3B5B92
ΔE00 3.13
Light Navy
#155084
ΔE00 3.32
Cobalt (survey)
#1E488F
ΔE00 3.63
Sapphire
#0F52BA
ΔE00 5.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A538F #8F662A
analogous
#2A868F #2A538F #342A8F
triadic
#2A538F #8F2A53 #538F2A
tetradic
#2A538F #8F2A86 #8F662A #2A8F34
square
#2A538F #8F2A86 #8F662A #2A8F34
split-complementary
#2A538F #8F342A #868F2A
monochromatic
#0E1C30 #1C3860 #2A538F #386EBE #628FD1
Accessibility & contrast
On white
7.69
#2A538F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.73
#2A538F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A538F
7.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A538F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A538F | 1.00 | 7.69 | 2.73 | 7.69 |
| #FFFFFF | 7.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#375891
Deuteranopia (green-blind)
#274F8E
Tritanopia (blue-blind)
#00616A
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #2a538f; /* rgb */ color: rgb(42, 83, 143); /* oklch */ color: oklch(44.4% 0.109 258.0);
Tailwind
colors: {
custom: {
50: '#7082b0',
500: '#2a538f',
950: '#000000',
},
}SCSS
$custom: #2a538f; $custom-light: #7082b0; $custom-dark: #000000;
JSON
{
"hex": "#2a538f",
"rgb": {
"r": 42,
"g": 83,
"b": 143
},
"hsl": {
"h": 215.644,
"s": 54.595,
"l": 36.275
},
"oklch": {
"l": 0.44431,
"c": 0.10919,
"h": 258
},
"luminance": 0.08662
}Semantic roles & 50–950 ramp
primary
#2A538F
secondary
#B7935E
accent
#A24ADE
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#080A10
muted
#7B7C7F