#2A345C#2A345C
#2A345C is a dark, moderate blue. Relative luminance 0.037; OKLCH L 33.7% C 0.072 H 271.5°. Best body text is #FFFFFF at 12.04:1 contrast (WCAG AA passes).
Color values
| HEX | #2A345C |
|---|---|
| RGB | rgb(42, 52, 92) |
| HSL | hsl(228, 37%, 26%) |
| HSV | hsv(228, 54%, 36%) |
| CMYK | cmyk(54.3%, 43.5%, 0%, 63.9%) |
| CIE-LAB | lab(22.73, 8.63, -25.31) |
| CIE-LCH | lch(22.73, 26.74, 288.84°) |
| OKLab | oklab(33.7% 0.0019 -0.0716) |
| OKLCH | oklch(33.7% 0.072 271.5) |
| XYZ | xyz(4.1140, 3.7207, 10.6245) |
| Luminance | 0.0372 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 4.36
Marine
#042E60
ΔE00 5.70
Marine Blue
#01386A
ΔE00 7.25
Twilight Blue
#0A437A
ΔE00 9.34
Darkish Blue
#014182
ΔE00 9.43
Navy (survey)
#01153E
ΔE00 9.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A345C #5C522A
analogous
#2A4D5C #2A345C #392A5C
triadic
#2A345C #5C2A34 #345C2A
tetradic
#2A345C #5C2A4D #5C522A #2A5C39
square
#2A345C #5C2A4D #5C522A #2A5C39
split-complementary
#2A345C #5C392A #4D5C2A
monochromatic
#0A0C15 #171C32 #2A345C #3D4C86 #5164B0
Accessibility & contrast
On white
12.04
#2A345C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.74
#2A345C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A345C
12.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A345C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A345C | 1.00 | 12.04 | 1.74 | 12.04 |
| #FFFFFF | 12.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#24395E
Deuteranopia (green-blind)
#1F345B
Tritanopia (blue-blind)
#153D43
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #2a345c; /* rgb */ color: rgb(42, 52, 92); /* oklch */ color: oklch(33.7% 0.072 271.5);
Tailwind
colors: {
custom: {
50: '#676b8a',
500: '#2a345c',
950: '#000000',
},
}SCSS
$custom: #2a345c; $custom-light: #676b8a; $custom-dark: #000000;
JSON
{
"hex": "#2a345c",
"rgb": {
"r": 42,
"g": 52,
"b": 92
},
"hsl": {
"h": 228,
"s": 37.313,
"l": 26.275
},
"oklch": {
"l": 0.33698,
"c": 0.07167,
"h": 271.5
},
"luminance": 0.03721
}Semantic roles & 50–950 ramp
primary
#2A345C
secondary
#8E8353
accent
#B65BCD
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06060C
muted
#7A7A7D