#4F5BD1#4F5BD1

#4F5BD1 is a mid, vivid blue. Relative luminance 0.137; OKLCH L 52.8% C 0.180 H 274.1°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#4F5BD1
RGBrgb(79, 91, 209)
HSLhsl(234, 59%, 56%)
HSVhsv(234, 62%, 82%)
CMYKcmyk(62.2%, 56.5%, 0%, 18%)
CIE-LABlab(43.87, 31.56, -62.54)
CIE-LCHlch(43.87, 70.06, 296.78°)
OKLaboklab(52.85% 0.0129 -0.1797)
OKLCHoklch(52.85% 0.18 274.1)
XYZxyz(18.4704, 13.7464, 61.9892)
Luminance0.1375 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5BD1 #D1C54F
analogous
#4F9CD1 #4F5BD1 #844FD1
triadic
#4F5BD1 #D14F5B #5BD14F
tetradic
#4F5BD1 #D14F9C #D1C54F #4FD184
square
#4F5BD1 #D14F9C #D1C54F #4FD184
split-complementary
#4F5BD1 #D1844F #9CD14F
monochromatic
#222B83 #2F3BB4 #4F5BD1 #8088DE #B0B5EA

Accessibility & contrast

On white

5.60
#4F5BD1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#4F5BD1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F5BD1
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5BD1#FFFFFF#000000##FFFFFF
##4F5BD11.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f5bd1;
/* rgb */ color: rgb(79, 91, 209);
/* oklch */ color: oklch(52.8% 0.180 274.1);
Tailwind
colors: {
  custom: {
    50: '#8d89e0',
    500: '#4f5bd1',
    950: '#000000',
  },
}
SCSS
$custom: #4f5bd1;
$custom-light: #8d89e0;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5bd1",
  "rgb": {
    "r": 79,
    "g": 91,
    "b": 209
  },
  "hsl": {
    "h": 234.462,
    "s": 58.559,
    "l": 56.471
  },
  "oklch": {
    "l": 0.5285,
    "c": 0.18019,
    "h": 274.1
  },
  "luminance": 0.13748
}

Semantic roles & 50–950 ramp

primary
#4F5BD1
secondary
#D9D4A3
accent
#D346E2
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4F5BD1

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

Preview Lab → · Contrast checker → · Palette generator →

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