#4F51DF#4F51DF

#4F51DF is a mid, highly saturated blue. Relative luminance 0.129; OKLCH L 52.2% C 0.211 H 275.7°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#4F51DF
RGBrgb(79, 81, 223)
HSLhsl(239, 69%, 59%)
HSVhsv(239, 65%, 87%)
CMYKcmyk(64.6%, 63.7%, 0%, 12.5%)
CIE-LABlab(42.57, 42.34, -72.65)
CIE-LCHlch(42.57, 84.09, 300.23°)
OKLaboklab(52.23% 0.0208 -0.2095)
OKLCHoklch(52.23% 0.211 275.7)
XYZxyz(19.4818, 12.8732, 71.2558)
Luminance0.1288 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F51DF #DFDD4F
analogous
#4F99DF #4F51DF #954FDF
triadic
#4F51DF #DF4F51 #51DF4F
tetradic
#4F51DF #DF4F99 #DFDD4F #4FDF95
square
#4F51DF #DF4F99 #DFDD4F #4FDF95
split-complementary
#4F51DF #DF954F #99DF4F
monochromatic
#1C1D98 #2527CC #4F51DF #8384E8 #B7B7F2

Accessibility & contrast

On white

5.87
#4F51DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#4F51DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F51DF
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F51DF#FFFFFF#000000##FFFFFF
##4F51DF1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE4
Deuteranopia (green-blind)
#005EDC
Tritanopia (blue-blind)
#007591
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4f51df;
/* rgb */ color: rgb(79, 81, 223);
/* oklch */ color: oklch(52.2% 0.211 275.7);
Tailwind
colors: {
  custom: {
    50: '#9082ea',
    500: '#4f51df',
    950: '#000000',
  },
}
SCSS
$custom: #4f51df;
$custom-light: #9082ea;
$custom-dark: #000000;
JSON
{
  "hex": "#4f51df",
  "rgb": {
    "r": 79,
    "g": 81,
    "b": 223
  },
  "hsl": {
    "h": 239.167,
    "s": 69.231,
    "l": 59.216
  },
  "oklch": {
    "l": 0.5223,
    "c": 0.21055,
    "h": 275.7
  },
  "luminance": 0.12875
}

Semantic roles & 50–950 ramp

primary
#4F51DF
secondary
#E1E0A9
accent
#EA3CEC
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #4F51DF

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

Preview Lab → · Contrast checker → · Palette generator →

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