#2C3AB6#2C3AB6
#2C3AB6 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.6% C 0.193 H 270.4°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).
Color values
| HEX | #2C3AB6 |
|---|---|
| RGB | rgb(44, 58, 182) |
| HSL | hsl(234, 61%, 44%) |
| HSV | hsv(234, 76%, 71%) |
| CMYK | cmyk(75.8%, 68.1%, 0%, 28.6%) |
| CIE-LAB | lab(31.66, 38.15, -66.80) |
| CIE-LCH | lch(31.66, 76.93, 299.73°) |
| OKLab | oklab(42.64% 0.0012 -0.1933) |
| OKLCH | oklch(42.64% 0.193 270.4) |
| XYZ | xyz(10.9924, 6.9378, 45.0067) |
| Luminance | 0.0694 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.99
Blue Blue
#2242C7
ΔE00 3.20
Ocean Blue
#4F42B5
ΔE00 4.59
Blue With A Hint Of Purple
#533CC6
ΔE00 5.45
Blue (survey)
#0343DF
ΔE00 5.69
Blueberry
#464196
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C3AB6 #B6A82C
analogous
#2C7FB6 #2C3AB6 #632CB6
triadic
#2C3AB6 #B62C3A #3AB62C
tetradic
#2C3AB6 #B62C7F #B6A82C #2CB663
square
#2C3AB6 #B62C7F #B6A82C #2CB663
split-complementary
#2C3AB6 #B6632C #7FB62C
monochromatic
#141B53 #202A85 #2C3AB6 #4C59D4 #7D87E0
Accessibility & contrast
On white
8.79
#2C3AB6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.39
#2C3AB6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C3AB6
8.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C3AB6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C3AB6 | 1.00 | 8.79 | 2.39 | 8.79 |
| #FFFFFF | 8.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0051BA
Deuteranopia (green-blind)
#0044B4
Tritanopia (blue-blind)
#005C73
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #2c3ab6; /* rgb */ color: rgb(44, 58, 182); /* oklch */ color: oklch(42.6% 0.193 270.4);
Tailwind
colors: {
custom: {
50: '#7b70cd',
500: '#2c3ab6',
950: '#000000',
},
}SCSS
$custom: #2c3ab6; $custom-light: #7b70cd; $custom-dark: #000000;
JSON
{
"hex": "#2c3ab6",
"rgb": {
"r": 44,
"g": 58,
"b": 182
},
"hsl": {
"h": 233.913,
"s": 61.062,
"l": 44.314
},
"oklch": {
"l": 0.42639,
"c": 0.19331,
"h": 270.4
},
"luminance": 0.06939
}Semantic roles & 50–950 ramp
primary
#2C3AB6
secondary
#C8C076
accent
#D444E4
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0714
muted
#7C7A82