#2C518F#2C518F
#2C518F is a dark, moderate blue. Relative luminance 0.084; OKLCH L 44.1% C 0.111 H 260.1°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).
Color values
| HEX | #2C518F |
|---|---|
| RGB | rgb(44, 81, 143) |
| HSL | hsl(218, 53%, 37%) |
| HSV | hsv(218, 69%, 56%) |
| CMYK | cmyk(69.2%, 43.4%, 0%, 43.9%) |
| CIE-LAB | lab(34.81, 8.37, -38.26) |
| CIE-LCH | lch(34.81, 39.16, 282.34°) |
| OKLab | oklab(44.06% -0.019 -0.1092) |
| OKLCH | oklch(44.06% 0.111 260.1) |
| XYZ | xyz(8.9373, 8.4026, 27.1321) |
| Luminance | 0.0840 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk Blue
#26538D
ΔE00 1.63
Cobalt (survey)
#1E488F
ΔE00 2.95
Denim Blue
#3B5B92
ΔE00 3.45
Light Navy
#155084
ΔE00 3.89
Light Navy Blue
#2E5A88
ΔE00 3.96
Cobalt
#0047AB
ΔE00 5.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C518F #8F6A2C
analogous
#2C838F #2C518F #392C8F
triadic
#2C518F #8F2C51 #518F2C
tetradic
#2C518F #8F2C83 #8F6A2C #2C8F39
square
#2C518F #8F2C83 #8F6A2C #2C8F39
split-complementary
#2C518F #8F392C #838F2C
monochromatic
#0F1C31 #1E3660 #2C518F #3A6CBE #668DD0
Accessibility & contrast
On white
7.83
#2C518F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.68
#2C518F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C518F
7.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C518F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C518F | 1.00 | 7.83 | 2.68 | 7.83 |
| #FFFFFF | 7.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#345791
Deuteranopia (green-blind)
#244E8E
Tritanopia (blue-blind)
#005F69
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #2c518f; /* rgb */ color: rgb(44, 81, 143); /* oklch */ color: oklch(44.1% 0.111 260.1);
Tailwind
colors: {
custom: {
50: '#7181b0',
500: '#2c518f',
950: '#000000',
},
}SCSS
$custom: #2c518f; $custom-light: #7181b0; $custom-dark: #000000;
JSON
{
"hex": "#2c518f",
"rgb": {
"r": 44,
"g": 81,
"b": 143
},
"hsl": {
"h": 217.576,
"s": 52.941,
"l": 36.667
},
"oklch": {
"l": 0.44056,
"c": 0.11084,
"h": 260.1
},
"luminance": 0.08404
}Semantic roles & 50–950 ramp
primary
#2C518F
secondary
#B69661
accent
#A64BDC
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#080A10
muted
#7B7C7F