#3F52BA#3F52BA
#3F52BA is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.4% C 0.165 H 271.1°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).
Color values
| HEX | #3F52BA |
|---|---|
| RGB | rgb(63, 82, 186) |
| HSL | hsl(231, 49%, 49%) |
| HSV | hsv(231, 66%, 73%) |
| CMYK | cmyk(66.1%, 55.9%, 0%, 27.1%) |
| CIE-LAB | lab(38.96, 26.71, -57.21) |
| CIE-LCH | lch(38.96, 63.13, 295.02°) |
| OKLab | oklab(48.4% 0.0032 -0.1645) |
| OKLCH | oklch(48.4% 0.165 271.1) |
| XYZ | xyz(13.9271, 10.6353, 47.7637) |
| Luminance | 0.1064 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 4.54
Warm Blue
#4B57DB
ΔE00 5.16
Blue Blue
#2242C7
ΔE00 5.25
Iris
#6258C4
ΔE00 6.00
Cobalt
#0047AB
ΔE00 6.01
Ocean Blue
#4F42B5
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F52BA #BAA73F
analogous
#3F90BA #3F52BA #6A3FBA
triadic
#3F52BA #BA3F52 #52BA3F
tetradic
#3F52BA #BA3F90 #BAA73F #3FBA6A
square
#3F52BA #BA3F90 #BAA73F #3FBA6A
split-complementary
#3F52BA #BA6A3F #90BA3F
monochromatic
#202A5F #303E8C #3F52BA #6A79CC #97A2DC
Accessibility & contrast
On white
6.71
#3F52BA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.13
#3F52BA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3F52BA
6.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F52BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F52BA | 1.00 | 6.71 | 3.13 | 6.71 |
| #FFFFFF | 6.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061BE
Deuteranopia (green-blind)
#0056B8
Tritanopia (blue-blind)
#006B7E
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #3f52ba; /* rgb */ color: rgb(63, 82, 186); /* oklch */ color: oklch(48.4% 0.165 271.1);
Tailwind
colors: {
custom: {
50: '#8282cf',
500: '#3f52ba',
950: '#000000',
},
}SCSS
$custom: #3f52ba; $custom-light: #8282cf; $custom-dark: #000000;
JSON
{
"hex": "#3f52ba",
"rgb": {
"r": 63,
"g": 82,
"b": 186
},
"hsl": {
"h": 230.732,
"s": 49.398,
"l": 48.824
},
"oklch": {
"l": 0.48404,
"c": 0.16456,
"h": 271.1
},
"luminance": 0.10637
}Semantic roles & 50–950 ramp
primary
#3F52BA
secondary
#C8BF8D
accent
#C44FD9
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0C0A14
muted
#7D7C82