#4F5CD1#4F5CD1

#4F5CD1 is a mid, vivid blue. Relative luminance 0.139; OKLCH L 53.0% C 0.179 H 273.8°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#4F5CD1
RGBrgb(79, 92, 209)
HSLhsl(234, 59%, 56%)
HSVhsv(234, 62%, 82%)
CMYKcmyk(62.2%, 56%, 0%, 18%)
CIE-LABlab(44.12, 30.94, -62.14)
CIE-LCHlch(44.12, 69.42, 296.47°)
OKLaboklab(53.04% 0.0119 -0.1785)
OKLCHoklch(53.04% 0.179 273.8)
XYZxyz(18.5564, 13.9185, 62.0179)
Luminance0.1392 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5CD1 #D1C44F
analogous
#4F9DD1 #4F5CD1 #834FD1
triadic
#4F5CD1 #D14F5C #5CD14F
tetradic
#4F5CD1 #D14F9D #D1C44F #4FD183
square
#4F5CD1 #D14F9D #D1C44F #4FD183
split-complementary
#4F5CD1 #D1834F #9DD14F
monochromatic
#222C83 #2F3CB4 #4F5CD1 #8089DE #B0B6EA

Accessibility & contrast

On white

5.55
#4F5CD1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#4F5CD1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F5CD1
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5CD1#FFFFFF#000000##FFFFFF
##4F5CD11.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED5
Deuteranopia (green-blind)
#0063CF
Tritanopia (blue-blind)
#00788D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4f5cd1;
/* rgb */ color: rgb(79, 92, 209);
/* oklch */ color: oklch(53.0% 0.179 273.8);
Tailwind
colors: {
  custom: {
    50: '#8d8ae0',
    500: '#4f5cd1',
    950: '#000000',
  },
}
SCSS
$custom: #4f5cd1;
$custom-light: #8d8ae0;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5cd1",
  "rgb": {
    "r": 79,
    "g": 92,
    "b": 209
  },
  "hsl": {
    "h": 234,
    "s": 58.559,
    "l": 56.471
  },
  "oklch": {
    "l": 0.53035,
    "c": 0.17893,
    "h": 273.8
  },
  "luminance": 0.1392
}

Semantic roles & 50–950 ramp

primary
#4F5CD1
secondary
#D9D3A3
accent
#D246E2
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4F5CD1

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

Preview Lab → · Contrast checker → · Palette generator →

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