#2A347E#2A347E
#2A347E is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.3% C 0.125 H 272.7°. Best body text is #FFFFFF at 11.11:1 contrast (WCAG AA passes).
Color values
| HEX | #2A347E |
|---|---|
| RGB | rgb(42, 52, 126) |
| HSL | hsl(233, 50%, 33%) |
| HSV | hsv(233, 67%, 49%) |
| CMYK | cmyk(66.7%, 58.7%, 0%, 50.6%) |
| CIE-LAB | lab(25.12, 21.27, -43.32) |
| CIE-LCH | lch(25.12, 48.26, 296.14°) |
| OKLab | oklab(36.28% 0.006 -0.1246) |
| OKLCH | oklch(36.28% 0.125 272.7) |
| XYZ | xyz(5.9475, 4.4541, 20.2809) |
| Luminance | 0.0445 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.55
Blueberry
#464196
ΔE00 6.05
Sapphire (survey)
#2138AB
ΔE00 6.80
Marine
#042E60
ΔE00 6.86
Marine Blue
#01386A
ΔE00 7.52
Darkish Blue
#014182
ΔE00 7.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A347E #7E742A
analogous
#2A5E7E #2A347E #4A2A7E
triadic
#2A347E #7E2A34 #347E2A
tetradic
#2A347E #7E2A5E #7E742A #2A7E4A
square
#2A347E #7E2A5E #7E742A #2A7E4A
split-complementary
#2A347E #7E4A2A #5E7E2A
monochromatic
#0B0E22 #1B2150 #2A347E #3947AC #5A67C8
Accessibility & contrast
On white
11.11
#2A347E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.89
#2A347E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A347E
11.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A347E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A347E | 1.00 | 11.11 | 1.89 | 11.11 |
| #FFFFFF | 11.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F81
Deuteranopia (green-blind)
#00387D
Tritanopia (blue-blind)
#004653
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #2a347e; /* rgb */ color: rgb(42, 52, 126); /* oklch */ color: oklch(36.3% 0.125 272.7);
Tailwind
colors: {
custom: {
50: '#6e6ba4',
500: '#2a347e',
950: '#000000',
},
}SCSS
$custom: #2a347e; $custom-light: #6e6ba4; $custom-dark: #000000;
JSON
{
"hex": "#2a347e",
"rgb": {
"r": 42,
"g": 52,
"b": 126
},
"hsl": {
"h": 232.857,
"s": 50,
"l": 32.941
},
"oklch": {
"l": 0.36276,
"c": 0.12472,
"h": 272.7
},
"luminance": 0.04455
}Semantic roles & 50–950 ramp
primary
#2A347E
secondary
#AEA356
accent
#C94EDA
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F