#2C3396#2C3396
#2C3396 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.4% C 0.159 H 273.0°. Best body text is #FFFFFF at 10.39:1 contrast (WCAG AA passes).
Color values
| HEX | #2C3396 |
|---|---|
| RGB | rgb(44, 51, 150) |
| HSL | hsl(236, 55%, 38%) |
| HSV | hsv(236, 71%, 59%) |
| CMYK | cmyk(70.7%, 66%, 0%, 41.2%) |
| CIE-LAB | lab(27.03, 31.11, -55.12) |
| CIE-LCH | lch(27.03, 63.29, 299.45°) |
| OKLab | oklab(38.36% 0.0084 -0.1592) |
| OKLCH | oklch(38.36% 0.159 273) |
| XYZ | xyz(7.7257, 5.1044, 29.4263) |
| Luminance | 0.0510 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.33
Blueberry
#464196
ΔE00 5.08
Darkslateblue
#483D8B
ΔE00 5.55
Royal
#0C1793
ΔE00 7.04
Ocean Blue
#4F42B5
ΔE00 7.29
Indigo Blue
#3A18B1
ΔE00 7.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C3396 #968F2C
analogous
#2C6896 #2C3396 #5A2C96
triadic
#2C3396 #962C33 #33962C
tetradic
#2C3396 #962C68 #968F2C #2C965A
square
#2C3396 #962C68 #968F2C #2C965A
split-complementary
#2C3396 #965A2C #68962C
monochromatic
#101337 #1E2367 #2C3396 #3A43C5 #6970D3
Accessibility & contrast
On white
10.39
#2C3396 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.02
#2C3396 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C3396
10.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C3396 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C3396 | 1.00 | 10.39 | 2.02 | 10.39 |
| #FFFFFF | 10.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004599
Deuteranopia (green-blind)
#003B94
Tritanopia (blue-blind)
#004D5F
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #2c3396; /* rgb */ color: rgb(44, 51, 150); /* oklch */ color: oklch(38.4% 0.159 273.0);
Tailwind
colors: {
custom: {
50: '#746bb6',
500: '#2c3396',
950: '#000000',
},
}SCSS
$custom: #2c3396; $custom-light: #746bb6; $custom-dark: #000000;
JSON
{
"hex": "#2c3396",
"rgb": {
"r": 44,
"g": 51,
"b": 150
},
"hsl": {
"h": 236.038,
"s": 54.639,
"l": 38.039
},
"oklch": {
"l": 0.38357,
"c": 0.15938,
"h": 273
},
"luminance": 0.05105
}Semantic roles & 50–950 ramp
primary
#2C3396
secondary
#BAB464
accent
#D44ADE
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80