#2C5797#2C5797
#2C5797 is a mid, moderate blue. Relative luminance 0.096; OKLCH L 46.0% C 0.115 H 258.3°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).
Color values
| HEX | #2C5797 |
|---|---|
| RGB | rgb(44, 87, 151) |
| HSL | hsl(216, 55%, 38%) |
| HSV | hsv(216, 71%, 59%) |
| CMYK | cmyk(70.9%, 42.4%, 0%, 40.8%) |
| CIE-LAB | lab(37.09, 7.46, -39.46) |
| CIE-LCH | lch(37.09, 40.16, 280.70°) |
| OKLab | oklab(45.98% -0.0234 -0.1126) |
| OKLCH | oklch(45.98% 0.115 258.3) |
| XYZ | xyz(10.0308, 9.5852, 30.5936) |
| Luminance | 0.0959 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk Blue
#26538D
ΔE00 1.86
Denim Blue
#3B5B92
ΔE00 2.29
Light Navy Blue
#2E5A88
ΔE00 2.73
Light Navy
#155084
ΔE00 4.23
Sapphire
#0F52BA
ΔE00 4.60
Dusky Blue
#475F94
ΔE00 4.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C5797 #976C2C
analogous
#2C8C97 #2C5797 #362C97
triadic
#2C5797 #972C57 #57972C
tetradic
#2C5797 #972C8C #976C2C #2C9736
square
#2C5797 #972C8C #976C2C #2C9736
split-complementary
#2C5797 #97362C #8C972C
monochromatic
#102038 #1E3C68 #2C5797 #3A72C6 #6A94D4
Accessibility & contrast
On white
7.20
#2C5797 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.92
#2C5797 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C5797
7.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C5797 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C5797 | 1.00 | 7.20 | 2.92 | 7.20 |
| #FFFFFF | 7.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#395D9A
Deuteranopia (green-blind)
#275396
Tritanopia (blue-blind)
#00666F
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #2c5797; /* rgb */ color: rgb(44, 87, 151); /* oklch */ color: oklch(46.0% 0.115 258.3);
Tailwind
colors: {
custom: {
50: '#7285b6',
500: '#2c5797',
950: '#000000',
},
}SCSS
$custom: #2c5797; $custom-light: #7285b6; $custom-dark: #000000;
JSON
{
"hex": "#2c5797",
"rgb": {
"r": 44,
"g": 87,
"b": 151
},
"hsl": {
"h": 215.888,
"s": 54.872,
"l": 38.235
},
"oklch": {
"l": 0.45978,
"c": 0.11505,
"h": 258.3
},
"luminance": 0.09586
}Semantic roles & 50–950 ramp
primary
#2C5797
secondary
#BA9865
accent
#A24ADE
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80