#2C3F97#2C3F97
#2C3F97 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.7% C 0.146 H 269.6°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).
Color values
| HEX | #2C3F97 |
|---|---|
| RGB | rgb(44, 63, 151) |
| HSL | hsl(229, 55%, 38%) |
| HSV | hsv(229, 71%, 59%) |
| CMYK | cmyk(70.9%, 58.3%, 0%, 40.8%) |
| CIE-LAB | lab(30.22, 23.51, -50.53) |
| CIE-LCH | lch(30.22, 55.73, 294.95°) |
| OKLab | oklab(40.74% -0.0011 -0.1456) |
| OKLCH | oklch(40.74% 0.146 269.6) |
| XYZ | xyz(8.4002, 6.3240, 30.0501) |
| Luminance | 0.0633 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.86
Blueberry
#464196
ΔE00 4.27
Cobalt
#0047AB
ΔE00 4.83
Cobalt (survey)
#1E488F
ΔE00 4.93
Darkslateblue
#483D8B
ΔE00 5.72
Darkish Blue
#014182
ΔE00 6.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C3F97 #97842C
analogous
#2C7497 #2C3F97 #4E2C97
triadic
#2C3F97 #972C3F #3F972C
tetradic
#2C3F97 #972C74 #97842C #2C974E
square
#2C3F97 #972C74 #97842C #2C974E
split-complementary
#2C3F97 #974E2C #74972C
monochromatic
#101738 #1E2B68 #2C3F97 #3A53C6 #6A7DD4
Accessibility & contrast
On white
9.27
#2C3F97 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.27
#2C3F97 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C3F97
9.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C3F97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C3F97 | 1.00 | 9.27 | 2.27 | 9.27 |
| #FFFFFF | 9.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004C9A
Deuteranopia (green-blind)
#004295
Tritanopia (blue-blind)
#005564
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #2c3f97; /* rgb */ color: rgb(44, 63, 151); /* oklch */ color: oklch(40.7% 0.146 269.6);
Tailwind
colors: {
custom: {
50: '#7373b6',
500: '#2c3f97',
950: '#000000',
},
}SCSS
$custom: #2c3f97; $custom-light: #7373b6; $custom-dark: #000000;
JSON
{
"hex": "#2c3f97",
"rgb": {
"r": 44,
"g": 63,
"b": 151
},
"hsl": {
"h": 229.346,
"s": 54.872,
"l": 38.235
},
"oklch": {
"l": 0.40739,
"c": 0.14559,
"h": 269.6
},
"luminance": 0.06325
}Semantic roles & 50–950 ramp
primary
#2C3F97
secondary
#BAAB65
accent
#C44ADE
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80