#2C3D96#2C3D96
#2C3D96 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.3% C 0.147 H 270.2°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).
Color values
| HEX | #2C3D96 |
|---|---|
| RGB | rgb(44, 61, 150) |
| HSL | hsl(230, 55%, 38%) |
| HSV | hsv(230, 71%, 59%) |
| CMYK | cmyk(70.7%, 59.3%, 0%, 41.2%) |
| CIE-LAB | lab(29.60, 24.48, -50.92) |
| CIE-LCH | lch(29.60, 56.50, 295.68°) |
| OKLab | oklab(40.25% 0.0006 -0.1468) |
| OKLCH | oklch(40.25% 0.147 270.2) |
| XYZ | xyz(8.2106, 6.0742, 29.5880) |
| Luminance | 0.0607 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.61
Blueberry
#464196
ΔE00 4.16
Cobalt
#0047AB
ΔE00 5.37
Darkslateblue
#483D8B
ΔE00 5.46
Cobalt (survey)
#1E488F
ΔE00 5.49
Darkish Blue
#014182
ΔE00 6.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C3D96 #96852C
analogous
#2C7296 #2C3D96 #502C96
triadic
#2C3D96 #962C3D #3D962C
tetradic
#2C3D96 #962C72 #96852C #2C9650
square
#2C3D96 #962C72 #96852C #2C9650
split-complementary
#2C3D96 #96502C #72962C
monochromatic
#101737 #1E2A67 #2C3D96 #3A50C5 #697AD3
Accessibility & contrast
On white
9.48
#2C3D96 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.22
#2C3D96 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C3D96
9.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C3D96 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C3D96 | 1.00 | 9.48 | 2.22 | 9.48 |
| #FFFFFF | 9.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004B99
Deuteranopia (green-blind)
#004194
Tritanopia (blue-blind)
#005363
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #2c3d96; /* rgb */ color: rgb(44, 61, 150); /* oklch */ color: oklch(40.3% 0.147 270.2);
Tailwind
colors: {
custom: {
50: '#7372b6',
500: '#2c3d96',
950: '#000000',
},
}SCSS
$custom: #2c3d96; $custom-light: #7372b6; $custom-dark: #000000;
JSON
{
"hex": "#2c3d96",
"rgb": {
"r": 44,
"g": 61,
"b": 150
},
"hsl": {
"h": 230.377,
"s": 54.639,
"l": 38.039
},
"oklch": {
"l": 0.40254,
"c": 0.14677,
"h": 270.2
},
"luminance": 0.06075
}Semantic roles & 50–950 ramp
primary
#2C3D96
secondary
#BAAC64
accent
#C64ADE
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80