#2C3EA5#2C3EA5
#2C3EA5 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.8% C 0.166 H 269.9°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).
Color values
| HEX | #2C3EA5 |
|---|---|
| RGB | rgb(44, 62, 165) |
| HSL | hsl(231, 58%, 41%) |
| HSV | hsv(231, 73%, 65%) |
| CMYK | cmyk(73.3%, 62.4%, 0%, 35.3%) |
| CIE-LAB | lab(31.11, 29.41, -57.56) |
| CIE-LCH | lch(31.11, 64.64, 297.06°) |
| OKLab | oklab(41.76% -0.0003 -0.1662) |
| OKLCH | oklch(41.76% 0.166 269.9) |
| XYZ | xyz(9.5505, 6.6963, 36.3792) |
| Luminance | 0.0670 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.06
Blueberry
#464196
ΔE00 4.55
Blue Blue
#2242C7
ΔE00 4.62
Cobalt
#0047AB
ΔE00 4.82
Ocean Blue
#4F42B5
ΔE00 5.52
Darkslateblue
#483D8B
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C3EA5 #A5932C
analogous
#2C7AA5 #2C3EA5 #562CA5
triadic
#2C3EA5 #A52C3E #3EA52C
tetradic
#2C3EA5 #A52C7A #A5932C #2CA556
square
#2C3EA5 #A52C7A #A5932C #2CA556
split-complementary
#2C3EA5 #A5562C #7AA52C
monochromatic
#121A44 #1F2C75 #2C3EA5 #4256CD #7281D9
Accessibility & contrast
On white
8.98
#2C3EA5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.34
#2C3EA5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C3EA5
8.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C3EA5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C3EA5 | 1.00 | 8.98 | 2.34 | 8.98 |
| #FFFFFF | 8.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004FA8
Deuteranopia (green-blind)
#0044A3
Tritanopia (blue-blind)
#00586B
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #2c3ea5; /* rgb */ color: rgb(44, 62, 165); /* oklch */ color: oklch(41.8% 0.166 269.9);
Tailwind
colors: {
custom: {
50: '#7773c1',
500: '#2c3ea5',
950: '#000000',
},
}SCSS
$custom: #2c3ea5; $custom-light: #7773c1; $custom-dark: #000000;
JSON
{
"hex": "#2c3ea5",
"rgb": {
"r": 44,
"g": 62,
"b": 165
},
"hsl": {
"h": 231.074,
"s": 57.895,
"l": 40.98
},
"oklch": {
"l": 0.4176,
"c": 0.16625,
"h": 269.9
},
"luminance": 0.06697
}Semantic roles & 50–950 ramp
primary
#2C3EA5
secondary
#C1B46C
accent
#CA47E1
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0812
muted
#7C7B81