#4F57BF#4F57BF

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

Color values

HEX#4F57BF
RGBrgb(79, 87, 191)
HSLhsl(236, 47%, 53%)
HSVhsv(236, 59%, 75%)
CMYKcmyk(58.6%, 54.5%, 0%, 25.1%)
CIE-LABlab(41.59, 28.02, -55.82)
CIE-LCHlch(41.59, 62.46, 296.66°)
OKLaboklab(50.75% 0.0161 -0.16)
OKLCHoklch(50.75% 0.161 275.8)
XYZxyz(16.0336, 12.2391, 50.7976)
Luminance0.1224 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F57BF #BFB74F
analogous
#4F8FBF #4F57BF #7F4FBF
triadic
#4F57BF #BF4F57 #57BF4F
tetradic
#4F57BF #BF4F8F #BFB74F #4FBF7F
square
#4F57BF #BF4F8F #BFB74F #4FBF7F
split-complementary
#4F57BF #BF7F4F #8FBF4F
monochromatic
#272C6C #383F99 #4F57BF #7C82CF #A9ADE0

Accessibility & contrast

On white

6.09
#4F57BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#4F57BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F57BF
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F57BF#FFFFFF#000000##FFFFFF
##4F57BF1.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1167C3
Deuteranopia (green-blind)
#005EBD
Tritanopia (blue-blind)
#006F82
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4f57bf;
/* rgb */ color: rgb(79, 87, 191);
/* oklch */ color: oklch(50.7% 0.161 275.8);
Tailwind
colors: {
  custom: {
    50: '#8a86d3',
    500: '#4f57bf',
    950: '#000000',
  },
}
SCSS
$custom: #4f57bf;
$custom-light: #8a86d3;
$custom-dark: #000000;
JSON
{
  "hex": "#4f57bf",
  "rgb": {
    "r": 79,
    "g": 87,
    "b": 191
  },
  "hsl": {
    "h": 235.714,
    "s": 46.667,
    "l": 52.941
  },
  "oklch": {
    "l": 0.5075,
    "c": 0.1608,
    "h": 275.8
  },
  "luminance": 0.1224
}

Semantic roles & 50–950 ramp

primary
#4F57BF
secondary
#CDCA9D
accent
#CD51D6
background
#F9F8FD
surface
#F1EFFA
border
#CBCAD3
text
#0D0B14
muted
#7E7C83

Preview Lab

Preview with #4F57BF

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

Preview Lab → · Contrast checker → · Palette generator →

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