#3C508F#3C508F
#3C508F is a dark, moderate blue. Relative luminance 0.087; OKLCH L 44.7% C 0.106 H 268.6°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).
Color values
| HEX | #3C508F |
|---|---|
| RGB | rgb(60, 80, 143) |
| HSL | hsl(226, 41%, 40%) |
| HSV | hsv(226, 58%, 56%) |
| CMYK | cmyk(58%, 44.1%, 0%, 43.9%) |
| CIE-LAB | lab(35.36, 12.18, -37.32) |
| CIE-LCH | lch(35.36, 39.26, 288.07°) |
| OKLab | oklab(44.71% -0.0026 -0.1061) |
| OKLCH | oklch(44.71% 0.106 268.6) |
| XYZ | xyz(9.6884, 8.6804, 27.1462) |
| Luminance | 0.0868 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim Blue
#3B5B92
ΔE00 4.25
Twilight
#4E518B
ΔE00 4.37
Cobalt (survey)
#1E488F
ΔE00 4.40
Dusk Blue
#26538D
ΔE00 4.76
Dusky Blue
#475F94
ΔE00 5.02
Dusk
#4E5481
ΔE00 5.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3C508F #8F7B3C
analogous
#3C7A8F #3C508F #513C8F
triadic
#3C508F #8F3C50 #508F3C
tetradic
#3C508F #8F3C7A #8F7B3C #3C8F51
square
#3C508F #8F3C7A #8F7B3C #3C8F51
split-complementary
#3C508F #8F513C #7A8F3C
monochromatic
#182039 #2A3864 #3C508F #526AB6 #7D8FC8
Accessibility & contrast
On white
7.67
#3C508F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.74
#3C508F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3C508F
7.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3C508F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3C508F | 1.00 | 7.67 | 2.74 | 7.67 |
| #FFFFFF | 7.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#355791
Deuteranopia (green-blind)
#2A508E
Tritanopia (blue-blind)
#055E68
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #3c508f; /* rgb */ color: rgb(60, 80, 143); /* oklch */ color: oklch(44.7% 0.106 268.6);
Tailwind
colors: {
custom: {
50: '#7980b0',
500: '#3c508f',
950: '#000000',
},
}SCSS
$custom: #3c508f; $custom-light: #7980b0; $custom-dark: #000000;
JSON
{
"hex": "#3c508f",
"rgb": {
"r": 60,
"g": 80,
"b": 143
},
"hsl": {
"h": 225.542,
"s": 40.887,
"l": 39.804
},
"oklch": {
"l": 0.44711,
"c": 0.10618,
"h": 268.6
},
"luminance": 0.08681
}Semantic roles & 50–950 ramp
primary
#3C508F
secondary
#B2A375
accent
#B357D1
background
#F7F7FA
surface
#EEEEF5
border
#C9C9CF
text
#090A10
muted
#7B7C7F