#4F54D2#4F54D2

#4F54D2 is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.7% C 0.190 H 275.8°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#4F54D2
RGBrgb(79, 84, 210)
HSLhsl(238, 59%, 57%)
HSVhsv(238, 62%, 82%)
CMYKcmyk(62.4%, 60%, 0%, 17.6%)
CIE-LABlab(42.24, 36.23, -65.76)
CIE-LCHlch(42.24, 75.08, 298.85°)
OKLaboklab(51.67% 0.0191 -0.1893)
OKLCHoklch(51.67% 0.19 275.8)
XYZxyz(18.0238, 12.6546, 62.4530)
Luminance0.1266 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F54D2 #D2CD4F
analogous
#4F96D2 #4F54D2 #8C4FD2
triadic
#4F54D2 #D24F54 #54D24F
tetradic
#4F54D2 #D24F96 #D2CD4F #4FD28C
square
#4F54D2 #D24F96 #D2CD4F #4FD28C
split-complementary
#4F54D2 #D28C4F #96D24F
monochromatic
#222685 #2E34B5 #4F54D2 #8083DE #B0B3EB

Accessibility & contrast

On white

5.95
#4F54D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#4F54D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F54D2
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F54D2#FFFFFF#000000##FFFFFF
##4F54D21.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D6
Deuteranopia (green-blind)
#005ECF
Tritanopia (blue-blind)
#00738B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4f54d2;
/* rgb */ color: rgb(79, 84, 210);
/* oklch */ color: oklch(51.7% 0.190 275.8);
Tailwind
colors: {
  custom: {
    50: '#8e84e1',
    500: '#4f54d2',
    950: '#000000',
  },
}
SCSS
$custom: #4f54d2;
$custom-light: #8e84e1;
$custom-dark: #000000;
JSON
{
  "hex": "#4f54d2",
  "rgb": {
    "r": 79,
    "g": 84,
    "b": 210
  },
  "hsl": {
    "h": 237.71,
    "s": 59.276,
    "l": 56.667
  },
  "oklch": {
    "l": 0.51665,
    "c": 0.19022,
    "h": 275.8
  },
  "luminance": 0.12656
}

Semantic roles & 50–950 ramp

primary
#4F54D2
secondary
#D9D7A4
accent
#DC45E2
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4F54D2

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

Preview Lab → · Contrast checker → · Palette generator →

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