#2C3992#2C3992
#2C3992 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.1% C 0.146 H 271.5°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).
Color values
| HEX | #2C3992 |
|---|---|
| RGB | rgb(44, 57, 146) |
| HSL | hsl(232, 54%, 37%) |
| HSV | hsv(232, 70%, 57%) |
| CMYK | cmyk(69.9%, 61%, 0%, 42.7%) |
| CIE-LAB | lab(28.21, 25.67, -50.73) |
| CIE-LCH | lch(28.21, 56.86, 296.84°) |
| OKLab | oklab(39.12% 0.0039 -0.1462) |
| OKLCH | oklch(39.12% 0.146 271.5) |
| XYZ | xyz(7.6884, 5.5363, 27.8520) |
| Luminance | 0.0554 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.74
Blueberry
#464196
ΔE00 4.30
Darkslateblue
#483D8B
ΔE00 5.09
Cobalt
#0047AB
ΔE00 6.57
Cobalt (survey)
#1E488F
ΔE00 6.58
Darkish Blue
#014182
ΔE00 7.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C3992 #92852C
analogous
#2C6C92 #2C3992 #522C92
triadic
#2C3992 #922C39 #39922C
tetradic
#2C3992 #922C6C #92852C #2C9252
square
#2C3992 #922C6C #92852C #2C9252
split-complementary
#2C3992 #92522C #6C922C
monochromatic
#101434 #1E2763 #2C3992 #3A4BC1 #6775D1
Accessibility & contrast
On white
9.96
#2C3992 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.11
#2C3992 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C3992
9.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C3992 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C3992 | 1.00 | 9.96 | 2.11 | 9.96 |
| #FFFFFF | 9.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004795
Deuteranopia (green-blind)
#003E90
Tritanopia (blue-blind)
#004F60
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #2c3992; /* rgb */ color: rgb(44, 57, 146); /* oklch */ color: oklch(39.1% 0.146 271.5);
Tailwind
colors: {
custom: {
50: '#736fb3',
500: '#2c3992',
950: '#000000',
},
}SCSS
$custom: #2c3992; $custom-light: #736fb3; $custom-dark: #000000;
JSON
{
"hex": "#2c3992",
"rgb": {
"r": 44,
"g": 57,
"b": 146
},
"hsl": {
"h": 232.353,
"s": 53.684,
"l": 37.255
},
"oklch": {
"l": 0.39119,
"c": 0.1463,
"h": 271.5
},
"luminance": 0.05537
}Semantic roles & 50–950 ramp
primary
#2C3992
secondary
#B8AD62
accent
#CA4BDD
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80