#4F57CD#4F57CD

#4F57CD is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.8% C 0.180 H 275.3°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#4F57CD
RGBrgb(79, 87, 205)
HSLhsl(236, 56%, 56%)
HSVhsv(236, 61%, 80%)
CMYKcmyk(61.5%, 57.6%, 0%, 19.6%)
CIE-LABlab(42.59, 32.71, -62.31)
CIE-LCHlch(42.59, 70.38, 297.70°)
OKLaboklab(51.81% 0.0165 -0.1791)
OKLCHoklch(51.81% 0.18 275.3)
XYZxyz(17.6485, 12.8850, 59.3028)
Luminance0.1289 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F57CD #CDC54F
analogous
#4F96CD #4F57CD #864FCD
triadic
#4F57CD #CD4F57 #57CD4F
tetradic
#4F57CD #CD4F96 #CDC54F #4FCD86
square
#4F57CD #CD4F96 #CDC54F #4FCD86
split-complementary
#4F57CD #CD864F #96CD4F
monochromatic
#24297E #3139AE #4F57CD #7F84DB #AEB2E8

Accessibility & contrast

On white

5.87
#4F57CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#4F57CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F57CD
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F57CD#FFFFFF#000000##FFFFFF
##4F57CD1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD1
Deuteranopia (green-blind)
#005FCB
Tritanopia (blue-blind)
#007389
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4f57cd;
/* rgb */ color: rgb(79, 87, 205);
/* oklch */ color: oklch(51.8% 0.180 275.3);
Tailwind
colors: {
  custom: {
    50: '#8d86dd',
    500: '#4f57cd',
    950: '#000000',
  },
}
SCSS
$custom: #4f57cd;
$custom-light: #8d86dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4f57cd",
  "rgb": {
    "r": 79,
    "g": 87,
    "b": 205
  },
  "hsl": {
    "h": 236.19,
    "s": 55.752,
    "l": 55.686
  },
  "oklch": {
    "l": 0.51808,
    "c": 0.17985,
    "h": 275.3
  },
  "luminance": 0.12886
}

Semantic roles & 50–950 ramp

primary
#4F57CD
secondary
#D6D3A2
accent
#D649DF
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4F57CD

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

Preview Lab → · Contrast checker → · Palette generator →

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