#4F54D3#4F54D3

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

Color values

HEX#4F54D3
RGBrgb(79, 84, 211)
HSLhsl(238, 60%, 57%)
HSVhsv(238, 63%, 83%)
CMYKcmyk(62.6%, 60.2%, 0%, 17.3%)
CIE-LABlab(42.31, 36.56, -66.21)
CIE-LCHlch(42.31, 75.64, 298.91°)
OKLaboklab(51.75% 0.0191 -0.1906)
OKLCHoklch(51.75% 0.192 275.7)
XYZxyz(18.1488, 12.7046, 63.1112)
Luminance0.1271 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F54D3 #D3CE4F
analogous
#4F96D3 #4F54D3 #8C4FD3
triadic
#4F54D3 #D34F54 #54D34F
tetradic
#4F54D3 #D34F96 #D3CE4F #4FD38C
square
#4F54D3 #D34F96 #D3CE4F #4FD38C
split-complementary
#4F54D3 #D38C4F #96D34F
monochromatic
#222586 #2E33B7 #4F54D3 #8084DF #B1B3EB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F54D3#FFFFFF#000000##FFFFFF
##4F54D31.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)
#006AD7
Deuteranopia (green-blind)
#005ED0
Tritanopia (blue-blind)
#00738B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4f54d3;
/* rgb */ color: rgb(79, 84, 211);
/* oklch */ color: oklch(51.7% 0.192 275.7);
Tailwind
colors: {
  custom: {
    50: '#8e84e1',
    500: '#4f54d3',
    950: '#000000',
  },
}
SCSS
$custom: #4f54d3;
$custom-light: #8e84e1;
$custom-dark: #000000;
JSON
{
  "hex": "#4f54d3",
  "rgb": {
    "r": 79,
    "g": 84,
    "b": 211
  },
  "hsl": {
    "h": 237.727,
    "s": 60,
    "l": 56.863
  },
  "oklch": {
    "l": 0.51745,
    "c": 0.19153,
    "h": 275.7
  },
  "luminance": 0.12706
}

Semantic roles & 50–950 ramp

primary
#4F54D3
secondary
#DAD8A4
accent
#DD45E3
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #4F54D3

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

Preview Lab → · Contrast checker → · Palette generator →

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