#4F57CC#4F57CC

#4F57CC is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.7% C 0.179 H 275.3°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#4F57CC
RGBrgb(79, 87, 204)
HSLhsl(236, 55%, 55%)
HSVhsv(236, 61%, 80%)
CMYKcmyk(61.3%, 57.4%, 0%, 20%)
CIE-LABlab(42.52, 32.37, -61.86)
CIE-LCHlch(42.52, 69.82, 297.63°)
OKLaboklab(51.73% 0.0165 -0.1777)
OKLCHoklch(51.73% 0.179 275.3)
XYZxyz(17.5282, 12.8369, 58.6691)
Luminance0.1284 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F57CC #CCC44F
analogous
#4F95CC #4F57CC #854FCC
triadic
#4F57CC #CC4F57 #57CC4F
tetradic
#4F57CC #CC4F95 #CCC44F #4FCC85
square
#4F57CC #CC4F95 #CCC44F #4FCC85
split-complementary
#4F57CC #CC854F #95CC4F
monochromatic
#242A7D #323AAC #4F57CC #7E84DA #AEB2E7

Accessibility & contrast

On white

5.89
#4F57CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#4F57CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F57CC
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F57CC#FFFFFF#000000##FFFFFF
##4F57CC1.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD0
Deuteranopia (green-blind)
#005FCA
Tritanopia (blue-blind)
#007389
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4f57cc;
/* rgb */ color: rgb(79, 87, 204);
/* oklch */ color: oklch(51.7% 0.179 275.3);
Tailwind
colors: {
  custom: {
    50: '#8c86dc',
    500: '#4f57cc',
    950: '#000000',
  },
}
SCSS
$custom: #4f57cc;
$custom-light: #8c86dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4f57cc",
  "rgb": {
    "r": 79,
    "g": 87,
    "b": 204
  },
  "hsl": {
    "h": 236.16,
    "s": 55.066,
    "l": 55.49
  },
  "oklch": {
    "l": 0.5173,
    "c": 0.17851,
    "h": 275.3
  },
  "luminance": 0.12838
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4F57CC

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

Preview Lab → · Contrast checker → · Palette generator →

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