#4F54DF#4F54DF

#4F54DF is a mid, highly saturated blue. Relative luminance 0.133; OKLCH L 52.7% C 0.207 H 275.1°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#4F54DF
RGBrgb(79, 84, 223)
HSLhsl(238, 69%, 59%)
HSVhsv(238, 65%, 87%)
CMYKcmyk(64.6%, 62.3%, 0%, 12.5%)
CIE-LABlab(43.25, 40.54, -71.54)
CIE-LCHlch(43.25, 82.23, 299.54°)
OKLaboklab(52.73% 0.0185 -0.2062)
OKLCHoklch(52.73% 0.207 275.1)
XYZxyz(19.7097, 13.3289, 71.3318)
Luminance0.1333 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F54DF #DFDA4F
analogous
#4F9CDF #4F54DF #924FDF
triadic
#4F54DF #DF4F54 #54DF4F
tetradic
#4F54DF #DF4F9C #DFDA4F #4FDF92
square
#4F54DF #DF4F9C #DFDA4F #4FDF92
split-complementary
#4F54DF #DF924F #9CDF4F
monochromatic
#1C2098 #252BCC #4F54DF #8386E8 #B7B9F2

Accessibility & contrast

On white

5.73
#4F54DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#4F54DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F54DF
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F54DF#FFFFFF#000000##FFFFFF
##4F54DF1.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE3
Deuteranopia (green-blind)
#0060DC
Tritanopia (blue-blind)
#007792
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4f54df;
/* rgb */ color: rgb(79, 84, 223);
/* oklch */ color: oklch(52.7% 0.207 275.1);
Tailwind
colors: {
  custom: {
    50: '#9084ea',
    500: '#4f54df',
    950: '#000000',
  },
}
SCSS
$custom: #4f54df;
$custom-light: #9084ea;
$custom-dark: #000000;
JSON
{
  "hex": "#4f54df",
  "rgb": {
    "r": 79,
    "g": 84,
    "b": 223
  },
  "hsl": {
    "h": 237.917,
    "s": 69.231,
    "l": 59.216
  },
  "oklch": {
    "l": 0.5273,
    "c": 0.20705,
    "h": 275.1
  },
  "luminance": 0.13331
}

Semantic roles & 50–950 ramp

primary
#4F54DF
secondary
#E1DFA9
accent
#E63CEC
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #4F54DF

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

Preview Lab → · Contrast checker → · Palette generator →

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