#2A3E9C#2A3E9C
#2A3E9C is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.9% C 0.154 H 269.2°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).
Color values
| HEX | #2A3E9C |
|---|---|
| RGB | rgb(42, 62, 156) |
| HSL | hsl(229, 58%, 39%) |
| HSV | hsv(229, 73%, 61%) |
| CMYK | cmyk(73.1%, 60.3%, 0%, 38.8%) |
| CIE-LAB | lab(30.25, 25.79, -53.53) |
| CIE-LCH | lch(30.25, 59.42, 295.72°) |
| OKLab | oklab(40.86% -0.0022 -0.1544) |
| OKLCH | oklch(40.86% 0.154 269.2) |
| XYZ | xyz(8.6762, 6.3369, 32.2119) |
| Luminance | 0.0634 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.00
Blueberry
#464196
ΔE00 4.45
Cobalt
#0047AB
ΔE00 4.70
Cobalt (survey)
#1E488F
ΔE00 5.42
Blue Blue
#2242C7
ΔE00 5.89
Darkslateblue
#483D8B
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A3E9C #9C882A
analogous
#2A779C #2A3E9C #4F2A9C
triadic
#2A3E9C #9C2A3E #3E9C2A
tetradic
#2A3E9C #9C2A77 #9C882A #2A9C4F
square
#2A3E9C #9C2A77 #9C882A #2A9C4F
split-complementary
#2A3E9C #9C4F2A #779C2A
monochromatic
#10183C #1D2B6C #2A3E9C #3953CA #6A7DD7
Accessibility & contrast
On white
9.26
#2A3E9C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.27
#2A3E9C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A3E9C
9.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A3E9C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A3E9C | 1.00 | 9.26 | 2.27 | 9.26 |
| #FFFFFF | 9.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004D9F
Deuteranopia (green-blind)
#00429A
Tritanopia (blue-blind)
#005667
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #2a3e9c; /* rgb */ color: rgb(42, 62, 156); /* oklch */ color: oklch(40.9% 0.154 269.2);
Tailwind
colors: {
custom: {
50: '#7473ba',
500: '#2a3e9c',
950: '#000000',
},
}SCSS
$custom: #2a3e9c; $custom-light: #7473ba; $custom-dark: #000000;
JSON
{
"hex": "#2a3e9c",
"rgb": {
"r": 42,
"g": 62,
"b": 156
},
"hsl": {
"h": 229.474,
"s": 57.576,
"l": 38.824
},
"oklch": {
"l": 0.4086,
"c": 0.15447,
"h": 269.2
},
"luminance": 0.06338
}Semantic roles & 50–950 ramp
primary
#2A3E9C
secondary
#BDAE65
accent
#C647E1
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090812
muted
#7B7B81