#2C3C97#2C3C97
#2C3C97 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.1% C 0.149 H 270.5°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).
Color values
| HEX | #2C3C97 |
|---|---|
| RGB | rgb(44, 60, 151) |
| HSL | hsl(231, 55%, 38%) |
| HSV | hsv(231, 71%, 59%) |
| CMYK | cmyk(70.9%, 60.3%, 0%, 40.8%) |
| CIE-LAB | lab(29.41, 25.53, -51.84) |
| CIE-LCH | lch(29.41, 57.78, 296.22°) |
| OKLab | oklab(40.14% 0.0014 -0.1494) |
| OKLCH | oklch(40.14% 0.149 270.5) |
| XYZ | xyz(8.2386, 6.0007, 29.9962) |
| Luminance | 0.0600 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.30
Blueberry
#464196
ΔE00 4.14
Darkslateblue
#483D8B
ΔE00 5.41
Cobalt
#0047AB
ΔE00 5.57
Cobalt (survey)
#1E488F
ΔE00 5.87
Blue Blue
#2242C7
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C3C97 #97872C
analogous
#2C7197 #2C3C97 #512C97
triadic
#2C3C97 #972C3C #3C972C
tetradic
#2C3C97 #972C71 #97872C #2C9751
square
#2C3C97 #972C71 #97872C #2C9751
split-complementary
#2C3C97 #97512C #71972C
monochromatic
#101638 #1E2968 #2C3C97 #3A4FC6 #6A7AD4
Accessibility & contrast
On white
9.54
#2C3C97 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.20
#2C3C97 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C3C97
9.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C3C97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C3C97 | 1.00 | 9.54 | 2.20 | 9.54 |
| #FFFFFF | 9.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004A9A
Deuteranopia (green-blind)
#004195
Tritanopia (blue-blind)
#005363
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #2c3c97; /* rgb */ color: rgb(44, 60, 151); /* oklch */ color: oklch(40.1% 0.149 270.5);
Tailwind
colors: {
custom: {
50: '#7471b6',
500: '#2c3c97',
950: '#000000',
},
}SCSS
$custom: #2c3c97; $custom-light: #7471b6; $custom-dark: #000000;
JSON
{
"hex": "#2c3c97",
"rgb": {
"r": 44,
"g": 60,
"b": 151
},
"hsl": {
"h": 231.028,
"s": 54.872,
"l": 38.235
},
"oklch": {
"l": 0.40142,
"c": 0.14946,
"h": 270.5
},
"luminance": 0.06002
}Semantic roles & 50–950 ramp
primary
#2C3C97
secondary
#BAAD65
accent
#C84ADE
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80