#3B478C#3B478C
#3B478C is a dark, moderate blue. Relative luminance 0.073; OKLCH L 42.5% C 0.114 H 273.2°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).
Color values
| HEX | #3B478C |
|---|---|
| RGB | rgb(59, 71, 140) |
| HSL | hsl(231, 41%, 39%) |
| HSV | hsv(231, 58%, 55%) |
| CMYK | cmyk(57.9%, 49.3%, 0%, 45.1%) |
| CIE-LAB | lab(32.54, 16.86, -39.99) |
| CIE-LCH | lch(32.54, 43.40, 292.85°) |
| OKLab | oklab(42.49% 0.0063 -0.1141) |
| OKLCH | oklch(42.49% 0.114 273.2) |
| XYZ | xyz(8.7890, 7.3291, 25.7574) |
| Luminance | 0.0733 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 4.14
Twilight
#4E518B
ΔE00 4.65
Cobalt (survey)
#1E488F
ΔE00 4.86
Darkslateblue
#483D8B
ΔE00 5.21
Dusk
#4E5481
ΔE00 6.48
Cobalt
#0047AB
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3B478C #8C803B
analogous
#3B708C #3B478C #583B8C
triadic
#3B478C #8C3B47 #478C3B
tetradic
#3B478C #8C3B70 #8C803B #3B8C58
square
#3B478C #8C3B70 #8C803B #3B8C58
split-complementary
#3B478C #8C583B #708C3B
monochromatic
#171B36 #293161 #3B478C #4F5EB5 #7A86C7
Accessibility & contrast
On white
8.52
#3B478C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.47
#3B478C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3B478C
8.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3B478C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3B478C | 1.00 | 8.52 | 2.47 | 8.52 |
| #FFFFFF | 8.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#26508F
Deuteranopia (green-blind)
#1A498B
Tritanopia (blue-blind)
#0B5663
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #3b478c; /* rgb */ color: rgb(59, 71, 140); /* oklch */ color: oklch(42.5% 0.114 273.2);
Tailwind
colors: {
custom: {
50: '#787aae',
500: '#3b478c',
950: '#000000',
},
}SCSS
$custom: #3b478c; $custom-light: #787aae; $custom-dark: #000000;
JSON
{
"hex": "#3b478c",
"rgb": {
"r": 59,
"g": 71,
"b": 140
},
"hsl": {
"h": 231.111,
"s": 40.704,
"l": 39.02
},
"oklch": {
"l": 0.42485,
"c": 0.11429,
"h": 273.2
},
"luminance": 0.0733
}Semantic roles & 50–950 ramp
primary
#3B478C
secondary
#B1A772
accent
#BF57D1
background
#F7F7FA
surface
#EEEDF4
border
#C9C8CE
text
#090910
muted
#7B7B7F