#2C5395#2C5395
#2C5395 is a dark, moderate blue. Relative luminance 0.089; OKLCH L 44.9% C 0.117 H 260.2°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).
Color values
| HEX | #2C5395 |
|---|---|
| RGB | rgb(44, 83, 149) |
| HSL | hsl(218, 54%, 38%) |
| HSV | hsv(218, 70%, 58%) |
| CMYK | cmyk(70.5%, 44.3%, 0%, 41.6%) |
| CIE-LAB | lab(35.77, 9.33, -40.36) |
| CIE-LCH | lch(35.77, 41.42, 283.01°) |
| OKLab | oklab(44.92% -0.0198 -0.1153) |
| OKLCH | oklch(44.92% 0.117 260.2) |
| XYZ | xyz(9.5548, 8.8909, 29.6405) |
| Luminance | 0.0889 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk Blue
#26538D
ΔE00 1.71
Denim Blue
#3B5B92
ΔE00 2.95
Cobalt (survey)
#1E488F
ΔE00 3.57
Light Navy Blue
#2E5A88
ΔE00 3.69
Light Navy
#155084
ΔE00 4.20
Sapphire
#0F52BA
ΔE00 4.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C5395 #956E2C
analogous
#2C8795 #2C5395 #392C95
triadic
#2C5395 #952C53 #53952C
tetradic
#2C5395 #952C87 #956E2C #2C9539
square
#2C5395 #952C87 #956E2C #2C9539
split-complementary
#2C5395 #95392C #87952C
monochromatic
#101E37 #1E3966 #2C5395 #3A6DC4 #6990D3
Accessibility & contrast
On white
7.56
#2C5395 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.78
#2C5395 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C5395
7.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C5395 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C5395 | 1.00 | 7.56 | 2.78 | 7.56 |
| #FFFFFF | 7.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#335998
Deuteranopia (green-blind)
#215094
Tritanopia (blue-blind)
#00626C
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #2c5395; /* rgb */ color: rgb(44, 83, 149); /* oklch */ color: oklch(44.9% 0.117 260.2);
Tailwind
colors: {
custom: {
50: '#7282b4',
500: '#2c5395',
950: '#000000',
},
}SCSS
$custom: #2c5395; $custom-light: #7282b4; $custom-dark: #000000;
JSON
{
"hex": "#2c5395",
"rgb": {
"r": 44,
"g": 83,
"b": 149
},
"hsl": {
"h": 217.714,
"s": 54.404,
"l": 37.843
},
"oklch": {
"l": 0.44922,
"c": 0.11702,
"h": 260.2
},
"luminance": 0.08892
}Semantic roles & 50–950 ramp
primary
#2C5395
secondary
#B99964
accent
#A74ADE
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80