#4F5AD2#4F5AD2

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

Color values

HEX#4F5AD2
RGBrgb(79, 90, 210)
HSLhsl(235, 59%, 57%)
HSVhsv(235, 62%, 82%)
CMYKcmyk(62.4%, 57.1%, 0%, 17.6%)
CIE-LABlab(43.69, 32.52, -63.40)
CIE-LCHlch(43.69, 71.25, 297.16°)
OKLaboklab(52.74% 0.0138 -0.1823)
OKLCHoklch(52.74% 0.183 274.3)
XYZxyz(18.5096, 13.6262, 62.6150)
Luminance0.1363 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5AD2 #D2C74F
analogous
#4F9CD2 #4F5AD2 #864FD2
triadic
#4F5AD2 #D24F5A #5AD24F
tetradic
#4F5AD2 #D24F9C #D2C74F #4FD286
square
#4F5AD2 #D24F9C #D2C74F #4FD286
split-complementary
#4F5AD2 #D2864F #9CD24F
monochromatic
#222A85 #2E3AB5 #4F5AD2 #8088DE #B0B5EB

Accessibility & contrast

On white

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

On black

3.73
#4F5AD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4F5AD2#FFFFFF#000000##FFFFFF
##4F5AD21.005.643.735.64
#FFFFFF5.641.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f5ad2;
/* rgb */ color: rgb(79, 90, 210);
/* oklch */ color: oklch(52.7% 0.183 274.3);
Tailwind
colors: {
  custom: {
    50: '#8d88e1',
    500: '#4f5ad2',
    950: '#000000',
  },
}
SCSS
$custom: #4f5ad2;
$custom-light: #8d88e1;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5ad2",
  "rgb": {
    "r": 79,
    "g": 90,
    "b": 210
  },
  "hsl": {
    "h": 234.962,
    "s": 59.276,
    "l": 56.667
  },
  "oklch": {
    "l": 0.52742,
    "c": 0.18278,
    "h": 274.3
  },
  "luminance": 0.13628
}

Semantic roles & 50–950 ramp

primary
#4F5AD2
secondary
#D9D5A4
accent
#D545E2
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4F5AD2

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

Preview Lab → · Contrast checker → · Palette generator →

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