#4F59D5#4F59D5

#4F59D5 is a mid, vivid blue. Relative luminance 0.136; OKLCH L 52.8% C 0.188 H 274.5°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#4F59D5
RGBrgb(79, 89, 213)
HSLhsl(236, 61%, 57%)
HSVhsv(236, 63%, 84%)
CMYKcmyk(62.9%, 58.2%, 0%, 16.5%)
CIE-LABlab(43.67, 34.15, -65.16)
CIE-LCHlch(43.67, 73.57, 297.66°)
OKLaboklab(52.79% 0.0147 -0.1874)
OKLCHoklch(52.79% 0.188 274.5)
XYZxyz(18.8031, 13.6095, 64.5739)
Luminance0.1361 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F59D5 #D5CB4F
analogous
#4F9CD5 #4F59D5 #884FD5
triadic
#4F59D5 #D54F59 #59D54F
tetradic
#4F59D5 #D54F9C #D5CB4F #4FD588
square
#4F59D5 #D54F9C #D5CB4F #4FD588
split-complementary
#4F59D5 #D5884F #9CD54F
monochromatic
#212889 #2C37BA #4F59D5 #8088E1 #B2B6ED

Accessibility & contrast

On white

5.64
#4F59D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#4F59D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F59D5
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F59D5#FFFFFF#000000##FFFFFF
##4F59D51.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD9
Deuteranopia (green-blind)
#0061D3
Tritanopia (blue-blind)
#00778E
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4f59d5;
/* rgb */ color: rgb(79, 89, 213);
/* oklch */ color: oklch(52.8% 0.188 274.5);
Tailwind
colors: {
  custom: {
    50: '#8e88e3',
    500: '#4f59d5',
    950: '#000000',
  },
}
SCSS
$custom: #4f59d5;
$custom-light: #8e88e3;
$custom-dark: #000000;
JSON
{
  "hex": "#4f59d5",
  "rgb": {
    "r": 79,
    "g": 89,
    "b": 213
  },
  "hsl": {
    "h": 235.522,
    "s": 61.468,
    "l": 57.255
  },
  "oklch": {
    "l": 0.52794,
    "c": 0.18801,
    "h": 274.5
  },
  "luminance": 0.13611
}

Semantic roles & 50–950 ramp

primary
#4F59D5
secondary
#DBD7A5
accent
#D943E5
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0E0B15
muted
#7E7C84

Preview Lab

Preview with #4F59D5

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

Preview Lab → · Contrast checker → · Palette generator →

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