#4F5DC8#4F5DC8

#4F5DC8 is a mid, vivid blue. Relative luminance 0.137; OKLCH L 52.6% C 0.165 H 273.7°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#4F5DC8
RGBrgb(79, 93, 200)
HSLhsl(233, 52%, 55%)
HSVhsv(233, 61%, 78%)
CMYKcmyk(60.5%, 53.5%, 0%, 21.6%)
CIE-LABlab(43.74, 27.27, -57.57)
CIE-LCHlch(43.74, 63.70, 295.35°)
OKLaboklab(52.55% 0.0106 -0.1651)
OKLCHoklch(52.55% 0.165 273.7)
XYZxyz(17.5607, 13.6597, 56.3436)
Luminance0.1366 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5DC8 #C8BA4F
analogous
#4F99C8 #4F5DC8 #7E4FC8
triadic
#4F5DC8 #C84F5D #5DC84F
tetradic
#4F5DC8 #C84F99 #C8BA4F #4FC87E
square
#4F5DC8 #C84F99 #C8BA4F #4FC87E
split-complementary
#4F5DC8 #C87E4F #99C84F
monochromatic
#252F77 #3441A6 #4F5DC8 #7E88D7 #ACB3E5

Accessibility & contrast

On white

5.63
#4F5DC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#4F5DC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F5DC8
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5DC8#FFFFFF#000000##FFFFFF
##4F5DC81.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#176DCC
Deuteranopia (green-blind)
#0062C6
Tritanopia (blue-blind)
#007689
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4f5dc8;
/* rgb */ color: rgb(79, 93, 200);
/* oklch */ color: oklch(52.6% 0.165 273.7);
Tailwind
colors: {
  custom: {
    50: '#8b8ad9',
    500: '#4f5dc8',
    950: '#000000',
  },
}
SCSS
$custom: #4f5dc8;
$custom-light: #8b8ad9;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5dc8",
  "rgb": {
    "r": 79,
    "g": 93,
    "b": 200
  },
  "hsl": {
    "h": 233.058,
    "s": 52.381,
    "l": 54.706
  },
  "oklch": {
    "l": 0.52555,
    "c": 0.16541,
    "h": 273.7
  },
  "luminance": 0.13661
}

Semantic roles & 50–950 ramp

primary
#4F5DC8
secondary
#D3CDA0
accent
#CB4CDC
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4F5DC8

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

Preview Lab → · Contrast checker → · Palette generator →

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