#2C3B97#2C3B97
#2C3B97 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.9% C 0.151 H 270.8°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).
Color values
| HEX | #2C3B97 |
|---|---|
| RGB | rgb(44, 59, 151) |
| HSL | hsl(232, 55%, 38%) |
| HSV | hsv(232, 71%, 59%) |
| CMYK | cmyk(70.9%, 60.9%, 0%, 40.8%) |
| CIE-LAB | lab(29.15, 26.20, -52.26) |
| CIE-LCH | lch(29.15, 58.46, 296.62°) |
| OKLab | oklab(39.95% 0.0022 -0.1507) |
| OKLCH | oklch(39.95% 0.151 270.8) |
| XYZ | xyz(8.1867, 5.8970, 29.9789) |
| Luminance | 0.0590 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.16
Blueberry
#464196
ΔE00 4.16
Darkslateblue
#483D8B
ΔE00 5.35
Cobalt
#0047AB
ΔE00 5.83
Cobalt (survey)
#1E488F
ΔE00 6.18
Blue Blue
#2242C7
ΔE00 6.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C3B97 #97882C
analogous
#2C7097 #2C3B97 #522C97
triadic
#2C3B97 #972C3B #3B972C
tetradic
#2C3B97 #972C70 #97882C #2C9752
square
#2C3B97 #972C70 #97882C #2C9752
split-complementary
#2C3B97 #97522C #70972C
monochromatic
#101638 #1E2868 #2C3B97 #3A4EC6 #6A79D4
Accessibility & contrast
On white
9.63
#2C3B97 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.18
#2C3B97 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C3B97
9.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C3B97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C3B97 | 1.00 | 9.63 | 2.18 | 9.63 |
| #FFFFFF | 9.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004A9A
Deuteranopia (green-blind)
#004095
Tritanopia (blue-blind)
#005263
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #2c3b97; /* rgb */ color: rgb(44, 59, 151); /* oklch */ color: oklch(39.9% 0.151 270.8);
Tailwind
colors: {
custom: {
50: '#7470b6',
500: '#2c3b97',
950: '#000000',
},
}SCSS
$custom: #2c3b97; $custom-light: #7470b6; $custom-dark: #000000;
JSON
{
"hex": "#2c3b97",
"rgb": {
"r": 44,
"g": 59,
"b": 151
},
"hsl": {
"h": 231.589,
"s": 54.872,
"l": 38.235
},
"oklch": {
"l": 0.39946,
"c": 0.15075,
"h": 270.8
},
"luminance": 0.05898
}Semantic roles & 50–950 ramp
primary
#2C3B97
secondary
#BAAE65
accent
#C94ADE
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80