#2C3AA5#2C3AA5
#2C3AA5 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.0% C 0.171 H 270.8°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).
Color values
| HEX | #2C3AA5 |
|---|---|
| RGB | rgb(44, 58, 165) |
| HSL | hsl(233, 58%, 41%) |
| HSV | hsv(233, 73%, 65%) |
| CMYK | cmyk(73.3%, 64.8%, 0%, 35.3%) |
| CIE-LAB | lab(30.10, 32.03, -59.21) |
| CIE-LCH | lch(30.10, 67.31, 298.41°) |
| OKLab | oklab(41.02% 0.0025 -0.1711) |
| OKLCH | oklch(41.02% 0.171 270.8) |
| XYZ | xyz(9.3410, 6.2772, 36.3094) |
| Luminance | 0.0628 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.25
Blueberry
#464196
ΔE00 4.71
Blue Blue
#2242C7
ΔE00 4.97
Ocean Blue
#4F42B5
ΔE00 5.50
Cobalt
#0047AB
ΔE00 5.91
Darkslateblue
#483D8B
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C3AA5 #A5972C
analogous
#2C76A5 #2C3AA5 #5A2CA5
triadic
#2C3AA5 #A52C3A #3AA52C
tetradic
#2C3AA5 #A52C76 #A5972C #2CA55A
square
#2C3AA5 #A52C76 #A5972C #2CA55A
split-complementary
#2C3AA5 #A55A2C #76A52C
monochromatic
#121844 #1F2975 #2C3AA5 #4252CD #727ED9
Accessibility & contrast
On white
9.31
#2C3AA5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.26
#2C3AA5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C3AA5
9.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C3AA5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C3AA5 | 1.00 | 9.31 | 2.26 | 9.31 |
| #FFFFFF | 9.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004DA8
Deuteranopia (green-blind)
#0041A3
Tritanopia (blue-blind)
#00566A
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #2c3aa5; /* rgb */ color: rgb(44, 58, 165); /* oklch */ color: oklch(41.0% 0.171 270.8);
Tailwind
colors: {
custom: {
50: '#7770c1',
500: '#2c3aa5',
950: '#000000',
},
}SCSS
$custom: #2c3aa5; $custom-light: #7770c1; $custom-dark: #000000;
JSON
{
"hex": "#2c3aa5",
"rgb": {
"r": 44,
"g": 58,
"b": 165
},
"hsl": {
"h": 233.058,
"s": 57.895,
"l": 40.98
},
"oklch": {
"l": 0.41021,
"c": 0.17112,
"h": 270.8
},
"luminance": 0.06278
}Semantic roles & 50–950 ramp
primary
#2C3AA5
secondary
#C1B76C
accent
#CF47E1
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0712
muted
#7C7A81