#3F38B2#3F38B2
#3F38B2 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 43.1% C 0.186 H 277.8°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).
Color values
| HEX | #3F38B2 |
|---|---|
| RGB | rgb(63, 56, 178) |
| HSL | hsl(243, 52%, 46%) |
| HSV | hsv(243, 69%, 70%) |
| CMYK | cmyk(64.6%, 68.5%, 0%, 30.2%) |
| CIE-LAB | lab(32.03, 40.25, -63.78) |
| CIE-LCH | lch(32.03, 75.42, 302.26°) |
| OKLab | oklab(43.1% 0.0251 -0.184) |
| OKLCH | oklch(43.1% 0.186 277.8) |
| XYZ | xyz(11.4974, 7.0985, 42.8751) |
| Luminance | 0.0710 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 3.28
Sapphire (survey)
#2138AB
ΔE00 3.61
Blue With A Hint Of Purple
#533CC6
ΔE00 4.08
Blurple
#5539CC
ΔE00 4.78
Blue Blue
#2242C7
ΔE00 4.83
Blueberry
#464196
ΔE00 5.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F38B2 #ABB238
analogous
#386EB2 #3F38B2 #7C38B2
triadic
#3F38B2 #B23F38 #38B23F
tetradic
#3F38B2 #B2386E #ABB238 #38B27C
square
#3F38B2 #B2386E #ABB238 #38B27C
split-complementary
#3F38B2 #B27C38 #6EB238
monochromatic
#1E1B55 #2F2983 #3F38B2 #625CCC #8F8ADA
Accessibility & contrast
On white
8.68
#3F38B2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.42
#3F38B2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F38B2
8.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F38B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F38B2 | 1.00 | 8.68 | 2.42 | 8.68 |
| #FFFFFF | 8.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0050B6
Deuteranopia (green-blind)
#0046B0
Tritanopia (blue-blind)
#005870
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #3f38b2; /* rgb */ color: rgb(63, 56, 178); /* oklch */ color: oklch(43.1% 0.186 277.8);
Tailwind
colors: {
custom: {
50: '#8270ca',
500: '#3f38b2',
950: '#000000',
},
}SCSS
$custom: #3f38b2; $custom-light: #8270ca; $custom-dark: #000000;
JSON
{
"hex": "#3f38b2",
"rgb": {
"r": 63,
"g": 56,
"b": 178
},
"hsl": {
"h": 243.443,
"s": 52.137,
"l": 45.882
},
"oklch": {
"l": 0.43103,
"c": 0.18571,
"h": 277.8
},
"luminance": 0.07099
}Semantic roles & 50–950 ramp
primary
#3F38B2
secondary
#C1C581
accent
#DC4CD3
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0713
muted
#7D7A82