#2C5195#2C5195
#2C5195 is a dark, moderate blue. Relative luminance 0.086; OKLCH L 44.5% C 0.119 H 261.4°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).
Color values
| HEX | #2C5195 |
|---|---|
| RGB | rgb(44, 81, 149) |
| HSL | hsl(219, 54%, 38%) |
| HSV | hsv(219, 70%, 58%) |
| CMYK | cmyk(70.5%, 45.6%, 0%, 41.6%) |
| CIE-LAB | lab(35.18, 10.65, -41.30) |
| CIE-LCH | lch(35.18, 42.65, 284.46°) |
| OKLab | oklab(44.47% -0.0178 -0.1181) |
| OKLCH | oklch(44.47% 0.119 261.4) |
| XYZ | xyz(9.4040, 8.5893, 29.5902) |
| Luminance | 0.0859 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk Blue
#26538D
ΔE00 2.16
Cobalt (survey)
#1E488F
ΔE00 2.98
Denim Blue
#3B5B92
ΔE00 3.49
Light Navy Blue
#2E5A88
ΔE00 4.32
Light Navy
#155084
ΔE00 4.46
Cobalt
#0047AB
ΔE00 4.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C5195 #95702C
analogous
#2C8595 #2C5195 #3B2C95
triadic
#2C5195 #952C51 #51952C
tetradic
#2C5195 #952C85 #95702C #2C953B
square
#2C5195 #952C85 #95702C #2C953B
split-complementary
#2C5195 #953B2C #85952C
monochromatic
#101E37 #1E3766 #2C5195 #3A6BC4 #698ED3
Accessibility & contrast
On white
7.73
#2C5195 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.72
#2C5195 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C5195
7.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C5195 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C5195 | 1.00 | 7.73 | 2.72 | 7.73 |
| #FFFFFF | 7.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F5898
Deuteranopia (green-blind)
#1C4E94
Tritanopia (blue-blind)
#00616B
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #2c5195; /* rgb */ color: rgb(44, 81, 149); /* oklch */ color: oklch(44.5% 0.119 261.4);
Tailwind
colors: {
custom: {
50: '#7281b4',
500: '#2c5195',
950: '#000000',
},
}SCSS
$custom: #2c5195; $custom-light: #7281b4; $custom-dark: #000000;
JSON
{
"hex": "#2c5195",
"rgb": {
"r": 44,
"g": 81,
"b": 149
},
"hsl": {
"h": 218.857,
"s": 54.404,
"l": 37.843
},
"oklch": {
"l": 0.44465,
"c": 0.11949,
"h": 261.4
},
"luminance": 0.0859
}Semantic roles & 50–950 ramp
primary
#2C5195
secondary
#B99B64
accent
#AA4ADE
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80