#4F57BA#4F57BA

#4F57BA is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.4% C 0.154 H 275.9°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#4F57BA
RGBrgb(79, 87, 186)
HSLhsl(236, 44%, 52%)
HSVhsv(236, 58%, 73%)
CMYKcmyk(57.5%, 53.2%, 0%, 27.1%)
CIE-LABlab(41.25, 26.35, -53.45)
CIE-LCHlch(41.25, 59.59, 296.24°)
OKLaboklab(50.39% 0.0159 -0.153)
OKLCHoklch(50.39% 0.154 275.9)
XYZxyz(15.4927, 12.0227, 47.9491)
Luminance0.1202 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F57BA #BAB24F
analogous
#4F8DBA #4F57BA #7D4FBA
triadic
#4F57BA #BA4F57 #57BA4F
tetradic
#4F57BA #BA4F8D #BAB24F #4FBA7D
square
#4F57BA #BA4F8D #BAB24F #4FBA7D
split-complementary
#4F57BA #BA7D4F #8DBA4F
monochromatic
#282D66 #394092 #4F57BA #7B81CB #A7ABDC

Accessibility & contrast

On white

6.17
#4F57BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#4F57BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F57BA
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F57BA#FFFFFF#000000##FFFFFF
##4F57BA1.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C66BD
Deuteranopia (green-blind)
#005DB8
Tritanopia (blue-blind)
#0A6E80
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4f57ba;
/* rgb */ color: rgb(79, 87, 186);
/* oklch */ color: oklch(50.4% 0.154 275.9);
Tailwind
colors: {
  custom: {
    50: '#8986cf',
    500: '#4f57ba',
    950: '#000000',
  },
}
SCSS
$custom: #4f57ba;
$custom-light: #8986cf;
$custom-dark: #000000;
JSON
{
  "hex": "#4f57ba",
  "rgb": {
    "r": 79,
    "g": 87,
    "b": 186
  },
  "hsl": {
    "h": 235.514,
    "s": 43.673,
    "l": 51.961
  },
  "oklch": {
    "l": 0.50385,
    "c": 0.15384,
    "h": 275.9
  },
  "luminance": 0.12024
}

Semantic roles & 50–950 ramp

primary
#4F57BA
secondary
#CAC69B
accent
#CA54D3
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0C0B14
muted
#7D7C82

Preview Lab

Preview with #4F57BA

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

Preview Lab → · Contrast checker → · Palette generator →

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