#2C3EAB#2C3EAB
#2C3EAB is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.3% C 0.174 H 269.9°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).
Color values
| HEX | #2C3EAB |
|---|---|
| RGB | rgb(44, 62, 171) |
| HSL | hsl(231, 59%, 42%) |
| HSV | hsv(231, 74%, 67%) |
| CMYK | cmyk(74.3%, 63.7%, 0%, 32.9%) |
| CIE-LAB | lab(31.62, 31.63, -60.32) |
| CIE-LCH | lch(31.62, 68.11, 297.67°) |
| OKLab | oklab(42.3% -0.0004 -0.1743) |
| OKLCH | oklch(42.3% 0.174 269.9) |
| XYZ | xyz(10.1095, 6.9199, 39.3231) |
| Luminance | 0.0692 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.80
Blue Blue
#2242C7
ΔE00 3.81
Blueberry
#464196
ΔE00 4.94
Cobalt
#0047AB
ΔE00 4.96
Ocean Blue
#4F42B5
ΔE00 5.04
Blue (survey)
#0343DF
ΔE00 6.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C3EAB #AB992C
analogous
#2C7EAB #2C3EAB #5A2CAB
triadic
#2C3EAB #AB2C3E #3EAB2C
tetradic
#2C3EAB #AB2C7E #AB992C #2CAB5A
square
#2C3EAB #AB2C7E #AB992C #2CAB5A
split-complementary
#2C3EAB #AB5A2C #7EAB2C
monochromatic
#131B4A #1F2C7A #2C3EAB #4559CF #7684DC
Accessibility & contrast
On white
8.81
#2C3EAB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.38
#2C3EAB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C3EAB
8.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C3EAB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C3EAB | 1.00 | 8.81 | 2.38 | 8.81 |
| #FFFFFF | 8.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0050AF
Deuteranopia (green-blind)
#0045A9
Tritanopia (blue-blind)
#005A6E
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #2c3eab; /* rgb */ color: rgb(44, 62, 171); /* oklch */ color: oklch(42.3% 0.174 269.9);
Tailwind
colors: {
custom: {
50: '#7873c5',
500: '#2c3eab',
950: '#000000',
},
}SCSS
$custom: #2c3eab; $custom-light: #7873c5; $custom-dark: #000000;
JSON
{
"hex": "#2c3eab",
"rgb": {
"r": 44,
"g": 62,
"b": 171
},
"hsl": {
"h": 231.496,
"s": 59.07,
"l": 42.157
},
"oklch": {
"l": 0.42303,
"c": 0.17432,
"h": 269.9
},
"luminance": 0.06921
}Semantic roles & 50–950 ramp
primary
#2C3EAB
secondary
#C3B86F
accent
#CC46E2
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0813
muted
#7C7B82