#4F5AD1#4F5AD1

#4F5AD1 is a mid, vivid blue. Relative luminance 0.136; OKLCH L 52.7% C 0.181 H 274.3°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#4F5AD1
RGBrgb(79, 90, 209)
HSLhsl(235, 59%, 56%)
HSVhsv(235, 62%, 82%)
CMYKcmyk(62.2%, 56.9%, 0%, 18%)
CIE-LABlab(43.62, 32.19, -62.94)
CIE-LCHlch(43.62, 70.70, 297.08°)
OKLaboklab(52.66% 0.0138 -0.1809)
OKLCHoklch(52.66% 0.181 274.3)
XYZxyz(18.3854, 13.5765, 61.9609)
Luminance0.1358 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5AD1 #D1C64F
analogous
#4F9BD1 #4F5AD1 #854FD1
triadic
#4F5AD1 #D14F5A #5AD14F
tetradic
#4F5AD1 #D14F9B #D1C64F #4FD185
square
#4F5AD1 #D14F9B #D1C64F #4FD185
split-complementary
#4F5AD1 #D1854F #9BD14F
monochromatic
#222B83 #2F3AB4 #4F5AD1 #8087DE #B0B5EA

Accessibility & contrast

On white

5.65
#4F5AD1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4F5AD1
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5AD1#FFFFFF#000000##FFFFFF
##4F5AD11.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f5ad1;
/* rgb */ color: rgb(79, 90, 209);
/* oklch */ color: oklch(52.7% 0.181 274.3);
Tailwind
colors: {
  custom: {
    50: '#8d88e0',
    500: '#4f5ad1',
    950: '#000000',
  },
}
SCSS
$custom: #4f5ad1;
$custom-light: #8d88e0;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5ad1",
  "rgb": {
    "r": 79,
    "g": 90,
    "b": 209
  },
  "hsl": {
    "h": 234.923,
    "s": 58.559,
    "l": 56.471
  },
  "oklch": {
    "l": 0.52665,
    "c": 0.18144,
    "h": 274.3
  },
  "luminance": 0.13578
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4F5AD1

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

Preview Lab → · Contrast checker → · Palette generator →

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