#4F5CDC#4F5CDC

#4F5CDC is a mid, vivid blue. Relative luminance 0.145; OKLCH L 53.9% C 0.194 H 273.6°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#4F5CDC
RGBrgb(79, 92, 220)
HSLhsl(234, 67%, 59%)
HSVhsv(234, 64%, 86%)
CMYKcmyk(64.1%, 58.2%, 0%, 13.7%)
CIE-LABlab(44.92, 34.65, -67.12)
CIE-LCHlch(44.92, 75.54, 297.31°)
OKLaboklab(53.88% 0.0121 -0.1932)
OKLCHoklch(53.88% 0.194 273.6)
XYZxyz(19.9656, 14.4821, 69.4394)
Luminance0.1448 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5CDC #DCCF4F
analogous
#4FA2DC #4F5CDC #884FDC
triadic
#4F5CDC #DC4F5C #5CDC4F
tetradic
#4F5CDC #DC4FA2 #DCCF4F #4FDC88
square
#4F5CDC #DC4FA2 #DCCF4F #4FDC88
split-complementary
#4F5CDC #DC884F #A2DC4F
monochromatic
#1D2893 #2736C6 #4F5CDC #828BE6 #B5BBF0

Accessibility & contrast

On white

5.39
#4F5CDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#4F5CDC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F5CDC
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5CDC#FFFFFF#000000##FFFFFF
##4F5CDC1.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E0
Deuteranopia (green-blind)
#0064D9
Tritanopia (blue-blind)
#007B93
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4f5cdc;
/* rgb */ color: rgb(79, 92, 220);
/* oklch */ color: oklch(53.9% 0.194 273.6);
Tailwind
colors: {
  custom: {
    50: '#8f8ae8',
    500: '#4f5cdc',
    950: '#000000',
  },
}
SCSS
$custom: #4f5cdc;
$custom-light: #8f8ae8;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5cdc",
  "rgb": {
    "r": 79,
    "g": 92,
    "b": 220
  },
  "hsl": {
    "h": 234.468,
    "s": 66.825,
    "l": 58.627
  },
  "oklch": {
    "l": 0.53884,
    "c": 0.19357,
    "h": 273.6
  },
  "luminance": 0.14484
}

Semantic roles & 50–950 ramp

primary
#4F5CDC
secondary
#DFDAA8
accent
#DA3EEA
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #4F5CDC

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

Preview Lab → · Contrast checker → · Palette generator →

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