#4B57BE#4B57BE

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

Color values

HEX#4B57BE
RGBrgb(75, 87, 190)
HSLhsl(234, 47%, 52%)
HSVhsv(234, 61%, 75%)
CMYKcmyk(60.5%, 54.2%, 0%, 25.5%)
CIE-LABlab(41.26, 26.95, -55.78)
CIE-LCHlch(41.26, 61.95, 295.78°)
OKLaboklab(50.41% 0.0116 -0.16)
OKLCHoklch(50.41% 0.16 274.1)
XYZxyz(15.6011, 12.0287, 50.2049)
Luminance0.1203 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B57BE #BEB24B
analogous
#4B91BE #4B57BE #794BBE
triadic
#4B57BE #BE4B57 #57BE4B
tetradic
#4B57BE #BE4B91 #BEB24B #4BBE79
square
#4B57BE #BE4B91 #BEB24B #4BBE79
split-complementary
#4B57BE #BE794B #91BE4B
monochromatic
#262D69 #364096 #4B57BE #7881CE #A5ABDE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4B57BE#FFFFFF#000000##FFFFFF
##4B57BE1.006.173.416.17
#FFFFFF6.171.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1166C2
Deuteranopia (green-blind)
#005CBC
Tritanopia (blue-blind)
#006F82
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4b57be;
/* rgb */ color: rgb(75, 87, 190);
/* oklch */ color: oklch(50.4% 0.160 274.1);
Tailwind
colors: {
  custom: {
    50: '#8886d2',
    500: '#4b57be',
    950: '#000000',
  },
}
SCSS
$custom: #4b57be;
$custom-light: #8886d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4b57be",
  "rgb": {
    "r": 75,
    "g": 87,
    "b": 190
  },
  "hsl": {
    "h": 233.739,
    "s": 46.939,
    "l": 51.961
  },
  "oklch": {
    "l": 0.50411,
    "c": 0.16041,
    "h": 274.1
  },
  "luminance": 0.1203
}

Semantic roles & 50–950 ramp

primary
#4B57BE
secondary
#CCC699
accent
#C951D7
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #4B57BE

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

Preview Lab → · Contrast checker → · Palette generator →

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