#2C3AB8#2C3AB8
#2C3AB8 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.8% C 0.196 H 270.3°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).
Color values
| HEX | #2C3AB8 |
|---|---|
| RGB | rgb(44, 58, 184) |
| HSL | hsl(234, 61%, 45%) |
| HSV | hsv(234, 76%, 72%) |
| CMYK | cmyk(76.1%, 68.5%, 0%, 27.8%) |
| CIE-LAB | lab(31.85, 38.86, -67.67) |
| CIE-LCH | lch(31.85, 78.04, 299.87°) |
| OKLab | oklab(42.84% 0.0011 -0.1959) |
| OKLCH | oklch(42.84% 0.196 270.3) |
| XYZ | xyz(11.2005, 7.0211, 46.1030) |
| Luminance | 0.0702 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.23
Blue Blue
#2242C7
ΔE00 3.04
Ocean Blue
#4F42B5
ΔE00 4.55
Blue With A Hint Of Purple
#533CC6
ΔE00 5.28
Blue (survey)
#0343DF
ΔE00 5.47
Blurple
#5539CC
ΔE00 5.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C3AB8 #B8AA2C
analogous
#2C80B8 #2C3AB8 #642CB8
triadic
#2C3AB8 #B82C3A #3AB82C
tetradic
#2C3AB8 #B82C80 #B8AA2C #2CB864
square
#2C3AB8 #B82C80 #B8AA2C #2CB864
split-complementary
#2C3AB8 #B8642C #80B82C
monochromatic
#141B55 #202A87 #2C3AB8 #4D5AD4 #7E88E0
Accessibility & contrast
On white
8.73
#2C3AB8 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.40
#2C3AB8 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C3AB8
8.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C3AB8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C3AB8 | 1.00 | 8.73 | 2.40 | 8.73 |
| #FFFFFF | 8.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0052BC
Deuteranopia (green-blind)
#0044B6
Tritanopia (blue-blind)
#005C74
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #2c3ab8; /* rgb */ color: rgb(44, 58, 184); /* oklch */ color: oklch(42.8% 0.196 270.3);
Tailwind
colors: {
custom: {
50: '#7c70ce',
500: '#2c3ab8',
950: '#000000',
},
}SCSS
$custom: #2c3ab8; $custom-light: #7c70ce; $custom-dark: #000000;
JSON
{
"hex": "#2c3ab8",
"rgb": {
"r": 44,
"g": 58,
"b": 184
},
"hsl": {
"h": 234,
"s": 61.404,
"l": 44.706
},
"oklch": {
"l": 0.42835,
"c": 0.19586,
"h": 270.3
},
"luminance": 0.07022
}Semantic roles & 50–950 ramp
primary
#2C3AB8
secondary
#C9C177
accent
#D443E5
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0714
muted
#7C7A82