#2C3791#2C3791
#2C3791 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.6% C 0.147 H 272.2°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).
Color values
| HEX | #2C3791 |
|---|---|
| RGB | rgb(44, 55, 145) |
| HSL | hsl(233, 53%, 37%) |
| HSV | hsv(233, 70%, 57%) |
| CMYK | cmyk(69.7%, 62.1%, 0%, 43.1%) |
| CIE-LAB | lab(27.60, 26.64, -51.11) |
| CIE-LCH | lch(27.60, 57.63, 297.53°) |
| OKLab | oklab(38.64% 0.0056 -0.1474) |
| OKLCH | oklch(38.64% 0.147 272.2) |
| XYZ | xyz(7.5140, 5.3115, 27.4118) |
| Luminance | 0.0531 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.82
Blueberry
#464196
ΔE00 4.49
Darkslateblue
#483D8B
ΔE00 5.05
Cobalt
#0047AB
ΔE00 7.14
Cobalt (survey)
#1E488F
ΔE00 7.18
Ocean Blue
#4F42B5
ΔE00 7.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C3791 #91862C
analogous
#2C6A91 #2C3791 #532C91
triadic
#2C3791 #912C37 #37912C
tetradic
#2C3791 #912C6A #91862C #2C9153
square
#2C3791 #912C6A #91862C #2C9153
split-complementary
#2C3791 #91532C #6A912C
monochromatic
#101333 #1E2562 #2C3791 #3A49C0 #6772D1
Accessibility & contrast
On white
10.18
#2C3791 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.06
#2C3791 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C3791
10.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C3791 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C3791 | 1.00 | 10.18 | 2.06 | 10.18 |
| #FFFFFF | 10.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004694
Deuteranopia (green-blind)
#003D8F
Tritanopia (blue-blind)
#004E5E
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #2c3791; /* rgb */ color: rgb(44, 55, 145); /* oklch */ color: oklch(38.6% 0.147 272.2);
Tailwind
colors: {
custom: {
50: '#736db2',
500: '#2c3791',
950: '#000000',
},
}SCSS
$custom: #2c3791; $custom-light: #736db2; $custom-dark: #000000;
JSON
{
"hex": "#2c3791",
"rgb": {
"r": 44,
"g": 55,
"b": 145
},
"hsl": {
"h": 233.465,
"s": 53.439,
"l": 37.059
},
"oklch": {
"l": 0.38644,
"c": 0.14748,
"h": 272.2
},
"luminance": 0.05312
}Semantic roles & 50–950 ramp
primary
#2C3791
secondary
#B7AE62
accent
#CD4BDD
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80