#3F4E9E#3F4E9E
#3F4E9E is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.5% C 0.130 H 272.2°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).
Color values
| HEX | #3F4E9E |
|---|---|
| RGB | rgb(63, 78, 158) |
| HSL | hsl(231, 43%, 43%) |
| HSV | hsv(231, 60%, 62%) |
| CMYK | cmyk(60.1%, 50.6%, 0%, 38%) |
| CIE-LAB | lab(35.93, 19.40, -45.47) |
| CIE-LCH | lch(35.93, 49.44, 293.10°) |
| OKLab | oklab(45.5% 0.0051 -0.1301) |
| OKLCH | oklch(45.5% 0.13 272.2) |
| XYZ | xyz(10.9438, 8.9733, 33.4964) |
| Luminance | 0.0897 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 5.07
Blueberry
#464196
ΔE00 5.10
Cobalt (survey)
#1E488F
ΔE00 5.32
Cobalt
#0047AB
ΔE00 5.45
Denim Blue
#3B5B92
ΔE00 5.75
Sapphire
#0F52BA
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F4E9E #9E8F3F
analogous
#3F7D9E #3F4E9E #5F3F9E
triadic
#3F4E9E #9E3F4E #4E9E3F
tetradic
#3F4E9E #9E3F7D #9E8F3F #3F9E5F
square
#3F4E9E #9E3F7D #9E8F3F #3F9E5F
split-complementary
#3F4E9E #9E5F3F #7D9E3F
monochromatic
#1C2346 #2E3872 #3F4E9E #5C6CBE #8893D0
Accessibility & contrast
On white
7.51
#3F4E9E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.79
#3F4E9E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F4E9E
7.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F4E9E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F4E9E | 1.00 | 7.51 | 2.79 | 7.51 |
| #FFFFFF | 7.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2459A1
Deuteranopia (green-blind)
#12519C
Tritanopia (blue-blind)
#00606E
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #3f4e9e; /* rgb */ color: rgb(63, 78, 158); /* oklch */ color: oklch(45.5% 0.130 272.2);
Tailwind
colors: {
custom: {
50: '#7d7fbb',
500: '#3f4e9e',
950: '#000000',
},
}SCSS
$custom: #3f4e9e; $custom-light: #7d7fbb; $custom-dark: #000000;
JSON
{
"hex": "#3f4e9e",
"rgb": {
"r": 63,
"g": 78,
"b": 158
},
"hsl": {
"h": 230.526,
"s": 42.986,
"l": 43.333
},
"oklch": {
"l": 0.45502,
"c": 0.13016,
"h": 272.2
},
"luminance": 0.08974
}Semantic roles & 50–950 ramp
primary
#3F4E9E
secondary
#BAB17F
accent
#BF55D3
background
#F8F7FB
surface
#EFEEF6
border
#CAC9D0
text
#0A0A12
muted
#7C7C81