#2C3399#2C3399
#2C3399 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.6% C 0.163 H 272.9°. Best body text is #FFFFFF at 10.29:1 contrast (WCAG AA passes).
Color values
| HEX | #2C3399 |
|---|---|
| RGB | rgb(44, 51, 153) |
| HSL | hsl(236, 55%, 39%) |
| HSV | hsv(236, 71%, 60%) |
| CMYK | cmyk(71.2%, 66.7%, 0%, 40%) |
| CIE-LAB | lab(27.30, 32.20, -56.51) |
| CIE-LCH | lch(27.30, 65.04, 299.68°) |
| OKLab | oklab(38.64% 0.0082 -0.1632) |
| OKLCH | oklch(38.64% 0.163 272.9) |
| XYZ | xyz(7.9704, 5.2023, 30.7149) |
| Luminance | 0.0520 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.98
Blueberry
#464196
ΔE00 5.14
Darkslateblue
#483D8B
ΔE00 5.73
Royal
#0C1793
ΔE00 7.00
Ocean Blue
#4F42B5
ΔE00 7.02
Indigo Blue
#3A18B1
ΔE00 7.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C3399 #99922C
analogous
#2C6999 #2C3399 #5B2C99
triadic
#2C3399 #992C33 #33992C
tetradic
#2C3399 #992C69 #99922C #2C995B
square
#2C3399 #992C69 #99922C #2C995B
split-complementary
#2C3399 #995B2C #69992C
monochromatic
#11133A #1E2369 #2C3399 #3B44C7 #6B72D4
Accessibility & contrast
On white
10.29
#2C3399 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.04
#2C3399 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C3399
10.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C3399 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C3399 | 1.00 | 10.29 | 2.04 | 10.29 |
| #FFFFFF | 10.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00469C
Deuteranopia (green-blind)
#003B97
Tritanopia (blue-blind)
#004E61
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #2c3399; /* rgb */ color: rgb(44, 51, 153); /* oklch */ color: oklch(38.6% 0.163 272.9);
Tailwind
colors: {
custom: {
50: '#756bb8',
500: '#2c3399',
950: '#000000',
},
}SCSS
$custom: #2c3399; $custom-light: #756bb8; $custom-dark: #000000;
JSON
{
"hex": "#2c3399",
"rgb": {
"r": 44,
"g": 51,
"b": 153
},
"hsl": {
"h": 236.147,
"s": 55.33,
"l": 38.627
},
"oklch": {
"l": 0.38641,
"c": 0.16344,
"h": 272.9
},
"luminance": 0.05203
}Semantic roles & 50–950 ramp
primary
#2C3399
secondary
#BBB666
accent
#D549DF
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80