#4F52D3#4F52D3

#4F52D3 is a mid, vivid blue. Relative luminance 0.124; OKLCH L 51.4% C 0.194 H 276.1°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#4F52D3
RGBrgb(79, 82, 211)
HSLhsl(239, 60%, 57%)
HSVhsv(239, 63%, 83%)
CMYKcmyk(62.6%, 61.1%, 0%, 17.3%)
CIE-LABlab(41.84, 37.79, -66.98)
CIE-LCHlch(41.84, 76.91, 299.43°)
OKLaboklab(51.4% 0.0208 -0.1929)
OKLCHoklch(51.4% 0.194 276.1)
XYZxyz(17.9958, 12.3985, 63.0602)
Luminance0.1240 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F52D3 #D3D04F
analogous
#4F94D3 #4F52D3 #8E4FD3
triadic
#4F52D3 #D34F52 #52D34F
tetradic
#4F52D3 #D34F94 #D3D04F #4FD38E
square
#4F52D3 #D34F94 #D3D04F #4FD38E
split-complementary
#4F52D3 #D38E4F #94D34F
monochromatic
#222486 #2E31B7 #4F52D3 #8082DF #B1B2EB

Accessibility & contrast

On white

6.03
#4F52D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#4F52D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F52D3
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F52D3#FFFFFF#000000##FFFFFF
##4F52D31.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D7
Deuteranopia (green-blind)
#005DD0
Tritanopia (blue-blind)
#00728B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4f52d3;
/* rgb */ color: rgb(79, 82, 211);
/* oklch */ color: oklch(51.4% 0.194 276.1);
Tailwind
colors: {
  custom: {
    50: '#8e83e1',
    500: '#4f52d3',
    950: '#000000',
  },
}
SCSS
$custom: #4f52d3;
$custom-light: #8e83e1;
$custom-dark: #000000;
JSON
{
  "hex": "#4f52d3",
  "rgb": {
    "r": 79,
    "g": 82,
    "b": 211
  },
  "hsl": {
    "h": 238.636,
    "s": 60,
    "l": 56.863
  },
  "oklch": {
    "l": 0.51398,
    "c": 0.19397,
    "h": 276.1
  },
  "luminance": 0.124
}

Semantic roles & 50–950 ramp

primary
#4F52D3
secondary
#DAD9A4
accent
#E045E3
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #4F52D3

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#4F52D3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva