#3F4CCC#3F4CCC
#3F4CCC is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.8% C 0.196 H 272.3°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).
Color values
| HEX | #3F4CCC |
|---|---|
| RGB | rgb(63, 76, 204) |
| HSL | hsl(234, 58%, 52%) |
| HSV | hsv(234, 69%, 80%) |
| CMYK | cmyk(69.1%, 62.7%, 0%, 20%) |
| CIE-LAB | lab(38.87, 36.84, -67.84) |
| CIE-LCH | lch(38.87, 77.19, 298.50°) |
| OKLab | oklab(48.78% 0.008 -0.1958) |
| OKLCH | oklch(48.78% 0.196 272.3) |
| XYZ | xyz(15.5298, 10.5838, 58.3395) |
| Luminance | 0.1058 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.66
Blue (survey)
#0343DF
ΔE00 3.86
Warm Blue
#4B57DB
ΔE00 4.08
Ocean Blue
#4F42B5
ΔE00 4.95
Blue With A Hint Of Purple
#533CC6
ΔE00 5.50
Iris
#6258C4
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F4CCC #CCBF3F
analogous
#3F93CC #3F4CCC #783FCC
triadic
#3F4CCC #CC3F4C #4CCC3F
tetradic
#3F4CCC #CC3F93 #CCBF3F #3FCC78
square
#3F4CCC #CC3F93 #CCBF3F #3FCC78
split-complementary
#3F4CCC #CC783F #93CC3F
monochromatic
#1E2672 #2B36A3 #3F4CCC #6F79D9 #A0A6E6
Accessibility & contrast
On white
6.74
#3F4CCC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.12
#3F4CCC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3F4CCC
6.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F4CCC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F4CCC | 1.00 | 6.74 | 3.12 | 6.74 |
| #FFFFFF | 6.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062D0
Deuteranopia (green-blind)
#0055CA
Tritanopia (blue-blind)
#006D85
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #3f4ccc; /* rgb */ color: rgb(63, 76, 204); /* oklch */ color: oklch(48.8% 0.196 272.3);
Tailwind
colors: {
custom: {
50: '#867edd',
500: '#3f4ccc',
950: '#000000',
},
}SCSS
$custom: #3f4ccc; $custom-light: #867edd; $custom-dark: #000000;
JSON
{
"hex": "#3f4ccc",
"rgb": {
"r": 63,
"g": 76,
"b": 204
},
"hsl": {
"h": 234.468,
"s": 58.025,
"l": 52.353
},
"oklch": {
"l": 0.48777,
"c": 0.19598,
"h": 272.3
},
"luminance": 0.10585
}Semantic roles & 50–950 ramp
primary
#3F4CCC
secondary
#D2CC95
accent
#D347E1
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0D0A15
muted
#7D7C83