#2A3C8F#2A3C8F
#2A3C8F is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.3% C 0.139 H 269.7°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).
Color values
| HEX | #2A3C8F |
|---|---|
| RGB | rgb(42, 60, 143) |
| HSL | hsl(229, 55%, 36%) |
| HSV | hsv(229, 71%, 56%) |
| CMYK | cmyk(70.6%, 58%, 0%, 43.9%) |
| CIE-LAB | lab(28.66, 22.22, -48.16) |
| CIE-LCH | lch(28.66, 53.04, 294.76°) |
| OKLab | oklab(39.35% -0.0008 -0.1387) |
| OKLCH | oklch(39.35% 0.139 269.7) |
| XYZ | xyz(7.5269, 5.7064, 26.6860) |
| Luminance | 0.0571 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.52
Blueberry
#464196
ΔE00 4.62
Cobalt (survey)
#1E488F
ΔE00 5.29
Darkslateblue
#483D8B
ΔE00 5.52
Cobalt
#0047AB
ΔE00 5.85
Darkish Blue
#014182
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A3C8F #8F7D2A
analogous
#2A6F8F #2A3C8F #4B2A8F
triadic
#2A3C8F #8F2A3C #3C8F2A
tetradic
#2A3C8F #8F2A6F #8F7D2A #2A8F4B
square
#2A3C8F #8F2A6F #8F7D2A #2A8F4B
split-complementary
#2A3C8F #8F4B2A #6F8F2A
monochromatic
#0E1430 #1C2860 #2A3C8F #3850BE #6276D1
Accessibility & contrast
On white
9.81
#2A3C8F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.14
#2A3C8F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A3C8F
9.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A3C8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A3C8F | 1.00 | 9.81 | 2.14 | 9.81 |
| #FFFFFF | 9.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004892
Deuteranopia (green-blind)
#003F8D
Tritanopia (blue-blind)
#00505F
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #2a3c8f; /* rgb */ color: rgb(42, 60, 143); /* oklch */ color: oklch(39.3% 0.139 269.7);
Tailwind
colors: {
custom: {
50: '#7171b0',
500: '#2a3c8f',
950: '#000000',
},
}SCSS
$custom: #2a3c8f; $custom-light: #7171b0; $custom-dark: #000000;
JSON
{
"hex": "#2a3c8f",
"rgb": {
"r": 42,
"g": 60,
"b": 143
},
"hsl": {
"h": 229.307,
"s": 54.595,
"l": 36.275
},
"oklch": {
"l": 0.39346,
"c": 0.13871,
"h": 269.7
},
"luminance": 0.05707
}Semantic roles & 50–950 ramp
primary
#2A3C8F
secondary
#B7A75E
accent
#C44ADE
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#090711
muted
#7B7A80