#3F45C2#3F45C2
#3F45C2 is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.7% C 0.191 H 274.1°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).
Color values
| HEX | #3F45C2 |
|---|---|
| RGB | rgb(63, 69, 194) |
| HSL | hsl(237, 52%, 50%) |
| HSV | hsv(237, 68%, 76%) |
| CMYK | cmyk(67.5%, 64.4%, 0%, 23.9%) |
| CIE-LAB | lab(36.38, 37.73, -66.09) |
| CIE-LCH | lch(36.38, 76.11, 299.72°) |
| OKLab | oklab(46.69% 0.0137 -0.1907) |
| OKLCH | oklch(46.69% 0.191 274.1) |
| XYZ | xyz(13.9124, 9.2068, 52.0724) |
| Luminance | 0.0921 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.58
Ocean Blue
#4F42B5
ΔE00 3.07
Blue With A Hint Of Purple
#533CC6
ΔE00 3.97
Blue (survey)
#0343DF
ΔE00 4.16
Blurple
#5539CC
ΔE00 4.78
Bluey Purple
#6241C7
ΔE00 5.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F45C2 #C2BC3F
analogous
#3F86C2 #3F45C2 #7A3FC2
triadic
#3F45C2 #C23F45 #45C23F
tetradic
#3F45C2 #C23F86 #C2BC3F #3FC27A
square
#3F45C2 #C23F86 #C2BC3F #3FC27A
split-complementary
#3F45C2 #C27A3F #86C23F
monochromatic
#202466 #2F3495 #3F45C2 #6D72D1 #9C9FE0
Accessibility & contrast
On white
7.39
#3F45C2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.84
#3F45C2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F45C2
7.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F45C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F45C2 | 1.00 | 7.39 | 2.84 | 7.39 |
| #FFFFFF | 7.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CC6
Deuteranopia (green-blind)
#0050C0
Tritanopia (blue-blind)
#00657D
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #3f45c2; /* rgb */ color: rgb(63, 69, 194); /* oklch */ color: oklch(46.7% 0.191 274.1);
Tailwind
colors: {
custom: {
50: '#8479d5',
500: '#3f45c2',
950: '#000000',
},
}SCSS
$custom: #3f45c2; $custom-light: #8479d5; $custom-dark: #000000;
JSON
{
"hex": "#3f45c2",
"rgb": {
"r": 63,
"g": 69,
"b": 194
},
"hsl": {
"h": 237.252,
"s": 51.779,
"l": 50.392
},
"oklch": {
"l": 0.46692,
"c": 0.19124,
"h": 274.1
},
"luminance": 0.09208
}Semantic roles & 50–950 ramp
primary
#3F45C2
secondary
#CCC991
accent
#D54DDB
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0914
muted
#7D7B83