#2A367E#2A367E
#2A367E is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.7% C 0.122 H 271.9°. Best body text is #FFFFFF at 10.90:1 contrast (WCAG AA passes).
Color values
| HEX | #2A367E |
|---|---|
| RGB | rgb(42, 54, 126) |
| HSL | hsl(231, 50%, 33%) |
| HSV | hsv(231, 67%, 49%) |
| CMYK | cmyk(66.7%, 57.1%, 0%, 50.6%) |
| CIE-LAB | lab(25.67, 19.89, -42.43) |
| CIE-LCH | lch(25.67, 46.86, 295.12°) |
| OKLab | oklab(36.69% 0.004 -0.1219) |
| OKLCH | oklch(36.69% 0.122 271.9) |
| XYZ | xyz(6.0386, 4.6364, 20.3113) |
| Luminance | 0.0464 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.59
Blueberry
#464196
ΔE00 5.94
Marine
#042E60
ΔE00 6.68
Sapphire (survey)
#2138AB
ΔE00 6.84
Darkish Blue
#014182
ΔE00 7.07
Marine Blue
#01386A
ΔE00 7.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A367E #7E722A
analogous
#2A607E #2A367E #482A7E
triadic
#2A367E #7E2A36 #367E2A
tetradic
#2A367E #7E2A60 #7E722A #2A7E48
square
#2A367E #7E2A60 #7E722A #2A7E48
split-complementary
#2A367E #7E482A #607E2A
monochromatic
#0B0F22 #1B2250 #2A367E #394AAC #5A6AC8
Accessibility & contrast
On white
10.90
#2A367E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.93
#2A367E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A367E
10.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A367E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A367E | 1.00 | 10.90 | 1.93 | 10.90 |
| #FFFFFF | 10.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004180
Deuteranopia (green-blind)
#00397D
Tritanopia (blue-blind)
#004754
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #2a367e; /* rgb */ color: rgb(42, 54, 126); /* oklch */ color: oklch(36.7% 0.122 271.9);
Tailwind
colors: {
custom: {
50: '#6e6ca4',
500: '#2a367e',
950: '#000000',
},
}SCSS
$custom: #2a367e; $custom-light: #6e6ca4; $custom-dark: #000000;
JSON
{
"hex": "#2a367e",
"rgb": {
"r": 42,
"g": 54,
"b": 126
},
"hsl": {
"h": 231.429,
"s": 50,
"l": 32.941
},
"oklch": {
"l": 0.3669,
"c": 0.12199,
"h": 271.9
},
"luminance": 0.04637
}Semantic roles & 50–950 ramp
primary
#2A367E
secondary
#AEA156
accent
#C64EDA
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#08070F
muted
#7A7A7F