#2A346C#2A346C
#2A346C is a dark, moderate blue. Relative luminance 0.040; OKLCH L 34.8% C 0.097 H 272.7°. Best body text is #FFFFFF at 11.63:1 contrast (WCAG AA passes).
Color values
| HEX | #2A346C |
|---|---|
| RGB | rgb(42, 52, 108) |
| HSL | hsl(231, 44%, 29%) |
| HSV | hsv(231, 61%, 42%) |
| CMYK | cmyk(61.1%, 51.9%, 0%, 57.6%) |
| CIE-LAB | lab(23.77, 14.51, -34.04) |
| CIE-LCH | lch(23.77, 37.00, 293.09°) |
| OKLab | oklab(34.84% 0.0046 -0.0973) |
| OKLCH | oklch(34.84% 0.097 272.7) |
| XYZ | xyz(4.8887, 4.0306, 14.7048) |
| Luminance | 0.0403 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 5.39
Navy Blue
#1B2A4A
ΔE00 6.75
Marine Blue
#01386A
ΔE00 6.78
Darkslateblue
#483D8B
ΔE00 7.28
Darkish Blue
#014182
ΔE00 8.04
Blueberry
#464196
ΔE00 8.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A346C #6C622A
analogous
#2A556C #2A346C #412A6C
triadic
#2A346C #6C2A34 #346C2A
tetradic
#2A346C #6C2A55 #6C622A #2A6C41
square
#2A346C #6C2A55 #6C622A #2A6C41
split-complementary
#2A346C #6C412A #556C2A
monochromatic
#090B16 #191F40 #2A346C #3B4998 #5464BC
Accessibility & contrast
On white
11.63
#2A346C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.81
#2A346C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A346C
11.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A346C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A346C | 1.00 | 11.63 | 1.81 | 11.63 |
| #FFFFFF | 11.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#183C6E
Deuteranopia (green-blind)
#0D366B
Tritanopia (blue-blind)
#00414B
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #2a346c; /* rgb */ color: rgb(42, 52, 108); /* oklch */ color: oklch(34.8% 0.097 272.7);
Tailwind
colors: {
custom: {
50: '#6a6b96',
500: '#2a346c',
950: '#000000',
},
}SCSS
$custom: #2a346c; $custom-light: #6a6b96; $custom-dark: #000000;
JSON
{
"hex": "#2a346c",
"rgb": {
"r": 42,
"g": 52,
"b": 108
},
"hsl": {
"h": 230.909,
"s": 44,
"l": 29.412
},
"oklch": {
"l": 0.34835,
"c": 0.09737,
"h": 272.7
},
"luminance": 0.04031
}Semantic roles & 50–950 ramp
primary
#2A346C
secondary
#9E9354
accent
#C054D4
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060D
muted
#7A7A7E