#2C3EAC#2C3EAC
#2C3EAC is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.4% C 0.176 H 269.8°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).
Color values
| HEX | #2C3EAC |
|---|---|
| RGB | rgb(44, 62, 172) |
| HSL | hsl(232, 59%, 42%) |
| HSV | hsv(232, 74%, 67%) |
| CMYK | cmyk(74.4%, 64%, 0%, 32.5%) |
| CIE-LAB | lab(31.71, 31.99, -60.77) |
| CIE-LCH | lch(31.71, 68.68, 297.76°) |
| OKLab | oklab(42.39% -0.0005 -0.1756) |
| OKLCH | oklch(42.39% 0.176 269.8) |
| XYZ | xyz(10.2052, 6.9582, 39.8270) |
| Luminance | 0.0696 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.80
Blue Blue
#2242C7
ΔE00 3.68
Ocean Blue
#4F42B5
ΔE00 4.97
Cobalt
#0047AB
ΔE00 4.99
Blueberry
#464196
ΔE00 5.02
Blue (survey)
#0343DF
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C3EAC #AC9A2C
analogous
#2C7EAC #2C3EAC #5A2CAC
triadic
#2C3EAC #AC2C3E #3EAC2C
tetradic
#2C3EAC #AC2C7E #AC9A2C #2CAC5A
square
#2C3EAC #AC2C7E #AC9A2C #2CAC5A
split-complementary
#2C3EAC #AC5A2C #7EAC2C
monochromatic
#131B4B #202C7B #2C3EAC #4659D0 #7685DC
Accessibility & contrast
On white
8.78
#2C3EAC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.39
#2C3EAC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C3EAC
8.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C3EAC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C3EAC | 1.00 | 8.78 | 2.39 | 8.78 |
| #FFFFFF | 8.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0051B0
Deuteranopia (green-blind)
#0045AA
Tritanopia (blue-blind)
#005B6F
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #2c3eac; /* rgb */ color: rgb(44, 62, 172); /* oklch */ color: oklch(42.4% 0.176 269.8);
Tailwind
colors: {
custom: {
50: '#7873c6',
500: '#2c3eac',
950: '#000000',
},
}SCSS
$custom: #2c3eac; $custom-light: #7873c6; $custom-dark: #000000;
JSON
{
"hex": "#2c3eac",
"rgb": {
"r": 44,
"g": 62,
"b": 172
},
"hsl": {
"h": 231.563,
"s": 59.259,
"l": 42.353
},
"oklch": {
"l": 0.42394,
"c": 0.17565,
"h": 269.8
},
"luminance": 0.06959
}Semantic roles & 50–950 ramp
primary
#2C3EAC
secondary
#C4B870
accent
#CC45E2
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0A0813
muted
#7C7B82