#4F5FCE#4F5FCE

#4F5FCE is a mid, vivid blue. Relative luminance 0.143; OKLCH L 53.4% C 0.171 H 273.0°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#4F5FCE
RGBrgb(79, 95, 206)
HSLhsl(232, 56%, 56%)
HSVhsv(232, 62%, 81%)
CMYKcmyk(61.7%, 53.9%, 0%, 19.2%)
CIE-LABlab(44.66, 28.05, -59.53)
CIE-LCHlch(44.66, 65.81, 295.23°)
OKLaboklab(53.38% 0.009 -0.1708)
OKLCHoklch(53.38% 0.171 273)
XYZxyz(18.4535, 14.3014, 60.1685)
Luminance0.1430 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5FCE #CEBE4F
analogous
#4F9ECE #4F5FCE #7E4FCE
triadic
#4F5FCE #CE4F5F #5FCE4F
tetradic
#4F5FCE #CE4F9E #CEBE4F #4FCE7E
square
#4F5FCE #CE4F9E #CEBE4F #4FCE7E
split-complementary
#4F5FCE #CE7E4F #9ECE4F
monochromatic
#232F7F #3141AF #4F5FCE #7F8BDB #AFB6E9

Accessibility & contrast

On white

5.44
#4F5FCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#4F5FCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F5FCE
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5FCE#FFFFFF#000000##FFFFFF
##4F5FCE1.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#126FD2
Deuteranopia (green-blind)
#0064CC
Tritanopia (blue-blind)
#00798D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4f5fce;
/* rgb */ color: rgb(79, 95, 206);
/* oklch */ color: oklch(53.4% 0.171 273.0);
Tailwind
colors: {
  custom: {
    50: '#8c8cde',
    500: '#4f5fce',
    950: '#000000',
  },
}
SCSS
$custom: #4f5fce;
$custom-light: #8c8cde;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5fce",
  "rgb": {
    "r": 79,
    "g": 95,
    "b": 206
  },
  "hsl": {
    "h": 232.441,
    "s": 56.444,
    "l": 55.882
  },
  "oklch": {
    "l": 0.53377,
    "c": 0.17107,
    "h": 273
  },
  "luminance": 0.14303
}

Semantic roles & 50–950 ramp

primary
#4F5FCE
secondary
#D7D0A2
accent
#CD48E0
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4F5FCE

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

Preview Lab → · Contrast checker → · Palette generator →

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