#2C3A97#2C3A97
#2C3A97 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.8% C 0.152 H 271.1°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).
Color values
| HEX | #2C3A97 |
|---|---|
| RGB | rgb(44, 58, 151) |
| HSL | hsl(232, 55%, 38%) |
| HSV | hsv(232, 71%, 59%) |
| CMYK | cmyk(70.9%, 61.6%, 0%, 40.8%) |
| CIE-LAB | lab(28.89, 26.87, -52.69) |
| CIE-LCH | lch(28.89, 59.14, 297.02°) |
| OKLab | oklab(39.75% 0.003 -0.152) |
| OKLCH | oklch(39.75% 0.152 271.1) |
| XYZ | xyz(8.1358, 5.7952, 29.9620) |
| Luminance | 0.0580 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.06
Blueberry
#464196
ΔE00 4.20
Darkslateblue
#483D8B
ΔE00 5.31
Cobalt
#0047AB
ΔE00 6.09
Cobalt (survey)
#1E488F
ΔE00 6.49
Blue Blue
#2242C7
ΔE00 6.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C3A97 #97892C
analogous
#2C6F97 #2C3A97 #542C97
triadic
#2C3A97 #972C3A #3A972C
tetradic
#2C3A97 #972C6F #97892C #2C9754
square
#2C3A97 #972C6F #97892C #2C9754
split-complementary
#2C3A97 #97542C #6F972C
monochromatic
#101638 #1E2868 #2C3A97 #3A4DC6 #6A78D4
Accessibility & contrast
On white
9.73
#2C3A97 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.16
#2C3A97 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C3A97
9.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C3A97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C3A97 | 1.00 | 9.73 | 2.16 | 9.73 |
| #FFFFFF | 9.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00499A
Deuteranopia (green-blind)
#003F95
Tritanopia (blue-blind)
#005162
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #2c3a97; /* rgb */ color: rgb(44, 58, 151); /* oklch */ color: oklch(39.8% 0.152 271.1);
Tailwind
colors: {
custom: {
50: '#7470b6',
500: '#2c3a97',
950: '#000000',
},
}SCSS
$custom: #2c3a97; $custom-light: #7470b6; $custom-dark: #000000;
JSON
{
"hex": "#2c3a97",
"rgb": {
"r": 44,
"g": 58,
"b": 151
},
"hsl": {
"h": 232.15,
"s": 54.872,
"l": 38.235
},
"oklch": {
"l": 0.39752,
"c": 0.15202,
"h": 271.1
},
"luminance": 0.05796
}Semantic roles & 50–950 ramp
primary
#2C3A97
secondary
#BAAF65
accent
#CB4ADE
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80