#3F309C#3F309C
#3F309C is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.8% C 0.167 H 282.0°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).
Color values
| HEX | #3F309C |
|---|---|
| RGB | rgb(63, 48, 156) |
| HSL | hsl(248, 53%, 40%) |
| HSV | hsv(248, 69%, 61%) |
| CMYK | cmyk(59.6%, 69.2%, 0%, 38.8%) |
| CIE-LAB | lab(28.30, 37.83, -56.65) |
| CIE-LCH | lch(28.30, 68.12, 303.74°) |
| OKLab | oklab(39.81% 0.0348 -0.1631) |
| OKLCH | oklch(39.81% 0.167 282) |
| XYZ | xyz(9.1057, 5.5704, 32.0414) |
| Luminance | 0.0557 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.89
Blueberry
#464196
ΔE00 5.16
Darkslateblue
#483D8B
ΔE00 5.25
Indigo Blue
#3A18B1
ΔE00 5.51
Ocean Blue
#4F42B5
ΔE00 6.07
Royal
#0C1793
ΔE00 7.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F309C #8D9C30
analogous
#30579C #3F309C #75309C
triadic
#3F309C #9C3F30 #309C3F
tetradic
#3F309C #9C3057 #8D9C30 #309C75
square
#3F309C #9C3057 #8D9C30 #309C75
split-complementary
#3F309C #9C7530 #579C30
monochromatic
#19133E #2C226D #3F309C #5644C5 #8073D4
Accessibility & contrast
On white
9.93
#3F309C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.11
#3F309C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F309C
9.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F309C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F309C | 1.00 | 9.93 | 2.11 | 9.93 |
| #FFFFFF | 9.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00469F
Deuteranopia (green-blind)
#003F9A
Tritanopia (blue-blind)
#024C62
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #3f309c; /* rgb */ color: rgb(63, 48, 156); /* oklch */ color: oklch(39.8% 0.167 282.0);
Tailwind
colors: {
custom: {
50: '#7f6aba',
500: '#3f309c',
950: '#000000',
},
}SCSS
$custom: #3f309c; $custom-light: #7f6aba; $custom-dark: #000000;
JSON
{
"hex": "#3f309c",
"rgb": {
"r": 63,
"g": 48,
"b": 156
},
"hsl": {
"h": 248.333,
"s": 52.941,
"l": 40
},
"oklch": {
"l": 0.3981,
"c": 0.16677,
"h": 282
},
"luminance": 0.05571
}Semantic roles & 50–950 ramp
primary
#3F309C
secondary
#B1BC6C
accent
#DC4BC8
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0612
muted
#7C7A81