#4F5CD7#4F5CD7

#4F5CD7 is a mid, vivid blue. Relative luminance 0.142; OKLCH L 53.5% C 0.187 H 273.7°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#4F5CD7
RGBrgb(79, 92, 215)
HSLhsl(234, 63%, 58%)
HSVhsv(234, 63%, 84%)
CMYKcmyk(63.3%, 57.2%, 0%, 15.7%)
CIE-LABlab(44.55, 32.97, -64.87)
CIE-LCHlch(44.55, 72.77, 296.94°)
OKLaboklab(53.49% 0.012 -0.1866)
OKLCHoklch(53.49% 0.187 273.7)
XYZxyz(19.3133, 14.2212, 66.0040)
Luminance0.1422 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5CD7 #D7CA4F
analogous
#4FA0D7 #4F5CD7 #864FD7
triadic
#4F5CD7 #D74F5C #5CD74F
tetradic
#4F5CD7 #D74FA0 #D7CA4F #4FD786
square
#4F5CD7 #D74FA0 #D7CA4F #4FD786
split-complementary
#4F5CD7 #D7864F #A0D74F
monochromatic
#202A8C #2B39BE #4F5CD7 #818AE2 #B3B8EE

Accessibility & contrast

On white

5.46
#4F5CD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#4F5CD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F5CD7
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5CD7#FFFFFF#000000##FFFFFF
##4F5CD71.005.463.845.46
#FFFFFF5.461.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DB
Deuteranopia (green-blind)
#0063D5
Tritanopia (blue-blind)
#007A90
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4f5cd7;
/* rgb */ color: rgb(79, 92, 215);
/* oklch */ color: oklch(53.5% 0.187 273.7);
Tailwind
colors: {
  custom: {
    50: '#8e8ae4',
    500: '#4f5cd7',
    950: '#000000',
  },
}
SCSS
$custom: #4f5cd7;
$custom-light: #8e8ae4;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5cd7",
  "rgb": {
    "r": 79,
    "g": 92,
    "b": 215
  },
  "hsl": {
    "h": 234.265,
    "s": 62.963,
    "l": 57.647
  },
  "oklch": {
    "l": 0.53494,
    "c": 0.18696,
    "h": 273.7
  },
  "luminance": 0.14223
}

Semantic roles & 50–950 ramp

primary
#4F5CD7
secondary
#DCD7A6
accent
#D642E6
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #4F5CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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