#3F458D#3F458D
#3F458D is a dark, moderate blue. Relative luminance 0.072; OKLCH L 42.4% C 0.118 H 276.6°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).
Color values
| HEX | #3F458D |
|---|---|
| RGB | rgb(63, 69, 141) |
| HSL | hsl(235, 38%, 40%) |
| HSV | hsv(235, 55%, 55%) |
| CMYK | cmyk(55.3%, 51.1%, 0%, 44.7%) |
| CIE-LAB | lab(32.34, 19.41, -40.93) |
| CIE-LCH | lch(32.34, 45.30, 295.38°) |
| OKLab | oklab(42.42% 0.0135 -0.1168) |
| OKLCH | oklch(42.42% 0.118 276.6) |
| XYZ | xyz(8.9842, 7.2355, 26.1173) |
| Luminance | 0.0724 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 2.92
Darkslateblue
#483D8B
ΔE00 3.88
Twilight
#4E518B
ΔE00 4.68
Cobalt (survey)
#1E488F
ΔE00 6.06
Dusk
#4E5481
ΔE00 6.79
Sapphire (survey)
#2138AB
ΔE00 6.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F458D #8D873F
analogous
#3F6C8D #3F458D #603F8D
triadic
#3F458D #8D3F45 #458D3F
tetradic
#3F458D #8D3F6C #8D873F #3F8D60
square
#3F458D #8D3F6C #8D873F #3F8D60
split-complementary
#3F458D #8D603F #6C8D3F
monochromatic
#191C38 #2C3063 #3F458D #565DB3 #8085C6
Accessibility & contrast
On white
8.58
#3F458D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.45
#3F458D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F458D
8.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F458D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F458D | 1.00 | 8.58 | 2.45 | 8.58 |
| #FFFFFF | 8.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#224F90
Deuteranopia (green-blind)
#17498B
Tritanopia (blue-blind)
#1A5562
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #3f458d; /* rgb */ color: rgb(63, 69, 141); /* oklch */ color: oklch(42.4% 0.118 276.6);
Tailwind
colors: {
custom: {
50: '#7a78af',
500: '#3f458d',
950: '#000000',
},
}SCSS
$custom: #3f458d; $custom-light: #7a78af; $custom-dark: #000000;
JSON
{
"hex": "#3f458d",
"rgb": {
"r": 63,
"g": 69,
"b": 141
},
"hsl": {
"h": 235.385,
"s": 38.235,
"l": 40
},
"oklch": {
"l": 0.42422,
"c": 0.11755,
"h": 276.6
},
"luminance": 0.07236
}Semantic roles & 50–950 ramp
primary
#3F458D
secondary
#B1AC77
accent
#C55ACE
background
#F7F7FA
surface
#EEEDF4
border
#C9C8CE
text
#0A0910
muted
#7C7B7F