#3F34B2#3F34B2
#3F34B2 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 42.5% C 0.190 H 278.5°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).
Color values
| HEX | #3F34B2 |
|---|---|
| RGB | rgb(63, 52, 178) |
| HSL | hsl(245, 55%, 45%) |
| HSV | hsv(245, 71%, 70%) |
| CMYK | cmyk(64.6%, 70.8%, 0%, 30.2%) |
| CIE-LAB | lab(31.18, 42.60, -65.19) |
| CIE-LCH | lch(31.18, 77.87, 303.16°) |
| OKLab | oklab(42.49% 0.028 -0.1881) |
| OKLCH | oklch(42.49% 0.19 278.5) |
| XYZ | xyz(11.3112, 6.7262, 42.8131) |
| Luminance | 0.0673 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.99
Ocean Blue
#4F42B5
ΔE00 4.07
Blue With A Hint Of Purple
#533CC6
ΔE00 4.35
Blurple
#5539CC
ΔE00 4.87
Indigo Blue
#3A18B1
ΔE00 5.54
Blue Blue
#2242C7
ΔE00 5.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F34B2 #A7B234
analogous
#3468B2 #3F34B2 #7E34B2
triadic
#3F34B2 #B23F34 #34B23F
tetradic
#3F34B2 #B23468 #A7B234 #34B27E
square
#3F34B2 #B23468 #A7B234 #34B27E
split-complementary
#3F34B2 #B27E34 #68B234
monochromatic
#1D1853 #2E2683 #3F34B2 #6056CE #8D85DB
Accessibility & contrast
On white
8.95
#3F34B2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.35
#3F34B2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F34B2
8.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F34B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F34B2 | 1.00 | 8.95 | 2.35 | 8.95 |
| #FFFFFF | 8.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004EB6
Deuteranopia (green-blind)
#0044B0
Tritanopia (blue-blind)
#00566F
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #3f34b2; /* rgb */ color: rgb(63, 52, 178); /* oklch */ color: oklch(42.5% 0.190 278.5);
Tailwind
colors: {
custom: {
50: '#836dca',
500: '#3f34b2',
950: '#000000',
},
}SCSS
$custom: #3f34b2; $custom-light: #836dca; $custom-dark: #000000;
JSON
{
"hex": "#3f34b2",
"rgb": {
"r": 63,
"g": 52,
"b": 178
},
"hsl": {
"h": 245.238,
"s": 54.783,
"l": 45.098
},
"oklch": {
"l": 0.4249,
"c": 0.19018,
"h": 278.5
},
"luminance": 0.06727
}Semantic roles & 50–950 ramp
primary
#3F34B2
secondary
#BFC57D
accent
#DE4AD1
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0713
muted
#7D7A82