#2A346A#2A346A
#2A346A is a dark, moderate blue. Relative luminance 0.040; OKLCH L 34.7% C 0.094 H 272.7°. Best body text is #FFFFFF at 11.68:1 contrast (WCAG AA passes).
Color values
| HEX | #2A346A |
|---|---|
| RGB | rgb(42, 52, 106) |
| HSL | hsl(231, 43%, 29%) |
| HSV | hsv(231, 60%, 42%) |
| CMYK | cmyk(60.4%, 50.9%, 0%, 58.4%) |
| CIE-LAB | lab(23.63, 13.77, -32.97) |
| CIE-LCH | lch(23.63, 35.73, 292.67°) |
| OKLab | oklab(34.69% 0.0044 -0.0941) |
| OKLCH | oklch(34.69% 0.094 272.7) |
| XYZ | xyz(4.7835, 3.9885, 14.1507) |
| Luminance | 0.0399 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 5.32
Navy Blue
#1B2A4A
ΔE00 6.45
Marine Blue
#01386A
ΔE00 6.78
Darkslateblue
#483D8B
ΔE00 7.55
Darkish Blue
#014182
ΔE00 8.16
Blueberry
#464196
ΔE00 8.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A346A #6A602A
analogous
#2A546A #2A346A #402A6A
triadic
#2A346A #6A2A34 #346A2A
tetradic
#2A346A #6A2A54 #6A602A #2A6A40
square
#2A346A #6A2A54 #6A602A #2A6A40
split-complementary
#2A346A #6A402A #546A2A
monochromatic
#090B16 #191E3E #2A346A #3B4A96 #5364BB
Accessibility & contrast
On white
11.68
#2A346A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.80
#2A346A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A346A
11.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A346A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A346A | 1.00 | 11.68 | 1.80 | 11.68 |
| #FFFFFF | 11.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1A3B6C
Deuteranopia (green-blind)
#103669
Tritanopia (blue-blind)
#02404A
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #2a346a; /* rgb */ color: rgb(42, 52, 106); /* oklch */ color: oklch(34.7% 0.094 272.7);
Tailwind
colors: {
custom: {
50: '#6a6b95',
500: '#2a346a',
950: '#000000',
},
}SCSS
$custom: #2a346a; $custom-light: #6a6b95; $custom-dark: #000000;
JSON
{
"hex": "#2a346a",
"rgb": {
"r": 42,
"g": 52,
"b": 106
},
"hsl": {
"h": 230.625,
"s": 43.243,
"l": 29.02
},
"oklch": {
"l": 0.34685,
"c": 0.09423,
"h": 272.7
},
"luminance": 0.03989
}Semantic roles & 50–950 ramp
primary
#2A346A
secondary
#9C9154
accent
#BF55D3
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#07060D
muted
#7A7A7E