#4F5FD3#4F5FD3

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

Color values

HEX#4F5FD3
RGBrgb(79, 95, 211)
HSLhsl(233, 60%, 57%)
HSVhsv(233, 63%, 83%)
CMYKcmyk(62.6%, 55%, 0%, 17.3%)
CIE-LABlab(45.01, 29.75, -61.84)
CIE-LCHlch(45.01, 68.62, 295.69°)
OKLaboklab(53.75% 0.0092 -0.1776)
OKLCHoklch(53.75% 0.178 273)
XYZxyz(19.0706, 14.5482, 63.4185)
Luminance0.1455 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5FD3 #D3C34F
analogous
#4FA1D3 #4F5FD3 #814FD3
triadic
#4F5FD3 #D34F5F #5FD34F
tetradic
#4F5FD3 #D34FA1 #D3C34F #4FD381
square
#4F5FD3 #D34FA1 #D3C34F #4FD381
split-complementary
#4F5FD3 #D3814F #A1D34F
monochromatic
#222E86 #2E3EB7 #4F5FD3 #808CDF #B1B8EB

Accessibility & contrast

On white

5.37
#4F5FD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#4F5FD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F5FD3
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5FD3#FFFFFF#000000##FFFFFF
##4F5FD31.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070D7
Deuteranopia (green-blind)
#0065D1
Tritanopia (blue-blind)
#007B90
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4f5fd3;
/* rgb */ color: rgb(79, 95, 211);
/* oklch */ color: oklch(53.7% 0.178 273.0);
Tailwind
colors: {
  custom: {
    50: '#8d8ce1',
    500: '#4f5fd3',
    950: '#000000',
  },
}
SCSS
$custom: #4f5fd3;
$custom-light: #8d8ce1;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5fd3",
  "rgb": {
    "r": 79,
    "g": 95,
    "b": 211
  },
  "hsl": {
    "h": 232.727,
    "s": 60,
    "l": 56.863
  },
  "oklch": {
    "l": 0.53748,
    "c": 0.17785,
    "h": 273
  },
  "luminance": 0.1455
}

Semantic roles & 50–950 ramp

primary
#4F5FD3
secondary
#DAD3A4
accent
#D045E3
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4F5FD3

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

Preview Lab → · Contrast checker → · Palette generator →

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