#4F5CD0#4F5CD0

#4F5CD0 is a mid, vivid blue. Relative luminance 0.139; OKLCH L 53.0% C 0.178 H 273.8°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#4F5CD0
RGBrgb(79, 92, 208)
HSLhsl(234, 58%, 56%)
HSVhsv(234, 62%, 82%)
CMYKcmyk(62%, 55.8%, 0%, 18.4%)
CIE-LABlab(44.04, 30.60, -61.68)
CIE-LCHlch(44.04, 68.85, 296.39°)
OKLaboklab(52.96% 0.0119 -0.1772)
OKLCHoklch(52.96% 0.178 273.8)
XYZxyz(18.4330, 13.8691, 61.3679)
Luminance0.1387 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5CD0 #D0C34F
analogous
#4F9DD0 #4F5CD0 #834FD0
triadic
#4F5CD0 #D04F5C #5CD04F
tetradic
#4F5CD0 #D04F9D #D0C34F #4FD083
square
#4F5CD0 #D04F9D #D0C34F #4FD083
split-complementary
#4F5CD0 #D0834F #9DD04F
monochromatic
#232C82 #303DB2 #4F5CD0 #7F89DD #B0B5EA

Accessibility & contrast

On white

5.56
#4F5CD0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#4F5CD0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F5CD0
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5CD0#FFFFFF#000000##FFFFFF
##4F5CD01.005.563.775.56
#FFFFFF5.561.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED4
Deuteranopia (green-blind)
#0063CE
Tritanopia (blue-blind)
#00788D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4f5cd0;
/* rgb */ color: rgb(79, 92, 208);
/* oklch */ color: oklch(53.0% 0.178 273.8);
Tailwind
colors: {
  custom: {
    50: '#8d8adf',
    500: '#4f5cd0',
    950: '#000000',
  },
}
SCSS
$custom: #4f5cd0;
$custom-light: #8d8adf;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5cd0",
  "rgb": {
    "r": 79,
    "g": 92,
    "b": 208
  },
  "hsl": {
    "h": 233.953,
    "s": 57.848,
    "l": 56.275
  },
  "oklch": {
    "l": 0.5296,
    "c": 0.17758,
    "h": 273.8
  },
  "luminance": 0.13871
}

Semantic roles & 50–950 ramp

primary
#4F5CD0
secondary
#D8D3A3
accent
#D247E1
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4F5CD0

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

Preview Lab → · Contrast checker → · Palette generator →

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