#2C3C96#2C3C96
#2C3C96 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.1% C 0.148 H 270.5°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).
Color values
| HEX | #2C3C96 |
|---|---|
| RGB | rgb(44, 60, 150) |
| HSL | hsl(231, 55%, 38%) |
| HSV | hsv(231, 71%, 59%) |
| CMYK | cmyk(70.7%, 60%, 0%, 41.2%) |
| CIE-LAB | lab(29.33, 25.15, -51.36) |
| CIE-LCH | lch(29.33, 57.19, 296.09°) |
| OKLab | oklab(40.06% 0.0014 -0.148) |
| OKLCH | oklch(40.06% 0.148 270.5) |
| XYZ | xyz(8.1577, 5.9684, 29.5703) |
| Luminance | 0.0597 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.45
Blueberry
#464196
ΔE00 4.15
Darkslateblue
#483D8B
ΔE00 5.37
Cobalt
#0047AB
ΔE00 5.62
Cobalt (survey)
#1E488F
ΔE00 5.81
Blue Blue
#2242C7
ΔE00 6.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C3C96 #96862C
analogous
#2C7196 #2C3C96 #512C96
triadic
#2C3C96 #962C3C #3C962C
tetradic
#2C3C96 #962C71 #96862C #2C9651
square
#2C3C96 #962C71 #96862C #2C9651
split-complementary
#2C3C96 #96512C #71962C
monochromatic
#101637 #1E2967 #2C3C96 #3A4FC5 #6979D3
Accessibility & contrast
On white
9.57
#2C3C96 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.19
#2C3C96 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C3C96
9.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C3C96 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C3C96 | 1.00 | 9.57 | 2.19 | 9.57 |
| #FFFFFF | 9.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004A99
Deuteranopia (green-blind)
#004094
Tritanopia (blue-blind)
#005263
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #2c3c96; /* rgb */ color: rgb(44, 60, 150); /* oklch */ color: oklch(40.1% 0.148 270.5);
Tailwind
colors: {
custom: {
50: '#7371b6',
500: '#2c3c96',
950: '#000000',
},
}SCSS
$custom: #2c3c96; $custom-light: #7371b6; $custom-dark: #000000;
JSON
{
"hex": "#2c3c96",
"rgb": {
"r": 44,
"g": 60,
"b": 150
},
"hsl": {
"h": 230.943,
"s": 54.639,
"l": 38.039
},
"oklch": {
"l": 0.40055,
"c": 0.14806,
"h": 270.5
},
"luminance": 0.05969
}Semantic roles & 50–950 ramp
primary
#2C3C96
secondary
#BAAD64
accent
#C84ADE
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80