#3F45C6#3F45C6
#3F45C6 is a mid, vivid blue. Relative luminance 0.094; OKLCH L 47.0% C 0.196 H 273.9°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).
Color values
| HEX | #3F45C6 |
|---|---|
| RGB | rgb(63, 69, 198) |
| HSL | hsl(237, 54%, 51%) |
| HSV | hsv(237, 68%, 78%) |
| CMYK | cmyk(68.2%, 65.2%, 0%, 22.4%) |
| CIE-LAB | lab(36.72, 39.10, -67.87) |
| CIE-LCH | lch(36.72, 78.32, 299.95°) |
| OKLab | oklab(47.05% 0.0134 -0.196) |
| OKLCH | oklch(47.05% 0.196 273.9) |
| XYZ | xyz(14.3677, 9.3889, 54.4702) |
| Luminance | 0.0939 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.61
Ocean Blue
#4F42B5
ΔE00 3.34
Blue (survey)
#0343DF
ΔE00 3.80
Blue With A Hint Of Purple
#533CC6
ΔE00 3.84
Blurple
#5539CC
ΔE00 4.57
Bluey Purple
#6241C7
ΔE00 5.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F45C6 #C6C03F
analogous
#3F88C6 #3F45C6 #7C3FC6
triadic
#3F45C6 #C63F45 #45C63F
tetradic
#3F45C6 #C63F88 #C6C03F #3FC67C
square
#3F45C6 #C63F88 #C6C03F #3FC67C
split-complementary
#3F45C6 #C67C3F #88C63F
monochromatic
#20236B #2E339A #3F45C6 #6E73D4 #9DA0E2
Accessibility & contrast
On white
7.30
#3F45C6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.88
#3F45C6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F45C6
7.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F45C6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F45C6 | 1.00 | 7.30 | 2.88 | 7.30 |
| #FFFFFF | 7.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DCA
Deuteranopia (green-blind)
#0050C4
Tritanopia (blue-blind)
#00677F
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #3f45c6; /* rgb */ color: rgb(63, 69, 198); /* oklch */ color: oklch(47.0% 0.196 273.9);
Tailwind
colors: {
custom: {
50: '#8579d8',
500: '#3f45c6',
950: '#000000',
},
}SCSS
$custom: #3f45c6; $custom-light: #8579d8; $custom-dark: #000000;
JSON
{
"hex": "#3f45c6",
"rgb": {
"r": 63,
"g": 69,
"b": 198
},
"hsl": {
"h": 237.333,
"s": 54.217,
"l": 51.176
},
"oklch": {
"l": 0.47048,
"c": 0.1964,
"h": 273.9
},
"luminance": 0.0939
}Semantic roles & 50–950 ramp
primary
#3F45C6
secondary
#CECC93
accent
#D74ADE
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0C0915
muted
#7D7B83