#2C5397#2C5397
#2C5397 is a mid, moderate blue. Relative luminance 0.090; OKLCH L 45.1% C 0.120 H 260.7°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).
Color values
| HEX | #2C5397 |
|---|---|
| RGB | rgb(44, 83, 151) |
| HSL | hsl(218, 55%, 38%) |
| HSV | hsv(218, 71%, 59%) |
| CMYK | cmyk(70.9%, 45%, 0%, 40.8%) |
| CIE-LAB | lab(35.90, 10.09, -41.37) |
| CIE-LCH | lch(35.90, 42.58, 283.70°) |
| OKLab | oklab(45.06% -0.0194 -0.1183) |
| OKLCH | oklch(45.06% 0.12 260.7) |
| XYZ | xyz(9.7159, 8.9553, 30.4887) |
| Luminance | 0.0896 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk Blue
#26538D
ΔE00 1.94
Denim Blue
#3B5B92
ΔE00 2.99
Cobalt (survey)
#1E488F
ΔE00 3.61
Light Navy Blue
#2E5A88
ΔE00 3.84
Sapphire
#0F52BA
ΔE00 4.38
Light Navy
#155084
ΔE00 4.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C5397 #97702C
analogous
#2C8897 #2C5397 #3A2C97
triadic
#2C5397 #972C53 #53972C
tetradic
#2C5397 #972C88 #97702C #2C973A
square
#2C5397 #972C88 #97702C #2C973A
split-complementary
#2C5397 #973A2C #88972C
monochromatic
#101F38 #1E3968 #2C5397 #3A6DC6 #6A90D4
Accessibility & contrast
On white
7.52
#2C5397 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.79
#2C5397 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C5397
7.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C5397 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C5397 | 1.00 | 7.52 | 2.79 | 7.52 |
| #FFFFFF | 7.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#325A9A
Deuteranopia (green-blind)
#1E5096
Tritanopia (blue-blind)
#00636D
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #2c5397; /* rgb */ color: rgb(44, 83, 151); /* oklch */ color: oklch(45.1% 0.120 260.7);
Tailwind
colors: {
custom: {
50: '#7282b6',
500: '#2c5397',
950: '#000000',
},
}SCSS
$custom: #2c5397; $custom-light: #7282b6; $custom-dark: #000000;
JSON
{
"hex": "#2c5397",
"rgb": {
"r": 44,
"g": 83,
"b": 151
},
"hsl": {
"h": 218.131,
"s": 54.872,
"l": 38.235
},
"oklch": {
"l": 0.45058,
"c": 0.11989,
"h": 260.7
},
"luminance": 0.08956
}Semantic roles & 50–950 ramp
primary
#2C5397
secondary
#BA9B65
accent
#A84ADE
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80