#3C4E98#3C4E98
#3C4E98 is a dark, vivid blue. Relative luminance 0.087; OKLCH L 44.9% C 0.122 H 270.5°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).
Color values
| HEX | #3C4E98 |
|---|---|
| RGB | rgb(60, 78, 152) |
| HSL | hsl(228, 43%, 42%) |
| HSV | hsv(228, 61%, 60%) |
| CMYK | cmyk(60.5%, 48.7%, 0%, 40.4%) |
| CIE-LAB | lab(35.35, 16.68, -42.80) |
| CIE-LCH | lch(35.35, 45.93, 291.29°) |
| OKLab | oklab(44.89% 0.0011 -0.1223) |
| OKLCH | oklch(44.89% 0.122 270.5) |
| XYZ | xyz(10.2535, 8.6756, 30.8339) |
| Luminance | 0.0868 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 4.50
Twilight
#4E518B
ΔE00 4.84
Denim Blue
#3B5B92
ΔE00 5.18
Cobalt
#0047AB
ΔE00 5.37
Blueberry
#464196
ΔE00 5.55
Dusk Blue
#26538D
ΔE00 5.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3C4E98 #98863C
analogous
#3C7C98 #3C4E98 #583C98
triadic
#3C4E98 #983C4E #4E983C
tetradic
#3C4E98 #983C7C #98863C #3C9858
square
#3C4E98 #983C7C #98863C #3C9858
split-complementary
#3C4E98 #98583C #7C983C
monochromatic
#192140 #2B376C #3C4E98 #5569BC #8190CD
Accessibility & contrast
On white
7.68
#3C4E98 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.74
#3C4E98 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3C4E98
7.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3C4E98 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3C4E98 | 1.00 | 7.68 | 2.74 | 7.68 |
| #FFFFFF | 7.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A579B
Deuteranopia (green-blind)
#1A4F96
Tritanopia (blue-blind)
#005F6B
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #3c4e98; /* rgb */ color: rgb(60, 78, 152); /* oklch */ color: oklch(44.9% 0.122 270.5);
Tailwind
colors: {
custom: {
50: '#7a7fb7',
500: '#3c4e98',
950: '#000000',
},
}SCSS
$custom: #3c4e98; $custom-light: #7a7fb7; $custom-dark: #000000;
JSON
{
"hex": "#3c4e98",
"rgb": {
"r": 60,
"g": 78,
"b": 152
},
"hsl": {
"h": 228.261,
"s": 43.396,
"l": 41.569
},
"oklch": {
"l": 0.44885,
"c": 0.12227,
"h": 270.5
},
"luminance": 0.08676
}Semantic roles & 50–950 ramp
primary
#3C4E98
secondary
#B7AB79
accent
#BA55D3
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#0A0A11
muted
#7C7C80