#2A367A#2A367A
#2A367A is a dark, moderate blue. Relative luminance 0.045; OKLCH L 36.4% C 0.116 H 271.9°. Best body text is #FFFFFF at 11.01:1 contrast (WCAG AA passes).
Color values
| HEX | #2A367A |
|---|---|
| RGB | rgb(42, 54, 122) |
| HSL | hsl(231, 49%, 32%) |
| HSV | hsv(231, 66%, 48%) |
| CMYK | cmyk(65.6%, 55.7%, 0%, 52.2%) |
| CIE-LAB | lab(25.37, 18.38, -40.40) |
| CIE-LCH | lch(25.37, 44.38, 294.46°) |
| OKLab | oklab(36.36% 0.0038 -0.1159) |
| OKLCH | oklch(36.36% 0.116 271.9) |
| XYZ | xyz(5.7857, 4.5352, 18.9791) |
| Luminance | 0.0454 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.88
Marine
#042E60
ΔE00 6.25
Blueberry
#464196
ΔE00 6.38
Marine Blue
#01386A
ΔE00 6.81
Darkish Blue
#014182
ΔE00 7.05
Cobalt (survey)
#1E488F
ΔE00 7.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A367A #7A6E2A
analogous
#2A5E7A #2A367A #462A7A
triadic
#2A367A #7A2A36 #367A2A
tetradic
#2A367A #7A2A5E #7A6E2A #2A7A46
square
#2A367A #7A2A5E #7A6E2A #2A7A46
split-complementary
#2A367A #7A462A #5E7A2A
monochromatic
#0B0E1F #1A224C #2A367A #3A4AA8 #5969C6
Accessibility & contrast
On white
11.01
#2A367A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.91
#2A367A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A367A
11.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A367A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A367A | 1.00 | 11.01 | 1.91 | 11.01 |
| #FFFFFF | 11.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#08407C
Deuteranopia (green-blind)
#003979
Tritanopia (blue-blind)
#004652
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #2a367a; /* rgb */ color: rgb(42, 54, 122); /* oklch */ color: oklch(36.4% 0.116 271.9);
Tailwind
colors: {
custom: {
50: '#6d6ca1',
500: '#2a367a',
950: '#000000',
},
}SCSS
$custom: #2a367a; $custom-light: #6d6ca1; $custom-dark: #000000;
JSON
{
"hex": "#2a367a",
"rgb": {
"r": 42,
"g": 54,
"b": 122
},
"hsl": {
"h": 231,
"s": 48.78,
"l": 32.157
},
"oklch": {
"l": 0.36364,
"c": 0.11601,
"h": 271.9
},
"luminance": 0.04536
}Semantic roles & 50–950 ramp
primary
#2A367A
secondary
#AB9E55
accent
#C44FD8
background
#F6F6FA
surface
#ECEBF3
border
#C7C6CD
text
#08070F
muted
#7A7A7F