#4F5CD2#4F5CD2

#4F5CD2 is a mid, vivid blue. Relative luminance 0.140; OKLCH L 53.1% C 0.180 H 273.8°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#4F5CD2
RGBrgb(79, 92, 210)
HSLhsl(234, 59%, 57%)
HSVhsv(234, 62%, 82%)
CMYKcmyk(62.4%, 56.2%, 0%, 17.6%)
CIE-LABlab(44.19, 31.28, -62.60)
CIE-LCHlch(44.19, 69.98, 296.55°)
OKLaboklab(53.11% 0.012 -0.1799)
OKLCHoklch(53.11% 0.18 273.8)
XYZxyz(18.6806, 13.9681, 62.6720)
Luminance0.1397 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5CD2 #D2C54F
analogous
#4F9ED2 #4F5CD2 #844FD2
triadic
#4F5CD2 #D24F5C #5CD24F
tetradic
#4F5CD2 #D24F9E #D2C54F #4FD284
square
#4F5CD2 #D24F9E #D2C54F #4FD284
split-complementary
#4F5CD2 #D2844F #9ED24F
monochromatic
#222C85 #2E3CB5 #4F5CD2 #8089DE #B0B6EB

Accessibility & contrast

On white

5.54
#4F5CD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#4F5CD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F5CD2
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5CD2#FFFFFF#000000##FFFFFF
##4F5CD21.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED6
Deuteranopia (green-blind)
#0063D0
Tritanopia (blue-blind)
#00788E
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4f5cd2;
/* rgb */ color: rgb(79, 92, 210);
/* oklch */ color: oklch(53.1% 0.180 273.8);
Tailwind
colors: {
  custom: {
    50: '#8d8ae1',
    500: '#4f5cd2',
    950: '#000000',
  },
}
SCSS
$custom: #4f5cd2;
$custom-light: #8d8ae1;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5cd2",
  "rgb": {
    "r": 79,
    "g": 92,
    "b": 210
  },
  "hsl": {
    "h": 234.046,
    "s": 59.276,
    "l": 56.667
  },
  "oklch": {
    "l": 0.53111,
    "c": 0.18028,
    "h": 273.8
  },
  "luminance": 0.1397
}

Semantic roles & 50–950 ramp

primary
#4F5CD2
secondary
#D9D4A4
accent
#D345E2
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4F5CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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