#4F58CC#4F58CC

#4F58CC is a mid, vivid blue. Relative luminance 0.130; OKLCH L 51.9% C 0.177 H 275.0°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#4F58CC
RGBrgb(79, 88, 204)
HSLhsl(236, 55%, 55%)
HSVhsv(236, 61%, 80%)
CMYKcmyk(61.3%, 56.9%, 0%, 20%)
CIE-LABlab(42.76, 31.75, -61.46)
CIE-LCHlch(42.76, 69.17, 297.32°)
OKLaboklab(51.91% 0.0155 -0.1766)
OKLCHoklch(51.91% 0.177 275)
XYZxyz(17.6097, 12.9999, 58.6963)
Luminance0.1300 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F58CC #CCC34F
analogous
#4F96CC #4F58CC #844FCC
triadic
#4F58CC #CC4F58 #58CC4F
tetradic
#4F58CC #CC4F96 #CCC34F #4FCC84
square
#4F58CC #CC4F96 #CCC34F #4FCC84
split-complementary
#4F58CC #CC844F #96CC4F
monochromatic
#242A7D #323BAC #4F58CC #7E85DA #AEB2E7

Accessibility & contrast

On white

5.83
#4F58CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#4F58CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F58CC
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F58CC#FFFFFF#000000##FFFFFF
##4F58CC1.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD0
Deuteranopia (green-blind)
#0060CA
Tritanopia (blue-blind)
#007489
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4f58cc;
/* rgb */ color: rgb(79, 88, 204);
/* oklch */ color: oklch(51.9% 0.177 275.0);
Tailwind
colors: {
  custom: {
    50: '#8c87dc',
    500: '#4f58cc',
    950: '#000000',
  },
}
SCSS
$custom: #4f58cc;
$custom-light: #8c87dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4f58cc",
  "rgb": {
    "r": 79,
    "g": 88,
    "b": 204
  },
  "hsl": {
    "h": 235.68,
    "s": 55.066,
    "l": 55.49
  },
  "oklch": {
    "l": 0.51914,
    "c": 0.17725,
    "h": 275
  },
  "luminance": 0.13001
}

Semantic roles & 50–950 ramp

primary
#4F58CC
secondary
#D5D2A1
accent
#D449DE
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4F58CC

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

Preview Lab → · Contrast checker → · Palette generator →

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