#4F5FD6#4F5FD6

#4F5FD6 is a mid, vivid blue. Relative luminance 0.147; OKLCH L 54.0% C 0.182 H 272.9°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#4F5FD6
RGBrgb(79, 95, 214)
HSLhsl(233, 62%, 57%)
HSVhsv(233, 63%, 84%)
CMYKcmyk(63.1%, 55.6%, 0%, 16.1%)
CIE-LABlab(45.22, 30.76, -63.21)
CIE-LCHlch(45.22, 70.30, 295.95°)
OKLaboklab(53.97% 0.0094 -0.1816)
OKLCHoklch(53.97% 0.182 272.9)
XYZxyz(19.4502, 14.7001, 65.4177)
Luminance0.1470 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5FD6 #D6C64F
analogous
#4FA2D6 #4F5FD6 #834FD6
triadic
#4F5FD6 #D64F5F #5FD64F
tetradic
#4F5FD6 #D64FA2 #D6C64F #4FD683
square
#4F5FD6 #D64FA2 #D6C64F #4FD683
split-complementary
#4F5FD6 #D6834F #A2D64F
monochromatic
#202D8A #2C3DBC #4F5FD6 #818CE2 #B2B9ED

Accessibility & contrast

On white

5.33
#4F5FD6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#4F5FD6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F5FD6
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5FD6#FFFFFF#000000##FFFFFF
##4F5FD61.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071DA
Deuteranopia (green-blind)
#0065D4
Tritanopia (blue-blind)
#007B91
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4f5fd6;
/* rgb */ color: rgb(79, 95, 214);
/* oklch */ color: oklch(54.0% 0.182 272.9);
Tailwind
colors: {
  custom: {
    50: '#8e8ce3',
    500: '#4f5fd6',
    950: '#000000',
  },
}
SCSS
$custom: #4f5fd6;
$custom-light: #8e8ce3;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5fd6",
  "rgb": {
    "r": 79,
    "g": 95,
    "b": 214
  },
  "hsl": {
    "h": 232.889,
    "s": 62.212,
    "l": 57.451
  },
  "oklch": {
    "l": 0.53973,
    "c": 0.18189,
    "h": 272.9
  },
  "luminance": 0.14702
}

Semantic roles & 50–950 ramp

primary
#4F5FD6
secondary
#DCD5A5
accent
#D243E5
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0D0C16
muted
#7E7D84

Preview Lab

Preview with #4F5FD6

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

Preview Lab → · Contrast checker → · Palette generator →

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