#3F42C0#3F42C0
#3F42C0 is a mid, vivid blue. Relative luminance 0.088; OKLCH L 46.0% C 0.192 H 274.8°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).
Color values
| HEX | #3F42C0 |
|---|---|
| RGB | rgb(63, 66, 192) |
| HSL | hsl(239, 51%, 50%) |
| HSV | hsv(239, 67%, 75%) |
| CMYK | cmyk(67.2%, 65.6%, 0%, 24.7%) |
| CIE-LAB | lab(35.51, 38.90, -66.34) |
| CIE-LCH | lch(35.51, 76.90, 300.38°) |
| OKLab | oklab(46.01% 0.016 -0.1915) |
| OKLCH | oklch(46.01% 0.192 274.8) |
| XYZ | xyz(13.5094, 8.7577, 50.8374) |
| Luminance | 0.0876 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.66
Ocean Blue
#4F42B5
ΔE00 2.67
Blue With A Hint Of Purple
#533CC6
ΔE00 3.49
Blurple
#5539CC
ΔE00 4.32
Blue (survey)
#0343DF
ΔE00 4.46
Sapphire (survey)
#2138AB
ΔE00 4.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F42C0 #C0BD3F
analogous
#3F82C0 #3F42C0 #7D3FC0
triadic
#3F42C0 #C03F42 #42C03F
tetradic
#3F42C0 #C03F82 #C0BD3F #3FC07D
square
#3F42C0 #C03F82 #C0BD3F #3FC07D
split-complementary
#3F42C0 #C07D3F #82C03F
monochromatic
#212264 #303292 #3F42C0 #6D6FCF #9B9DDE
Accessibility & contrast
On white
7.63
#3F42C0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.75
#3F42C0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F42C0
7.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F42C0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F42C0 | 1.00 | 7.63 | 2.75 | 7.63 |
| #FFFFFF | 7.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059C4
Deuteranopia (green-blind)
#004EBE
Tritanopia (blue-blind)
#00637B
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #3f42c0; /* rgb */ color: rgb(63, 66, 192); /* oklch */ color: oklch(46.0% 0.192 274.8);
Tailwind
colors: {
custom: {
50: '#8477d4',
500: '#3f42c0',
950: '#000000',
},
}SCSS
$custom: #3f42c0; $custom-light: #8477d4; $custom-dark: #000000;
JSON
{
"hex": "#3f42c0",
"rgb": {
"r": 63,
"g": 66,
"b": 192
},
"hsl": {
"h": 238.605,
"s": 50.588,
"l": 50
},
"oklch": {
"l": 0.46008,
"c": 0.19215,
"h": 274.8
},
"luminance": 0.08759
}Semantic roles & 50–950 ramp
primary
#3F42C0
secondary
#CAC991
accent
#D74EDA
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0814
muted
#7D7B83