#4F5CCD#4F5CCD

#4F5CCD is a mid, vivid blue. Relative luminance 0.137; OKLCH L 52.7% C 0.174 H 273.9°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#4F5CCD
RGBrgb(79, 92, 205)
HSLhsl(234, 56%, 56%)
HSVhsv(234, 61%, 80%)
CMYKcmyk(61.5%, 55.1%, 0%, 19.6%)
CIE-LABlab(43.83, 29.59, -60.30)
CIE-LCHlch(43.83, 67.17, 296.14°)
OKLaboklab(52.73% 0.0118 -0.1731)
OKLCHoklch(52.73% 0.174 273.9)
XYZxyz(18.0674, 13.7229, 59.4424)
Luminance0.1372 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5CCD #CDC04F
analogous
#4F9BCD #4F5CCD #814FCD
triadic
#4F5CCD #CD4F5C #5CCD4F
tetradic
#4F5CCD #CD4F9B #CDC04F #4FCD81
square
#4F5CCD #CD4F9B #CDC04F #4FCD81
split-complementary
#4F5CCD #CD814F #9BCD4F
monochromatic
#242D7E #313EAE #4F5CCD #7F88DB #AEB4E8

Accessibility & contrast

On white

5.61
#4F5CCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4F5CCD
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5CCD#FFFFFF#000000##FFFFFF
##4F5CCD1.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD1
Deuteranopia (green-blind)
#0062CB
Tritanopia (blue-blind)
#00778B
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4f5ccd;
/* rgb */ color: rgb(79, 92, 205);
/* oklch */ color: oklch(52.7% 0.174 273.9);
Tailwind
colors: {
  custom: {
    50: '#8c8add',
    500: '#4f5ccd',
    950: '#000000',
  },
}
SCSS
$custom: #4f5ccd;
$custom-light: #8c8add;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5ccd",
  "rgb": {
    "r": 79,
    "g": 92,
    "b": 205
  },
  "hsl": {
    "h": 233.81,
    "s": 55.752,
    "l": 55.686
  },
  "oklch": {
    "l": 0.52734,
    "c": 0.17352,
    "h": 273.9
  },
  "luminance": 0.13724
}

Semantic roles & 50–950 ramp

primary
#4F5CCD
secondary
#D6D1A2
accent
#D049DF
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4F5CCD

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

Preview Lab → · Contrast checker → · Palette generator →

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