#2C3DAB#2C3DAB
#2C3DAB is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.1% C 0.176 H 270.1°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).
Color values
| HEX | #2C3DAB |
|---|---|
| RGB | rgb(44, 61, 171) |
| HSL | hsl(232, 59%, 42%) |
| HSV | hsv(232, 74%, 67%) |
| CMYK | cmyk(74.3%, 64.3%, 0%, 32.9%) |
| CIE-LAB | lab(31.38, 32.27, -60.72) |
| CIE-LCH | lch(31.38, 68.77, 297.99°) |
| OKLab | oklab(42.12% 0.0002 -0.1755) |
| OKLCH | oklch(42.12% 0.176 270.1) |
| XYZ | xyz(10.0556, 6.8122, 39.3051) |
| Luminance | 0.0681 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.55
Blue Blue
#2242C7
ΔE00 3.90
Blueberry
#464196
ΔE00 4.96
Ocean Blue
#4F42B5
ΔE00 5.02
Cobalt
#0047AB
ΔE00 5.22
Blue With A Hint Of Purple
#533CC6
ΔE00 6.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C3DAB #AB9A2C
analogous
#2C7CAB #2C3DAB #5B2CAB
triadic
#2C3DAB #AB2C3D #3DAB2C
tetradic
#2C3DAB #AB2C7C #AB9A2C #2CAB5B
square
#2C3DAB #AB2C7C #AB9A2C #2CAB5B
split-complementary
#2C3DAB #AB5B2C #7CAB2C
monochromatic
#131A4A #1F2C7A #2C3DAB #4558CF #7683DC
Accessibility & contrast
On white
8.89
#2C3DAB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.36
#2C3DAB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C3DAB
8.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C3DAB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C3DAB | 1.00 | 8.89 | 2.36 | 8.89 |
| #FFFFFF | 8.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0050AF
Deuteranopia (green-blind)
#0044A9
Tritanopia (blue-blind)
#005A6E
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #2c3dab; /* rgb */ color: rgb(44, 61, 171); /* oklch */ color: oklch(42.1% 0.176 270.1);
Tailwind
colors: {
custom: {
50: '#7872c5',
500: '#2c3dab',
950: '#000000',
},
}SCSS
$custom: #2c3dab; $custom-light: #7872c5; $custom-dark: #000000;
JSON
{
"hex": "#2c3dab",
"rgb": {
"r": 44,
"g": 61,
"b": 171
},
"hsl": {
"h": 231.969,
"s": 59.07,
"l": 42.157
},
"oklch": {
"l": 0.4212,
"c": 0.17552,
"h": 270.1
},
"luminance": 0.06813
}Semantic roles & 50–950 ramp
primary
#2C3DAB
secondary
#C3B86F
accent
#CD46E2
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0813
muted
#7C7B82