#2A3D8F#2A3D8F
#2A3D8F is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.6% C 0.137 H 269.3°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).
Color values
| HEX | #2A3D8F |
|---|---|
| RGB | rgb(42, 61, 143) |
| HSL | hsl(229, 55%, 36%) |
| HSV | hsv(229, 71%, 56%) |
| CMYK | cmyk(70.6%, 57.3%, 0%, 43.9%) |
| CIE-LAB | lab(28.93, 21.54, -47.72) |
| CIE-LCH | lch(28.93, 52.35, 294.29°) |
| OKLab | oklab(39.55% -0.0017 -0.1374) |
| OKLCH | oklch(39.55% 0.137 269.3) |
| XYZ | xyz(7.5798, 5.8122, 26.7037) |
| Luminance | 0.0581 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.68
Blueberry
#464196
ΔE00 4.68
Cobalt (survey)
#1E488F
ΔE00 4.95
Cobalt
#0047AB
ΔE00 5.62
Darkslateblue
#483D8B
ΔE00 5.64
Darkish Blue
#014182
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A3D8F #8F7C2A
analogous
#2A708F #2A3D8F #4A2A8F
triadic
#2A3D8F #8F2A3D #3D8F2A
tetradic
#2A3D8F #8F2A70 #8F7C2A #2A8F4A
square
#2A3D8F #8F2A70 #8F7C2A #2A8F4A
split-complementary
#2A3D8F #8F4A2A #708F2A
monochromatic
#0E1530 #1C2960 #2A3D8F #3851BE #6277D1
Accessibility & contrast
On white
9.71
#2A3D8F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.16
#2A3D8F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A3D8F
9.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A3D8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A3D8F | 1.00 | 9.71 | 2.16 | 9.71 |
| #FFFFFF | 9.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004992
Deuteranopia (green-blind)
#00408D
Tritanopia (blue-blind)
#005160
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #2a3d8f; /* rgb */ color: rgb(42, 61, 143); /* oklch */ color: oklch(39.6% 0.137 269.3);
Tailwind
colors: {
custom: {
50: '#7172b0',
500: '#2a3d8f',
950: '#000000',
},
}SCSS
$custom: #2a3d8f; $custom-light: #7172b0; $custom-dark: #000000;
JSON
{
"hex": "#2a3d8f",
"rgb": {
"r": 42,
"g": 61,
"b": 143
},
"hsl": {
"h": 228.713,
"s": 54.595,
"l": 36.275
},
"oklch": {
"l": 0.39552,
"c": 0.13739,
"h": 269.3
},
"luminance": 0.05813
}Semantic roles & 50–950 ramp
primary
#2A3D8F
secondary
#B7A65E
accent
#C24ADE
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#090711
muted
#7B7A80