#4F5CCF#4F5CCF

#4F5CCF is a mid, vivid blue. Relative luminance 0.138; OKLCH L 52.9% C 0.176 H 273.9°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#4F5CCF
RGBrgb(79, 92, 207)
HSLhsl(234, 57%, 56%)
HSVhsv(234, 62%, 81%)
CMYKcmyk(61.8%, 55.6%, 0%, 18.8%)
CIE-LABlab(43.97, 30.27, -61.22)
CIE-LCHlch(43.97, 68.29, 296.31°)
OKLaboklab(52.88% 0.0119 -0.1758)
OKLCHoklch(52.88% 0.176 273.9)
XYZxyz(18.3104, 13.8200, 60.7220)
Luminance0.1382 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5CCF #CFC24F
analogous
#4F9CCF #4F5CCF #824FCF
triadic
#4F5CCF #CF4F5C #5CCF4F
tetradic
#4F5CCF #CF4F9C #CFC24F #4FCF82
square
#4F5CCF #CF4F9C #CFC24F #4FCF82
split-complementary
#4F5CCF #CF824F #9CCF4F
monochromatic
#232D81 #303DB1 #4F5CCF #7F89DC #AFB5E9

Accessibility & contrast

On white

5.58
#4F5CCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#4F5CCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F5CCF
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5CCF#FFFFFF#000000##FFFFFF
##4F5CCF1.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED3
Deuteranopia (green-blind)
#0063CD
Tritanopia (blue-blind)
#00778C
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4f5ccf;
/* rgb */ color: rgb(79, 92, 207);
/* oklch */ color: oklch(52.9% 0.176 273.9);
Tailwind
colors: {
  custom: {
    50: '#8d8ade',
    500: '#4f5ccf',
    950: '#000000',
  },
}
SCSS
$custom: #4f5ccf;
$custom-light: #8d8ade;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5ccf",
  "rgb": {
    "r": 79,
    "g": 92,
    "b": 207
  },
  "hsl": {
    "h": 233.906,
    "s": 57.143,
    "l": 56.078
  },
  "oklch": {
    "l": 0.52884,
    "c": 0.17623,
    "h": 273.9
  },
  "luminance": 0.13822
}

Semantic roles & 50–950 ramp

primary
#4F5CCF
secondary
#D7D2A2
accent
#D147E0
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4F5CCF

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

Preview Lab → · Contrast checker → · Palette generator →

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