#3F4397#3F4397
#3F4397 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.8% C 0.135 H 277.0°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).
Color values
| HEX | #3F4397 |
|---|---|
| RGB | rgb(63, 67, 151) |
| HSL | hsl(237, 41%, 42%) |
| HSV | hsv(237, 58%, 59%) |
| CMYK | cmyk(58.3%, 55.6%, 0%, 40.8%) |
| CIE-LAB | lab(32.49, 24.17, -46.79) |
| CIE-LCH | lch(32.49, 52.66, 297.32°) |
| OKLab | oklab(42.76% 0.0164 -0.134) |
| OKLCH | oklch(42.76% 0.135 277) |
| XYZ | xyz(9.6412, 7.3048, 30.1741) |
| Luminance | 0.0731 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 1.71
Darkslateblue
#483D8B
ΔE00 3.68
Sapphire (survey)
#2138AB
ΔE00 5.33
Ocean Blue
#4F42B5
ΔE00 5.51
Twilight
#4E518B
ΔE00 6.04
Cobalt (survey)
#1E488F
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F4397 #97933F
analogous
#3F6F97 #3F4397 #673F97
triadic
#3F4397 #973F43 #43973F
tetradic
#3F4397 #973F6F #97933F #3F9767
square
#3F4397 #973F6F #97933F #3F9767
split-complementary
#3F4397 #97673F #6F973F
monochromatic
#1B1D41 #2D306C #3F4397 #595EBA #8588CC
Accessibility & contrast
On white
8.53
#3F4397 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.46
#3F4397 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F4397
8.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F4397 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F4397 | 1.00 | 8.53 | 2.46 | 8.53 |
| #FFFFFF | 8.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0B509A
Deuteranopia (green-blind)
#004995
Tritanopia (blue-blind)
#095666
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #3f4397; /* rgb */ color: rgb(63, 67, 151); /* oklch */ color: oklch(42.8% 0.135 277.0);
Tailwind
colors: {
custom: {
50: '#7c77b6',
500: '#3f4397',
950: '#000000',
},
}SCSS
$custom: #3f4397; $custom-light: #7c77b6; $custom-dark: #000000;
JSON
{
"hex": "#3f4397",
"rgb": {
"r": 63,
"g": 67,
"b": 151
},
"hsl": {
"h": 237.273,
"s": 41.121,
"l": 41.961
},
"oklch": {
"l": 0.42758,
"c": 0.13504,
"h": 277
},
"luminance": 0.07305
}Semantic roles & 50–950 ramp
primary
#3F4397
secondary
#B6B47C
accent
#CB57D1
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0811
muted
#7C7B80