#4F59D1#4F59D1

#4F59D1 is a mid, vivid blue. Relative luminance 0.134; OKLCH L 52.5% C 0.183 H 274.6°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#4F59D1
RGBrgb(79, 89, 209)
HSLhsl(235, 59%, 56%)
HSVhsv(235, 62%, 82%)
CMYKcmyk(62.2%, 57.4%, 0%, 18%)
CIE-LABlab(43.37, 32.81, -63.34)
CIE-LCHlch(43.37, 71.34, 297.38°)
OKLaboklab(52.48% 0.0147 -0.1821)
OKLCHoklch(52.48% 0.183 274.6)
XYZxyz(18.3017, 13.4090, 61.9330)
Luminance0.1341 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F59D1 #D1C74F
analogous
#4F9AD1 #4F59D1 #864FD1
triadic
#4F59D1 #D14F59 #59D14F
tetradic
#4F59D1 #D14F9A #D1C74F #4FD186
square
#4F59D1 #D14F9A #D1C74F #4FD186
split-complementary
#4F59D1 #D1864F #9AD14F
monochromatic
#222A83 #2F39B4 #4F59D1 #8087DE #B0B5EA

Accessibility & contrast

On white

5.70
#4F59D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#4F59D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F59D1
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F59D1#FFFFFF#000000##FFFFFF
##4F59D11.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD5
Deuteranopia (green-blind)
#0061CF
Tritanopia (blue-blind)
#00768C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4f59d1;
/* rgb */ color: rgb(79, 89, 209);
/* oklch */ color: oklch(52.5% 0.183 274.6);
Tailwind
colors: {
  custom: {
    50: '#8d88e0',
    500: '#4f59d1',
    950: '#000000',
  },
}
SCSS
$custom: #4f59d1;
$custom-light: #8d88e0;
$custom-dark: #000000;
JSON
{
  "hex": "#4f59d1",
  "rgb": {
    "r": 79,
    "g": 89,
    "b": 209
  },
  "hsl": {
    "h": 235.385,
    "s": 58.559,
    "l": 56.471
  },
  "oklch": {
    "l": 0.52482,
    "c": 0.1827,
    "h": 274.6
  },
  "luminance": 0.1341
}

Semantic roles & 50–950 ramp

primary
#4F59D1
secondary
#D9D4A3
accent
#D646E2
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4F59D1

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

Preview Lab → · Contrast checker → · Palette generator →

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