#4F51DC#4F51DC

#4F51DC is a mid, highly saturated blue. Relative luminance 0.127; OKLCH L 52.0% C 0.207 H 275.8°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#4F51DC
RGBrgb(79, 81, 220)
HSLhsl(239, 67%, 59%)
HSVhsv(239, 64%, 86%)
CMYKcmyk(64.1%, 63.2%, 0%, 13.7%)
CIE-LABlab(42.33, 41.36, -71.34)
CIE-LCHlch(42.33, 82.46, 300.10°)
OKLaboklab(51.98% 0.0211 -0.2057)
OKLCHoklch(51.98% 0.207 275.8)
XYZxyz(19.0809, 12.7128, 69.1446)
Luminance0.1271 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F51DC #DCDA4F
analogous
#4F97DC #4F51DC #934FDC
triadic
#4F51DC #DC4F51 #51DC4F
tetradic
#4F51DC #DC4F97 #DCDA4F #4FDC93
square
#4F51DC #DC4F97 #DCDA4F #4FDC93
split-complementary
#4F51DC #DC934F #97DC4F
monochromatic
#1D1F93 #272AC6 #4F51DC #8283E6 #B5B6F0

Accessibility & contrast

On white

5.93
#4F51DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#4F51DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F51DC
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F51DC#FFFFFF#000000##FFFFFF
##4F51DC1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE0
Deuteranopia (green-blind)
#005ED9
Tritanopia (blue-blind)
#00748F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4f51dc;
/* rgb */ color: rgb(79, 81, 220);
/* oklch */ color: oklch(52.0% 0.207 275.8);
Tailwind
colors: {
  custom: {
    50: '#9082e8',
    500: '#4f51dc',
    950: '#000000',
  },
}
SCSS
$custom: #4f51dc;
$custom-light: #9082e8;
$custom-dark: #000000;
JSON
{
  "hex": "#4f51dc",
  "rgb": {
    "r": 79,
    "g": 81,
    "b": 220
  },
  "hsl": {
    "h": 239.149,
    "s": 66.825,
    "l": 58.627
  },
  "oklch": {
    "l": 0.51976,
    "c": 0.20674,
    "h": 275.8
  },
  "luminance": 0.12714
}

Semantic roles & 50–950 ramp

primary
#4F51DC
secondary
#DFDEA8
accent
#E73EEA
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #4F51DC

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

Preview Lab → · Contrast checker → · Palette generator →

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