#3F4878#3F4878
#3F4878 is a dark, moderate blue. Relative luminance 0.070; OKLCH L 41.7% C 0.081 H 274.3°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).
Color values
| HEX | #3F4878 |
|---|---|
| RGB | rgb(63, 72, 120) |
| HSL | hsl(231, 31%, 36%) |
| HSV | hsv(231, 48%, 47%) |
| CMYK | cmyk(47.5%, 40%, 0%, 52.9%) |
| CIE-LAB | lab(31.91, 10.35, -28.59) |
| CIE-LCH | lch(31.91, 30.41, 289.90°) |
| OKLab | oklab(41.69% 0.0061 -0.0806) |
| OKLCH | oklch(41.69% 0.081 274.3) |
| XYZ | xyz(7.7564, 7.0471, 18.7172) |
| Luminance | 0.0705 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk
#4E5481
ΔE00 4.35
Twilight
#4E518B
ΔE00 4.39
Darkslateblue
#483D8B
ΔE00 6.85
Blueberry
#464196
ΔE00 7.01
Cobalt (survey)
#1E488F
ΔE00 7.18
Denim Blue
#3B5B92
ΔE00 8.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F4878 #786F3F
analogous
#3F6478 #3F4878 #523F78
triadic
#3F4878 #783F48 #48783F
tetradic
#3F4878 #783F64 #786F3F #3F7852
square
#3F4878 #783F64 #786F3F #3F7852
split-complementary
#3F4878 #78523F #64783F
monochromatic
#151828 #2A3050 #3F4878 #5460A0 #7983B9
Accessibility & contrast
On white
8.72
#3F4878 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.41
#3F4878 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F4878
8.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F4878 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F4878 | 1.00 | 8.72 | 2.41 | 8.72 |
| #FFFFFF | 8.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#364E7A
Deuteranopia (green-blind)
#314977
Tritanopia (blue-blind)
#2B525A
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #3f4878; /* rgb */ color: rgb(63, 72, 120); /* oklch */ color: oklch(41.7% 0.081 274.3);
Tailwind
colors: {
custom: {
50: '#777a9f',
500: '#3f4878',
950: '#000000',
},
}SCSS
$custom: #3f4878; $custom-light: #777a9f; $custom-dark: #000000;
JSON
{
"hex": "#3f4878",
"rgb": {
"r": 63,
"g": 72,
"b": 120
},
"hsl": {
"h": 230.526,
"s": 31.148,
"l": 35.882
},
"oklch": {
"l": 0.41687,
"c": 0.08085,
"h": 274.3
},
"luminance": 0.07048
}Semantic roles & 50–950 ramp
primary
#3F4878
secondary
#A39B70
accent
#B760C7
background
#F7F7F9
surface
#EDEDF2
border
#C8C8CC
text
#09090E
muted
#7B7B7E