#3C418F#3C418F
#3C418F is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.5% C 0.127 H 276.6°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).
Color values
| HEX | #3C418F |
|---|---|
| RGB | rgb(60, 65, 143) |
| HSL | hsl(236, 41%, 40%) |
| HSV | hsv(236, 58%, 56%) |
| CMYK | cmyk(58%, 54.5%, 0%, 43.9%) |
| CIE-LAB | lab(31.17, 22.11, -44.04) |
| CIE-LCH | lch(31.17, 49.28, 296.65°) |
| OKLab | oklab(41.53% 0.0146 -0.1261) |
| OKLCH | oklch(41.53% 0.127 276.6) |
| XYZ | xyz(8.7101, 6.7238, 26.8201) |
| Luminance | 0.0672 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 2.25
Darkslateblue
#483D8B
ΔE00 3.31
Sapphire (survey)
#2138AB
ΔE00 5.81
Twilight
#4E518B
ΔE00 6.05
Cobalt (survey)
#1E488F
ΔE00 6.35
Ocean Blue
#4F42B5
ΔE00 6.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3C418F #8F8A3C
analogous
#3C6A8F #3C418F #613C8F
triadic
#3C418F #8F3C41 #418F3C
tetradic
#3C418F #8F3C6A #8F8A3C #3C8F61
square
#3C418F #8F3C6A #8F8A3C #3C8F61
split-complementary
#3C418F #8F613C #6A8F3C
monochromatic
#181A39 #2A2D64 #3C418F #5258B6 #7D82C8
Accessibility & contrast
On white
8.96
#3C418F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.34
#3C418F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3C418F
8.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3C418F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3C418F | 1.00 | 8.96 | 2.34 | 8.96 |
| #FFFFFF | 8.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#124D92
Deuteranopia (green-blind)
#00468D
Tritanopia (blue-blind)
#0C5361
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #3c418f; /* rgb */ color: rgb(60, 65, 143); /* oklch */ color: oklch(41.5% 0.127 276.6);
Tailwind
colors: {
custom: {
50: '#7975b0',
500: '#3c418f',
950: '#000000',
},
}SCSS
$custom: #3c418f; $custom-light: #7975b0; $custom-dark: #000000;
JSON
{
"hex": "#3c418f",
"rgb": {
"r": 60,
"g": 65,
"b": 143
},
"hsl": {
"h": 236.386,
"s": 40.887,
"l": 39.804
},
"oklch": {
"l": 0.41531,
"c": 0.12691,
"h": 276.6
},
"luminance": 0.06724
}Semantic roles & 50–950 ramp
primary
#3C418F
secondary
#B2AE75
accent
#C957D1
background
#F7F7FA
surface
#EEEDF5
border
#C9C8CF
text
#0A0810
muted
#7C7B7F