#4F5FD5#4F5FD5

#4F5FD5 is a mid, vivid blue. Relative luminance 0.147; OKLCH L 53.9% C 0.181 H 273.0°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#4F5FD5
RGBrgb(79, 95, 213)
HSLhsl(233, 61%, 57%)
HSVhsv(233, 63%, 84%)
CMYKcmyk(62.9%, 55.4%, 0%, 16.5%)
CIE-LABlab(45.15, 30.42, -62.75)
CIE-LCHlch(45.15, 69.74, 295.87°)
OKLaboklab(53.9% 0.0093 -0.1803)
OKLCHoklch(53.9% 0.181 273)
XYZxyz(19.3229, 14.6491, 64.7472)
Luminance0.1465 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5FD5 #D5C54F
analogous
#4FA2D5 #4F5FD5 #824FD5
triadic
#4F5FD5 #D54F5F #5FD54F
tetradic
#4F5FD5 #D54FA2 #D5C54F #4FD582
square
#4F5FD5 #D54FA2 #D5C54F #4FD582
split-complementary
#4F5FD5 #D5824F #A2D54F
monochromatic
#212D89 #2C3DBA #4F5FD5 #808CE1 #B2B9ED

Accessibility & contrast

On white

5.34
#4F5FD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#4F5FD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F5FD5
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5FD5#FFFFFF#000000##FFFFFF
##4F5FD51.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f5fd5;
/* rgb */ color: rgb(79, 95, 213);
/* oklch */ color: oklch(53.9% 0.181 273.0);
Tailwind
colors: {
  custom: {
    50: '#8e8ce3',
    500: '#4f5fd5',
    950: '#000000',
  },
}
SCSS
$custom: #4f5fd5;
$custom-light: #8e8ce3;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5fd5",
  "rgb": {
    "r": 79,
    "g": 95,
    "b": 213
  },
  "hsl": {
    "h": 232.836,
    "s": 61.468,
    "l": 57.255
  },
  "oklch": {
    "l": 0.53897,
    "c": 0.18055,
    "h": 273
  },
  "luminance": 0.14651
}

Semantic roles & 50–950 ramp

primary
#4F5FD5
secondary
#DBD5A5
accent
#D143E5
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0D0C15
muted
#7E7D84

Preview Lab

Preview with #4F5FD5

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

Preview Lab → · Contrast checker → · Palette generator →

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