#2C3096#2C3096
#2C3096 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.8% C 0.163 H 273.7°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).
Color values
| HEX | #2C3096 |
|---|---|
| RGB | rgb(44, 48, 150) |
| HSL | hsl(238, 55%, 38%) |
| HSV | hsv(238, 71%, 59%) |
| CMYK | cmyk(70.7%, 68%, 0%, 41.2%) |
| CIE-LAB | lab(26.31, 33.05, -56.31) |
| CIE-LCH | lch(26.31, 65.29, 300.41°) |
| OKLab | oklab(37.83% 0.0106 -0.1627) |
| OKLCH | oklch(37.83% 0.163 273.7) |
| XYZ | xyz(7.5988, 4.8507, 29.3841) |
| Luminance | 0.0485 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.76
Blueberry
#464196
ΔE00 5.67
Darkslateblue
#483D8B
ΔE00 5.92
Royal
#0C1793
ΔE00 6.20
Indigo Blue
#3A18B1
ΔE00 6.85
Ocean Blue
#4F42B5
ΔE00 7.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C3096 #96922C
analogous
#2C6596 #2C3096 #5D2C96
triadic
#2C3096 #962C30 #30962C
tetradic
#2C3096 #962C65 #96922C #2C965D
square
#2C3096 #962C65 #96922C #2C965D
split-complementary
#2C3096 #965D2C #65962C
monochromatic
#101237 #1E2167 #2C3096 #3A3FC5 #696DD3
Accessibility & contrast
On white
10.66
#2C3096 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.97
#2C3096 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C3096
10.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C3096 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C3096 | 1.00 | 10.66 | 1.97 | 10.66 |
| #FFFFFF | 10.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004399
Deuteranopia (green-blind)
#003994
Tritanopia (blue-blind)
#004B5F
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #2c3096; /* rgb */ color: rgb(44, 48, 150); /* oklch */ color: oklch(37.8% 0.163 273.7);
Tailwind
colors: {
custom: {
50: '#7469b6',
500: '#2c3096',
950: '#000000',
},
}SCSS
$custom: #2c3096; $custom-light: #7469b6; $custom-dark: #000000;
JSON
{
"hex": "#2c3096",
"rgb": {
"r": 44,
"g": 48,
"b": 150
},
"hsl": {
"h": 237.736,
"s": 54.639,
"l": 38.039
},
"oklch": {
"l": 0.37829,
"c": 0.16301,
"h": 273.7
},
"luminance": 0.04851
}Semantic roles & 50–950 ramp
primary
#2C3096
secondary
#BAB764
accent
#D84ADE
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80