#2C3897#2C3897
#2C3897 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.4% C 0.155 H 271.7°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).
Color values
| HEX | #2C3897 |
|---|---|
| RGB | rgb(44, 56, 151) |
| HSL | hsl(233, 55%, 38%) |
| HSV | hsv(233, 71%, 59%) |
| CMYK | cmyk(70.9%, 62.9%, 0%, 40.8%) |
| CIE-LAB | lab(28.37, 28.20, -53.53) |
| CIE-LCH | lch(28.37, 60.50, 297.78°) |
| OKLab | oklab(39.37% 0.0046 -0.1545) |
| OKLCH | oklch(39.37% 0.155 271.7) |
| XYZ | xyz(8.0369, 5.5974, 29.9290) |
| Luminance | 0.0560 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.94
Blueberry
#464196
ΔE00 4.36
Darkslateblue
#483D8B
ΔE00 5.29
Cobalt
#0047AB
ΔE00 6.62
Ocean Blue
#4F42B5
ΔE00 6.89
Blue Blue
#2242C7
ΔE00 6.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C3897 #978B2C
analogous
#2C6D97 #2C3897 #552C97
triadic
#2C3897 #972C38 #38972C
tetradic
#2C3897 #972C6D #978B2C #2C9755
square
#2C3897 #972C6D #978B2C #2C9755
split-complementary
#2C3897 #97552C #6D972C
monochromatic
#101538 #1E2668 #2C3897 #3A4AC6 #6A76D4
Accessibility & contrast
On white
9.91
#2C3897 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.12
#2C3897 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C3897
9.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C3897 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C3897 | 1.00 | 9.91 | 2.12 | 9.91 |
| #FFFFFF | 9.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00489A
Deuteranopia (green-blind)
#003E95
Tritanopia (blue-blind)
#005062
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #2c3897; /* rgb */ color: rgb(44, 56, 151); /* oklch */ color: oklch(39.4% 0.155 271.7);
Tailwind
colors: {
custom: {
50: '#746eb6',
500: '#2c3897',
950: '#000000',
},
}SCSS
$custom: #2c3897; $custom-light: #746eb6; $custom-dark: #000000;
JSON
{
"hex": "#2c3897",
"rgb": {
"r": 44,
"g": 56,
"b": 151
},
"hsl": {
"h": 233.271,
"s": 54.872,
"l": 38.235
},
"oklch": {
"l": 0.39371,
"c": 0.15455,
"h": 271.7
},
"luminance": 0.05598
}Semantic roles & 50–950 ramp
primary
#2C3897
secondary
#BAB165
accent
#CE4ADE
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090711
muted
#7B7A80