#4F52BB#4F52BB
#4F52BB is a mid, vivid blue. Relative luminance 0.113; OKLCH L 49.5% C 0.162 H 277.5°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).
Color values
| HEX | #4F52BB |
|---|---|
| RGB | rgb(79, 82, 187) |
| HSL | hsl(238, 44%, 52%) |
| HSV | hsv(238, 58%, 73%) |
| CMYK | cmyk(57.8%, 56.1%, 0%, 26.7%) |
| CIE-LAB | lab(40.05, 29.84, -55.97) |
| CIE-LCH | lch(40.05, 63.43, 298.06°) |
| OKLab | oklab(49.51% 0.0211 -0.1605) |
| OKLCH | oklch(49.51% 0.162 277.5) |
| XYZ | xyz(15.2085, 11.2836, 48.3806) |
| Luminance | 0.1129 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 3.74
Warm Blue
#4B57DB
ΔE00 4.65
Ocean Blue
#4F42B5
ΔE00 4.92
Slate Blue
#6A5ACD
ΔE00 5.62
Dark Periwinkle
#665FD1
ΔE00 6.06
Blue Blue
#2242C7
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F52BB #BBB84F
analogous
#4F88BB #4F52BB #824FBB
triadic
#4F52BB #BB4F52 #52BB4F
tetradic
#4F52BB #BB4F88 #BBB84F #4FBB82
square
#4F52BB #BB4F88 #BBB84F #4FBB82
split-complementary
#4F52BB #BB824F #88BB4F
monochromatic
#282A68 #393C94 #4F52BB #7B7DCC #A7A9DD
Accessibility & contrast
On white
6.45
#4F52BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.26
#4F52BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4F52BB
6.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F52BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F52BB | 1.00 | 6.45 | 3.26 | 6.45 |
| #FFFFFF | 6.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063BF
Deuteranopia (green-blind)
#005AB9
Tritanopia (blue-blind)
#096B7E
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #4f52bb; /* rgb */ color: rgb(79, 82, 187); /* oklch */ color: oklch(49.5% 0.162 277.5);
Tailwind
colors: {
custom: {
50: '#8a82d0',
500: '#4f52bb',
950: '#000000',
},
}SCSS
$custom: #4f52bb; $custom-light: #8a82d0; $custom-dark: #000000;
JSON
{
"hex": "#4f52bb",
"rgb": {
"r": 79,
"g": 82,
"b": 187
},
"hsl": {
"h": 238.333,
"s": 44.262,
"l": 52.157
},
"oklch": {
"l": 0.49512,
"c": 0.16186,
"h": 277.5
},
"luminance": 0.11285
}Semantic roles & 50–950 ramp
primary
#4F52BB
secondary
#CAC99B
accent
#D054D4
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0D0A14
muted
#7D7C82