#4F57BD#4F57BD

#4F57BD is a mid, vivid blue. Relative luminance 0.122; OKLCH L 50.6% C 0.158 H 275.8°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#4F57BD
RGBrgb(79, 87, 189)
HSLhsl(236, 45%, 53%)
HSVhsv(236, 58%, 74%)
CMYKcmyk(58.2%, 54%, 0%, 25.9%)
CIE-LABlab(41.46, 27.35, -54.87)
CIE-LCHlch(41.46, 61.31, 296.50°)
OKLaboklab(50.6% 0.016 -0.1572)
OKLCHoklch(50.6% 0.158 275.8)
XYZxyz(15.8150, 12.1516, 49.6464)
Luminance0.1215 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F57BD #BDB54F
analogous
#4F8EBD #4F57BD #7E4FBD
triadic
#4F57BD #BD4F57 #57BD4F
tetradic
#4F57BD #BD4F8E #BDB54F #4FBD7E
square
#4F57BD #BD4F8E #BDB54F #4FBD7E
split-complementary
#4F57BD #BD7E4F #8EBD4F
monochromatic
#282D6A #383F96 #4F57BD #7C81CE #A8ACDE

Accessibility & contrast

On white

6.12
#4F57BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#4F57BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F57BD
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F57BD#FFFFFF#000000##FFFFFF
##4F57BD1.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1667C1
Deuteranopia (green-blind)
#005DBB
Tritanopia (blue-blind)
#006F81
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4f57bd;
/* rgb */ color: rgb(79, 87, 189);
/* oklch */ color: oklch(50.6% 0.158 275.8);
Tailwind
colors: {
  custom: {
    50: '#8a86d2',
    500: '#4f57bd',
    950: '#000000',
  },
}
SCSS
$custom: #4f57bd;
$custom-light: #8a86d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4f57bd",
  "rgb": {
    "r": 79,
    "g": 87,
    "b": 189
  },
  "hsl": {
    "h": 235.636,
    "s": 45.455,
    "l": 52.549
  },
  "oklch": {
    "l": 0.50603,
    "c": 0.15802,
    "h": 275.8
  },
  "luminance": 0.12153
}

Semantic roles & 50–950 ramp

primary
#4F57BD
secondary
#CCC89C
accent
#CC53D5
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0D0B14
muted
#7D7C82

Preview Lab

Preview with #4F57BD

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

Preview Lab → · Contrast checker → · Palette generator →

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