#2C5191#2C5191
#2C5191 is a dark, moderate blue. Relative luminance 0.085; OKLCH L 44.2% C 0.114 H 260.6°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).
Color values
| HEX | #2C5191 |
|---|---|
| RGB | rgb(44, 81, 145) |
| HSL | hsl(218, 53%, 37%) |
| HSV | hsv(218, 70%, 57%) |
| CMYK | cmyk(69.7%, 44.1%, 0%, 43.1%) |
| CIE-LAB | lab(34.93, 9.13, -39.28) |
| CIE-LCH | lch(34.93, 40.32, 283.08°) |
| OKLab | oklab(44.19% -0.0186 -0.1122) |
| OKLCH | oklch(44.19% 0.114 260.6) |
| XYZ | xyz(9.0901, 8.4637, 27.9372) |
| Luminance | 0.0847 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk Blue
#26538D
ΔE00 1.79
Cobalt (survey)
#1E488F
ΔE00 2.93
Denim Blue
#3B5B92
ΔE00 3.44
Light Navy Blue
#2E5A88
ΔE00 4.07
Light Navy
#155084
ΔE00 4.08
Cobalt
#0047AB
ΔE00 4.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C5191 #916C2C
analogous
#2C8491 #2C5191 #3A2C91
triadic
#2C5191 #912C51 #51912C
tetradic
#2C5191 #912C84 #916C2C #2C913A
square
#2C5191 #912C84 #916C2C #2C913A
split-complementary
#2C5191 #913A2C #84912C
monochromatic
#101D33 #1E3762 #2C5191 #3A6BC0 #678ED1
Accessibility & contrast
On white
7.80
#2C5191 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.69
#2C5191 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C5191
7.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C5191 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C5191 | 1.00 | 7.80 | 2.69 | 7.80 |
| #FFFFFF | 7.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#325793
Deuteranopia (green-blind)
#214E90
Tritanopia (blue-blind)
#00606A
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #2c5191; /* rgb */ color: rgb(44, 81, 145); /* oklch */ color: oklch(44.2% 0.114 260.6);
Tailwind
colors: {
custom: {
50: '#7181b2',
500: '#2c5191',
950: '#000000',
},
}SCSS
$custom: #2c5191; $custom-light: #7181b2; $custom-dark: #000000;
JSON
{
"hex": "#2c5191",
"rgb": {
"r": 44,
"g": 81,
"b": 145
},
"hsl": {
"h": 218.02,
"s": 53.439,
"l": 37.059
},
"oklch": {
"l": 0.44191,
"c": 0.11372,
"h": 260.6
},
"luminance": 0.08465
}Semantic roles & 50–950 ramp
primary
#2C5191
secondary
#B79862
accent
#A74BDD
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80