#4F51DD#4F51DD

#4F51DD is a mid, highly saturated blue. Relative luminance 0.128; OKLCH L 52.1% C 0.208 H 275.8°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#4F51DD
RGBrgb(79, 81, 221)
HSLhsl(239, 68%, 59%)
HSVhsv(239, 64%, 87%)
CMYKcmyk(64.3%, 63.3%, 0%, 13.3%)
CIE-LABlab(42.41, 41.68, -71.78)
CIE-LCHlch(42.41, 83.01, 300.14°)
OKLaboklab(52.06% 0.021 -0.2069)
OKLCHoklch(52.06% 0.208 275.8)
XYZxyz(19.2137, 12.7660, 69.8441)
Luminance0.1277 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F51DD #DDDB4F
analogous
#4F98DD #4F51DD #944FDD
triadic
#4F51DD #DD4F51 #51DD4F
tetradic
#4F51DD #DD4F98 #DDDB4F #4FDD94
square
#4F51DD #DD4F98 #DDDB4F #4FDD94
split-complementary
#4F51DD #DD944F #98DD4F
monochromatic
#1D1E95 #2729C8 #4F51DD #8284E7 #B6B6F1

Accessibility & contrast

On white

5.91
#4F51DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#4F51DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F51DD
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F51DD#FFFFFF#000000##FFFFFF
##4F51DD1.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE1
Deuteranopia (green-blind)
#005EDA
Tritanopia (blue-blind)
#007590
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4f51dd;
/* rgb */ color: rgb(79, 81, 221);
/* oklch */ color: oklch(52.1% 0.208 275.8);
Tailwind
colors: {
  custom: {
    50: '#9082e9',
    500: '#4f51dd',
    950: '#000000',
  },
}
SCSS
$custom: #4f51dd;
$custom-light: #9082e9;
$custom-dark: #000000;
JSON
{
  "hex": "#4f51dd",
  "rgb": {
    "r": 79,
    "g": 81,
    "b": 221
  },
  "hsl": {
    "h": 239.155,
    "s": 67.619,
    "l": 58.824
  },
  "oklch": {
    "l": 0.5206,
    "c": 0.20801,
    "h": 275.8
  },
  "luminance": 0.12768
}

Semantic roles & 50–950 ramp

primary
#4F51DD
secondary
#E0DFA8
accent
#E83DEA
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #4F51DD

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

Preview Lab → · Contrast checker → · Palette generator →

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