#2A3C9C#2A3C9C
#2A3C9C is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.5% C 0.157 H 269.8°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).
Color values
| HEX | #2A3C9C |
|---|---|
| RGB | rgb(42, 60, 156) |
| HSL | hsl(231, 58%, 39%) |
| HSV | hsv(231, 73%, 61%) |
| CMYK | cmyk(73.1%, 61.5%, 0%, 38.8%) |
| CIE-LAB | lab(29.72, 27.13, -54.39) |
| CIE-LCH | lch(29.72, 60.77, 296.51°) |
| OKLab | oklab(40.47% -0.0007 -0.157) |
| OKLCH | oklch(40.47% 0.157 269.8) |
| XYZ | xyz(8.5694, 6.1234, 32.1764) |
| Luminance | 0.0612 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.59
Blueberry
#464196
ΔE00 4.41
Cobalt
#0047AB
ΔE00 5.23
Darkslateblue
#483D8B
ΔE00 5.86
Blue Blue
#2242C7
ΔE00 5.97
Cobalt (survey)
#1E488F
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A3C9C #9C8A2A
analogous
#2A759C #2A3C9C #512A9C
triadic
#2A3C9C #9C2A3C #3C9C2A
tetradic
#2A3C9C #9C2A75 #9C8A2A #2A9C51
square
#2A3C9C #9C2A75 #9C8A2A #2A9C51
split-complementary
#2A3C9C #9C512A #759C2A
monochromatic
#10173C #1D296C #2A3C9C #3950CA #6A7BD7
Accessibility & contrast
On white
9.44
#2A3C9C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.22
#2A3C9C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A3C9C
9.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A3C9C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A3C9C | 1.00 | 9.44 | 2.22 | 9.44 |
| #FFFFFF | 9.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004B9F
Deuteranopia (green-blind)
#00419A
Tritanopia (blue-blind)
#005466
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #2a3c9c; /* rgb */ color: rgb(42, 60, 156); /* oklch */ color: oklch(40.5% 0.157 269.8);
Tailwind
colors: {
custom: {
50: '#7471ba',
500: '#2a3c9c',
950: '#000000',
},
}SCSS
$custom: #2a3c9c; $custom-light: #7471ba; $custom-dark: #000000;
JSON
{
"hex": "#2a3c9c",
"rgb": {
"r": 42,
"g": 60,
"b": 156
},
"hsl": {
"h": 230.526,
"s": 57.576,
"l": 38.824
},
"oklch": {
"l": 0.4047,
"c": 0.15699,
"h": 269.8
},
"luminance": 0.06124
}Semantic roles & 50–950 ramp
primary
#2A3C9C
secondary
#BDAF65
accent
#C947E1
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090712
muted
#7B7A81