#4F5CDB#4F5CDB

#4F5CDB is a mid, vivid blue. Relative luminance 0.144; OKLCH L 53.8% C 0.192 H 273.6°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#4F5CDB
RGBrgb(79, 92, 219)
HSLhsl(234, 66%, 58%)
HSVhsv(234, 64%, 86%)
CMYKcmyk(63.9%, 58%, 0%, 14.1%)
CIE-LABlab(44.84, 34.32, -66.67)
CIE-LCHlch(44.84, 74.99, 297.23°)
OKLaboklab(53.81% 0.0121 -0.1919)
OKLCHoklch(53.81% 0.192 273.6)
XYZxyz(19.8335, 14.4293, 68.7440)
Luminance0.1443 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5CDB #DBCE4F
analogous
#4FA2DB #4F5CDB #884FDB
triadic
#4F5CDB #DB4F5C #5CDB4F
tetradic
#4F5CDB #DB4FA2 #DBCE4F #4FDB88
square
#4F5CDB #DB4FA2 #DBCE4F #4FDB88
split-complementary
#4F5CDB #DB884F #A2DB4F
monochromatic
#1E2992 #2837C5 #4F5CDB #828BE5 #B5BAF0

Accessibility & contrast

On white

5.40
#4F5CDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#4F5CDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F5CDB
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5CDB#FFFFFF#000000##FFFFFF
##4F5CDB1.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DF
Deuteranopia (green-blind)
#0064D8
Tritanopia (blue-blind)
#007B93
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4f5cdb;
/* rgb */ color: rgb(79, 92, 219);
/* oklch */ color: oklch(53.8% 0.192 273.6);
Tailwind
colors: {
  custom: {
    50: '#8f8ae7',
    500: '#4f5cdb',
    950: '#000000',
  },
}
SCSS
$custom: #4f5cdb;
$custom-light: #8f8ae7;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5cdb",
  "rgb": {
    "r": 79,
    "g": 92,
    "b": 219
  },
  "hsl": {
    "h": 234.429,
    "s": 66.038,
    "l": 58.431
  },
  "oklch": {
    "l": 0.53805,
    "c": 0.19225,
    "h": 273.6
  },
  "luminance": 0.14431
}

Semantic roles & 50–950 ramp

primary
#4F5CDB
secondary
#DFDAA7
accent
#D93FE9
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #4F5CDB

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

Preview Lab → · Contrast checker → · Palette generator →

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