#4F52BC#4F52BC
#4F52BC is a mid, vivid blue. Relative luminance 0.113; OKLCH L 49.6% C 0.163 H 277.4°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).
Color values
| HEX | #4F52BC |
|---|---|
| RGB | rgb(79, 82, 188) |
| HSL | hsl(238, 45%, 52%) |
| HSV | hsv(238, 58%, 74%) |
| CMYK | cmyk(58%, 56.4%, 0%, 26.3%) |
| CIE-LAB | lab(40.13, 30.17, -56.44) |
| CIE-LCH | lch(40.13, 64.00, 298.12°) |
| OKLab | oklab(49.59% 0.0211 -0.1619) |
| OKLCH | oklch(49.59% 0.163 277.4) |
| XYZ | xyz(15.3159, 11.3266, 48.9464) |
| Luminance | 0.1133 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 3.68
Warm Blue
#4B57DB
ΔE00 4.51
Ocean Blue
#4F42B5
ΔE00 4.93
Slate Blue
#6A5ACD
ΔE00 5.54
Dark Periwinkle
#665FD1
ΔE00 5.98
Light Indigo
#6D5ACF
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F52BC #BCB94F
analogous
#4F88BC #4F52BC #834FBC
triadic
#4F52BC #BC4F52 #52BC4F
tetradic
#4F52BC #BC4F88 #BCB94F #4FBC83
square
#4F52BC #BC4F88 #BCB94F #4FBC83
split-complementary
#4F52BC #BC834F #88BC4F
monochromatic
#282A69 #393B95 #4F52BC #7B7ECD #A8A9DE
Accessibility & contrast
On white
6.43
#4F52BC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.27
#4F52BC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4F52BC
6.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F52BC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F52BC | 1.00 | 6.43 | 3.27 | 6.43 |
| #FFFFFF | 6.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063C0
Deuteranopia (green-blind)
#005ABA
Tritanopia (blue-blind)
#066B7F
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #4f52bc; /* rgb */ color: rgb(79, 82, 188); /* oklch */ color: oklch(49.6% 0.163 277.4);
Tailwind
colors: {
custom: {
50: '#8a82d1',
500: '#4f52bc',
950: '#000000',
},
}SCSS
$custom: #4f52bc; $custom-light: #8a82d1; $custom-dark: #000000;
JSON
{
"hex": "#4f52bc",
"rgb": {
"r": 79,
"g": 82,
"b": 188
},
"hsl": {
"h": 238.349,
"s": 44.856,
"l": 52.353
},
"oklch": {
"l": 0.49587,
"c": 0.16324,
"h": 277.4
},
"luminance": 0.11328
}Semantic roles & 50–950 ramp
primary
#4F52BC
secondary
#CBCA9C
accent
#D153D5
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0D0A14
muted
#7D7C82