#4F5BD0#4F5BD0

#4F5BD0 is a mid, vivid blue. Relative luminance 0.137; OKLCH L 52.8% C 0.179 H 274.1°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#4F5BD0
RGBrgb(79, 91, 208)
HSLhsl(234, 58%, 56%)
HSVhsv(234, 62%, 82%)
CMYKcmyk(62%, 56.2%, 0%, 18.4%)
CIE-LABlab(43.80, 31.23, -62.08)
CIE-LCHlch(43.80, 69.50, 296.70°)
OKLaboklab(52.77% 0.0128 -0.1784)
OKLCHoklch(52.77% 0.179 274.1)
XYZxyz(18.3469, 13.6970, 61.3392)
Luminance0.1370 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5BD0 #D0C44F
analogous
#4F9CD0 #4F5BD0 #844FD0
triadic
#4F5BD0 #D04F5B #5BD04F
tetradic
#4F5BD0 #D04F9C #D0C44F #4FD084
square
#4F5BD0 #D04F9C #D0C44F #4FD084
split-complementary
#4F5BD0 #D0844F #9CD04F
monochromatic
#232C82 #303CB2 #4F5BD0 #7F88DD #B0B5EA

Accessibility & contrast

On white

5.62
#4F5BD0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#4F5BD0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F5BD0
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5BD0#FFFFFF#000000##FFFFFF
##4F5BD01.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD4
Deuteranopia (green-blind)
#0062CE
Tritanopia (blue-blind)
#00778D
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4f5bd0;
/* rgb */ color: rgb(79, 91, 208);
/* oklch */ color: oklch(52.8% 0.179 274.1);
Tailwind
colors: {
  custom: {
    50: '#8d89df',
    500: '#4f5bd0',
    950: '#000000',
  },
}
SCSS
$custom: #4f5bd0;
$custom-light: #8d89df;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5bd0",
  "rgb": {
    "r": 79,
    "g": 91,
    "b": 208
  },
  "hsl": {
    "h": 234.419,
    "s": 57.848,
    "l": 56.275
  },
  "oklch": {
    "l": 0.52773,
    "c": 0.17884,
    "h": 274.1
  },
  "luminance": 0.13699
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4F5BD0

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

Preview Lab → · Contrast checker → · Palette generator →

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