#2A376C#2A376C
#2A376C is a dark, moderate blue. Relative luminance 0.043; OKLCH L 35.5% C 0.093 H 270.7°. Best body text is #FFFFFF at 11.28:1 contrast (WCAG AA passes).
Color values
| HEX | #2A376C |
|---|---|
| RGB | rgb(42, 55, 108) |
| HSL | hsl(228, 44%, 29%) |
| HSV | hsv(228, 61%, 42%) |
| CMYK | cmyk(61.1%, 49.1%, 0%, 57.6%) |
| CIE-LAB | lab(24.66, 12.42, -32.61) |
| CIE-LCH | lch(24.66, 34.90, 290.85°) |
| OKLab | oklab(35.51% 0.0011 -0.093) |
| OKLCH | oklch(35.51% 0.093 270.7) |
| XYZ | xyz(5.0269, 4.3069, 14.7509) |
| Luminance | 0.0431 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 5.21
Marine Blue
#01386A
ΔE00 6.07
Navy Blue
#1B2A4A
ΔE00 6.73
Darkish Blue
#014182
ΔE00 7.22
Darkslateblue
#483D8B
ΔE00 7.54
Twilight Blue
#0A437A
ΔE00 7.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A376C #6C5F2A
analogous
#2A586C #2A376C #3E2A6C
triadic
#2A376C #6C2A37 #376C2A
tetradic
#2A376C #6C2A58 #6C5F2A #2A6C3E
square
#2A376C #6C2A58 #6C5F2A #2A6C3E
split-complementary
#2A376C #6C3E2A #586C2A
monochromatic
#090B16 #192140 #2A376C #3B4D98 #5469BC
Accessibility & contrast
On white
11.28
#2A376C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.86
#2A376C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A376C
11.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A376C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A376C | 1.00 | 11.28 | 1.86 | 11.28 |
| #FFFFFF | 11.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1E3E6E
Deuteranopia (green-blind)
#14386B
Tritanopia (blue-blind)
#00434C
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #2a376c; /* rgb */ color: rgb(42, 55, 108); /* oklch */ color: oklch(35.5% 0.093 270.7);
Tailwind
colors: {
custom: {
50: '#6a6d96',
500: '#2a376c',
950: '#000000',
},
}SCSS
$custom: #2a376c; $custom-light: #6a6d96; $custom-dark: #000000;
JSON
{
"hex": "#2a376c",
"rgb": {
"r": 42,
"g": 55,
"b": 108
},
"hsl": {
"h": 228.182,
"s": 44,
"l": 29.412
},
"oklch": {
"l": 0.3551,
"c": 0.09305,
"h": 270.7
},
"luminance": 0.04307
}Semantic roles & 50–950 ramp
primary
#2A376C
secondary
#9E8F54
accent
#BB54D4
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07070D
muted
#7A7A7E