#4F5FD2#4F5FD2

#4F5FD2 is a mid, vivid blue. Relative luminance 0.145; OKLCH L 53.7% C 0.176 H 273.0°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#4F5FD2
RGBrgb(79, 95, 210)
HSLhsl(233, 59%, 57%)
HSVhsv(233, 62%, 82%)
CMYKcmyk(62.4%, 54.8%, 0%, 17.6%)
CIE-LABlab(44.94, 29.41, -61.38)
CIE-LCHlch(44.94, 68.06, 295.60°)
OKLaboklab(53.67% 0.0092 -0.1763)
OKLCHoklch(53.67% 0.177 273)
XYZxyz(18.9457, 14.4982, 62.7603)
Luminance0.1450 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5FD2 #D2C24F
analogous
#4FA1D2 #4F5FD2 #814FD2
triadic
#4F5FD2 #D24F5F #5FD24F
tetradic
#4F5FD2 #D24FA1 #D2C24F #4FD281
square
#4F5FD2 #D24FA1 #D2C24F #4FD281
split-complementary
#4F5FD2 #D2814F #A1D24F
monochromatic
#222E85 #2E3FB5 #4F5FD2 #808BDE #B0B8EB

Accessibility & contrast

On white

5.38
#4F5FD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#4F5FD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F5FD2
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5FD2#FFFFFF#000000##FFFFFF
##4F5FD21.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0170D6
Deuteranopia (green-blind)
#0065D0
Tritanopia (blue-blind)
#007A8F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4f5fd2;
/* rgb */ color: rgb(79, 95, 210);
/* oklch */ color: oklch(53.7% 0.176 273.0);
Tailwind
colors: {
  custom: {
    50: '#8d8ce1',
    500: '#4f5fd2',
    950: '#000000',
  },
}
SCSS
$custom: #4f5fd2;
$custom-light: #8d8ce1;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5fd2",
  "rgb": {
    "r": 79,
    "g": 95,
    "b": 210
  },
  "hsl": {
    "h": 232.672,
    "s": 59.276,
    "l": 56.667
  },
  "oklch": {
    "l": 0.53673,
    "c": 0.1765,
    "h": 273
  },
  "luminance": 0.145
}

Semantic roles & 50–950 ramp

primary
#4F5FD2
secondary
#D9D3A4
accent
#CF45E2
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4F5FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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