#2C3E97#2C3E97
#2C3E97 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.5% C 0.147 H 269.9°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).
Color values
| HEX | #2C3E97 |
|---|---|
| RGB | rgb(44, 62, 151) |
| HSL | hsl(230, 55%, 38%) |
| HSV | hsv(230, 71%, 59%) |
| CMYK | cmyk(70.9%, 58.9%, 0%, 40.8%) |
| CIE-LAB | lab(29.95, 24.18, -50.97) |
| CIE-LCH | lch(29.95, 56.42, 295.38°) |
| OKLab | oklab(40.54% -0.0002 -0.1469) |
| OKLCH | oklch(40.54% 0.147 269.9) |
| XYZ | xyz(8.3453, 6.2143, 30.0318) |
| Luminance | 0.0621 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.65
Blueberry
#464196
ΔE00 4.20
Cobalt
#0047AB
ΔE00 5.07
Cobalt (survey)
#1E488F
ΔE00 5.24
Darkslateblue
#483D8B
ΔE00 5.60
Darkish Blue
#014182
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C3E97 #97852C
analogous
#2C7397 #2C3E97 #502C97
triadic
#2C3E97 #972C3E #3E972C
tetradic
#2C3E97 #972C73 #97852C #2C9750
square
#2C3E97 #972C73 #97852C #2C9750
split-complementary
#2C3E97 #97502C #73972C
monochromatic
#101738 #1E2B68 #2C3E97 #3A52C6 #6A7CD4
Accessibility & contrast
On white
9.36
#2C3E97 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.24
#2C3E97 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C3E97
9.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C3E97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C3E97 | 1.00 | 9.36 | 2.24 | 9.36 |
| #FFFFFF | 9.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004C9A
Deuteranopia (green-blind)
#004295
Tritanopia (blue-blind)
#005464
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #2c3e97; /* rgb */ color: rgb(44, 62, 151); /* oklch */ color: oklch(40.5% 0.147 269.9);
Tailwind
colors: {
custom: {
50: '#7473b6',
500: '#2c3e97',
950: '#000000',
},
}SCSS
$custom: #2c3e97; $custom-light: #7473b6; $custom-dark: #000000;
JSON
{
"hex": "#2c3e97",
"rgb": {
"r": 44,
"g": 62,
"b": 151
},
"hsl": {
"h": 229.907,
"s": 54.872,
"l": 38.235
},
"oklch": {
"l": 0.40538,
"c": 0.14688,
"h": 269.9
},
"luminance": 0.06215
}Semantic roles & 50–950 ramp
primary
#2C3E97
secondary
#BAAC65
accent
#C54ADE
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090811
muted
#7B7B80