#2C3D97#2C3D97
#2C3D97 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.3% C 0.148 H 270.2°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).
Color values
| HEX | #2C3D97 |
|---|---|
| RGB | rgb(44, 61, 151) |
| HSL | hsl(230, 55%, 38%) |
| HSV | hsv(230, 71%, 59%) |
| CMYK | cmyk(70.9%, 59.6%, 0%, 40.8%) |
| CIE-LAB | lab(29.68, 24.86, -51.40) |
| CIE-LCH | lch(29.68, 57.10, 295.81°) |
| OKLab | oklab(40.34% 0.0006 -0.1482) |
| OKLCH | oklch(40.34% 0.148 270.2) |
| XYZ | xyz(8.2915, 6.1065, 30.0139) |
| Luminance | 0.0611 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.46
Blueberry
#464196
ΔE00 4.15
Cobalt
#0047AB
ΔE00 5.32
Darkslateblue
#483D8B
ΔE00 5.49
Cobalt (survey)
#1E488F
ΔE00 5.55
Blue Blue
#2242C7
ΔE00 6.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C3D97 #97862C
analogous
#2C7297 #2C3D97 #502C97
triadic
#2C3D97 #972C3D #3D972C
tetradic
#2C3D97 #972C72 #97862C #2C9750
square
#2C3D97 #972C72 #97862C #2C9750
split-complementary
#2C3D97 #97502C #72972C
monochromatic
#101738 #1E2A68 #2C3D97 #3A51C6 #6A7BD4
Accessibility & contrast
On white
9.45
#2C3D97 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.22
#2C3D97 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C3D97
9.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C3D97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C3D97 | 1.00 | 9.45 | 2.22 | 9.45 |
| #FFFFFF | 9.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004B9A
Deuteranopia (green-blind)
#004195
Tritanopia (blue-blind)
#005364
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #2c3d97; /* rgb */ color: rgb(44, 61, 151); /* oklch */ color: oklch(40.3% 0.148 270.2);
Tailwind
colors: {
custom: {
50: '#7472b6',
500: '#2c3d97',
950: '#000000',
},
}SCSS
$custom: #2c3d97; $custom-light: #7472b6; $custom-dark: #000000;
JSON
{
"hex": "#2c3d97",
"rgb": {
"r": 44,
"g": 61,
"b": 151
},
"hsl": {
"h": 230.467,
"s": 54.872,
"l": 38.235
},
"oklch": {
"l": 0.40339,
"c": 0.14817,
"h": 270.2
},
"luminance": 0.06107
}Semantic roles & 50–950 ramp
primary
#2C3D97
secondary
#BAAD65
accent
#C74ADE
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090811
muted
#7B7B80