#2C3A96#2C3A96
#2C3A96 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.7% C 0.151 H 271.2°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).
Color values
| HEX | #2C3A96 |
|---|---|
| RGB | rgb(44, 58, 150) |
| HSL | hsl(232, 55%, 38%) |
| HSV | hsv(232, 71%, 59%) |
| CMYK | cmyk(70.7%, 61.3%, 0%, 41.2%) |
| CIE-LAB | lab(28.81, 26.49, -52.22) |
| CIE-LCH | lch(28.81, 58.55, 296.90°) |
| OKLab | oklab(39.66% 0.003 -0.1506) |
| OKLCH | oklch(39.66% 0.151 271.2) |
| XYZ | xyz(8.0549, 5.7628, 29.5361) |
| Luminance | 0.0576 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.21
Blueberry
#464196
ΔE00 4.20
Darkslateblue
#483D8B
ΔE00 5.26
Cobalt
#0047AB
ΔE00 6.13
Cobalt (survey)
#1E488F
ΔE00 6.44
Blue Blue
#2242C7
ΔE00 6.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C3A96 #96882C
analogous
#2C6F96 #2C3A96 #532C96
triadic
#2C3A96 #962C3A #3A962C
tetradic
#2C3A96 #962C6F #96882C #2C9653
square
#2C3A96 #962C6F #96882C #2C9653
split-complementary
#2C3A96 #96532C #6F962C
monochromatic
#101537 #1E2867 #2C3A96 #3A4CC5 #6977D3
Accessibility & contrast
On white
9.75
#2C3A96 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#2C3A96 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C3A96
9.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C3A96 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C3A96 | 1.00 | 9.75 | 2.15 | 9.75 |
| #FFFFFF | 9.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004999
Deuteranopia (green-blind)
#003F94
Tritanopia (blue-blind)
#005162
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #2c3a96; /* rgb */ color: rgb(44, 58, 150); /* oklch */ color: oklch(39.7% 0.151 271.2);
Tailwind
colors: {
custom: {
50: '#7470b6',
500: '#2c3a96',
950: '#000000',
},
}SCSS
$custom: #2c3a96; $custom-light: #7470b6; $custom-dark: #000000;
JSON
{
"hex": "#2c3a96",
"rgb": {
"r": 44,
"g": 58,
"b": 150
},
"hsl": {
"h": 232.075,
"s": 54.639,
"l": 38.039
},
"oklch": {
"l": 0.39664,
"c": 0.15062,
"h": 271.2
},
"luminance": 0.05764
}Semantic roles & 50–950 ramp
primary
#2C3A96
secondary
#BAAE64
accent
#CA4ADE
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80