#3F48AB#3F48AB
#3F48AB is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.3% C 0.157 H 274.4°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).
Color values
| HEX | #3F48AB |
|---|---|
| RGB | rgb(63, 72, 171) |
| HSL | hsl(235, 46%, 46%) |
| HSV | hsv(235, 63%, 67%) |
| CMYK | cmyk(63.2%, 57.9%, 0%, 32.9%) |
| CIE-LAB | lab(35.26, 27.87, -54.34) |
| CIE-LCH | lch(35.26, 61.07, 297.15°) |
| OKLab | oklab(45.29% 0.0119 -0.1562) |
| OKLCH | oklch(45.29% 0.157 274.4) |
| XYZ | xyz(11.7155, 8.6308, 39.5687) |
| Luminance | 0.0863 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 3.98
Blueberry
#464196
ΔE00 4.19
Blue Blue
#2242C7
ΔE00 4.55
Sapphire (survey)
#2138AB
ΔE00 5.14
Cobalt
#0047AB
ΔE00 5.48
Sapphire
#0F52BA
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F48AB #ABA23F
analogous
#3F7EAB #3F48AB #6C3FAB
triadic
#3F48AB #AB3F48 #48AB3F
tetradic
#3F48AB #AB3F7E #ABA23F #3FAB6C
square
#3F48AB #AB3F7E #ABA23F #3FAB6C
split-complementary
#3F48AB #AB6C3F #7EAB3F
monochromatic
#1E2252 #2F357E #3F48AB #626AC5 #8F95D6
Accessibility & contrast
On white
7.70
#3F48AB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.73
#3F48AB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F48AB
7.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F48AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F48AB | 1.00 | 7.70 | 2.73 | 7.70 |
| #FFFFFF | 7.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058AE
Deuteranopia (green-blind)
#004EA9
Tritanopia (blue-blind)
#006072
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #3f48ab; /* rgb */ color: rgb(63, 72, 171); /* oklch */ color: oklch(45.3% 0.157 274.4);
Tailwind
colors: {
custom: {
50: '#807bc5',
500: '#3f48ab',
950: '#000000',
},
}SCSS
$custom: #3f48ab; $custom-light: #807bc5; $custom-dark: #000000;
JSON
{
"hex": "#3f48ab",
"rgb": {
"r": 63,
"g": 72,
"b": 171
},
"hsl": {
"h": 235,
"s": 46.154,
"l": 45.882
},
"oklch": {
"l": 0.45293,
"c": 0.15666,
"h": 274.4
},
"luminance": 0.08632
}Semantic roles & 50–950 ramp
primary
#3F48AB
secondary
#C1BC85
accent
#CB52D6
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82