#2C3AA0#2C3AA0
#2C3AA0 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.6% C 0.164 H 271.0°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).
Color values
| HEX | #2C3AA0 |
|---|---|
| RGB | rgb(44, 58, 160) |
| HSL | hsl(233, 57%, 40%) |
| HSV | hsv(233, 73%, 63%) |
| CMYK | cmyk(72.5%, 63.8%, 0%, 37.3%) |
| CIE-LAB | lab(29.66, 30.19, -56.91) |
| CIE-LCH | lch(29.66, 64.42, 297.95°) |
| OKLab | oklab(40.56% 0.0028 -0.1644) |
| OKLCH | oklch(40.56% 0.164 271) |
| XYZ | xyz(8.8948, 6.0988, 33.9593) |
| Luminance | 0.0610 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.80
Blueberry
#464196
ΔE00 4.44
Blue Blue
#2242C7
ΔE00 5.60
Darkslateblue
#483D8B
ΔE00 5.86
Cobalt
#0047AB
ΔE00 5.90
Ocean Blue
#4F42B5
ΔE00 5.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C3AA0 #A0922C
analogous
#2C74A0 #2C3AA0 #582CA0
triadic
#2C3AA0 #A02C3A #3AA02C
tetradic
#2C3AA0 #A02C74 #A0922C #2CA058
square
#2C3AA0 #A02C74 #A0922C #2CA058
split-complementary
#2C3AA0 #A0582C #74A02C
monochromatic
#121740 #1F2970 #2C3AA0 #3F50CA #6F7CD7
Accessibility & contrast
On white
9.46
#2C3AA0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.22
#2C3AA0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C3AA0
9.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C3AA0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C3AA0 | 1.00 | 9.46 | 2.22 | 9.46 |
| #FFFFFF | 9.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004BA3
Deuteranopia (green-blind)
#00419E
Tritanopia (blue-blind)
#005467
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #2c3aa0; /* rgb */ color: rgb(44, 58, 160); /* oklch */ color: oklch(40.6% 0.164 271.0);
Tailwind
colors: {
custom: {
50: '#7670bd',
500: '#2c3aa0',
950: '#000000',
},
}SCSS
$custom: #2c3aa0; $custom-light: #7670bd; $custom-dark: #000000;
JSON
{
"hex": "#2c3aa0",
"rgb": {
"r": 44,
"g": 58,
"b": 160
},
"hsl": {
"h": 232.759,
"s": 56.863,
"l": 40
},
"oklch": {
"l": 0.40561,
"c": 0.16438,
"h": 271
},
"luminance": 0.061
}Semantic roles & 50–950 ramp
primary
#2C3AA0
secondary
#BFB469
accent
#CE48E0
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0712
muted
#7C7A81