#4F57BB#4F57BB

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

Color values

HEX#4F57BB
RGBrgb(79, 87, 187)
HSLhsl(236, 44%, 52%)
HSVhsv(236, 58%, 73%)
CMYKcmyk(57.8%, 53.5%, 0%, 26.7%)
CIE-LABlab(41.32, 26.69, -53.93)
CIE-LCHlch(41.32, 60.17, 296.33°)
OKLaboklab(50.46% 0.0159 -0.1544)
OKLCHoklch(50.46% 0.155 275.9)
XYZxyz(15.5994, 12.0654, 48.5109)
Luminance0.1207 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F57BB #BBB34F
analogous
#4F8DBB #4F57BB #7D4FBB
triadic
#4F57BB #BB4F57 #57BB4F
tetradic
#4F57BB #BB4F8D #BBB34F #4FBB7D
square
#4F57BB #BB4F8D #BBB34F #4FBB7D
split-complementary
#4F57BB #BB7D4F #8DBB4F
monochromatic
#282D68 #394094 #4F57BB #7B81CC #A7ABDD

Accessibility & contrast

On white

6.15
#4F57BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#4F57BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F57BB
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F57BB#FFFFFF#000000##FFFFFF
##4F57BB1.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A66BE
Deuteranopia (green-blind)
#005DB9
Tritanopia (blue-blind)
#076E80
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4f57bb;
/* rgb */ color: rgb(79, 87, 187);
/* oklch */ color: oklch(50.5% 0.155 275.9);
Tailwind
colors: {
  custom: {
    50: '#8a86d0',
    500: '#4f57bb',
    950: '#000000',
  },
}
SCSS
$custom: #4f57bb;
$custom-light: #8a86d0;
$custom-dark: #000000;
JSON
{
  "hex": "#4f57bb",
  "rgb": {
    "r": 79,
    "g": 87,
    "b": 187
  },
  "hsl": {
    "h": 235.556,
    "s": 44.262,
    "l": 52.157
  },
  "oklch": {
    "l": 0.50458,
    "c": 0.15524,
    "h": 275.9
  },
  "luminance": 0.12067
}

Semantic roles & 50–950 ramp

primary
#4F57BB
secondary
#CAC79B
accent
#CA54D4
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0C0B14
muted
#7D7C82

Preview Lab

Preview with #4F57BB

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

Preview Lab → · Contrast checker → · Palette generator →

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