#3F458E#3F458E
#3F458E is a dark, moderate blue. Relative luminance 0.073; OKLCH L 42.5% C 0.119 H 276.5°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).
Color values
| HEX | #3F458E |
|---|---|
| RGB | rgb(63, 69, 142) |
| HSL | hsl(235, 39%, 40%) |
| HSV | hsv(235, 56%, 56%) |
| CMYK | cmyk(55.6%, 51.4%, 0%, 44.3%) |
| CIE-LAB | lab(32.40, 19.76, -41.43) |
| CIE-LCH | lch(32.40, 45.90, 295.49°) |
| OKLab | oklab(42.49% 0.0136 -0.1183) |
| OKLCH | oklch(42.49% 0.119 276.5) |
| XYZ | xyz(9.0590, 7.2654, 26.5109) |
| Luminance | 0.0727 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 2.81
Darkslateblue
#483D8B
ΔE00 3.87
Twilight
#4E518B
ΔE00 4.75
Cobalt (survey)
#1E488F
ΔE00 6.04
Sapphire (survey)
#2138AB
ΔE00 6.85
Dusk
#4E5481
ΔE00 6.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F458E #8E883F
analogous
#3F6C8E #3F458E #603F8E
triadic
#3F458E #8E3F45 #458E3F
tetradic
#3F458E #8E3F6C #8E883F #3F8E60
square
#3F458E #8E3F6C #8E883F #3F8E60
split-complementary
#3F458E #8E603F #6C8E3F
monochromatic
#191C39 #2C3064 #3F458E #565DB4 #8186C7
Accessibility & contrast
On white
8.56
#3F458E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.45
#3F458E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F458E
8.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F458E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F458E | 1.00 | 8.56 | 2.45 | 8.56 |
| #FFFFFF | 8.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#205091
Deuteranopia (green-blind)
#16498C
Tritanopia (blue-blind)
#195563
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #3f458e; /* rgb */ color: rgb(63, 69, 142); /* oklch */ color: oklch(42.5% 0.119 276.5);
Tailwind
colors: {
custom: {
50: '#7b78af',
500: '#3f458e',
950: '#000000',
},
}SCSS
$custom: #3f458e; $custom-light: #7b78af; $custom-dark: #000000;
JSON
{
"hex": "#3f458e",
"rgb": {
"r": 63,
"g": 69,
"b": 142
},
"hsl": {
"h": 235.443,
"s": 38.537,
"l": 40.196
},
"oklch": {
"l": 0.42493,
"c": 0.11904,
"h": 276.5
},
"luminance": 0.07266
}Semantic roles & 50–950 ramp
primary
#3F458E
secondary
#B1AD78
accent
#C659CE
background
#F7F7FA
surface
#EEEDF5
border
#C9C8CF
text
#0A0910
muted
#7C7B7F