#4F57BC#4F57BC

#4F57BC is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.5% C 0.157 H 275.9°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#4F57BC
RGBrgb(79, 87, 188)
HSLhsl(236, 45%, 52%)
HSVhsv(236, 58%, 74%)
CMYKcmyk(58%, 53.7%, 0%, 26.3%)
CIE-LABlab(41.39, 27.02, -54.40)
CIE-LCHlch(41.39, 60.74, 296.41°)
OKLaboklab(50.53% 0.016 -0.1558)
OKLCHoklch(50.53% 0.157 275.9)
XYZxyz(15.7068, 12.1084, 49.0767)
Luminance0.1211 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F57BC #BCB44F
analogous
#4F8EBC #4F57BC #7D4FBC
triadic
#4F57BC #BC4F57 #57BC4F
tetradic
#4F57BC #BC4F8E #BCB44F #4FBC7D
square
#4F57BC #BC4F8E #BCB44F #4FBC7D
split-complementary
#4F57BC #BC7D4F #8EBC4F
monochromatic
#282D69 #394095 #4F57BC #7B81CD #A8ACDE

Accessibility & contrast

On white

6.14
#4F57BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#4F57BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F57BC
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F57BC#FFFFFF#000000##FFFFFF
##4F57BC1.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1866C0
Deuteranopia (green-blind)
#005DBA
Tritanopia (blue-blind)
#036E81
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4f57bc;
/* rgb */ color: rgb(79, 87, 188);
/* oklch */ color: oklch(50.5% 0.157 275.9);
Tailwind
colors: {
  custom: {
    50: '#8a86d1',
    500: '#4f57bc',
    950: '#000000',
  },
}
SCSS
$custom: #4f57bc;
$custom-light: #8a86d1;
$custom-dark: #000000;
JSON
{
  "hex": "#4f57bc",
  "rgb": {
    "r": 79,
    "g": 87,
    "b": 188
  },
  "hsl": {
    "h": 235.596,
    "s": 44.856,
    "l": 52.353
  },
  "oklch": {
    "l": 0.5053,
    "c": 0.15664,
    "h": 275.9
  },
  "luminance": 0.12109
}

Semantic roles & 50–950 ramp

primary
#4F57BC
secondary
#CBC89C
accent
#CB53D5
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0D0B14
muted
#7D7C82

Preview Lab

Preview with #4F57BC

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

Preview Lab → · Contrast checker → · Palette generator →

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