#4B57BF#4B57BF

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

Color values

HEX#4B57BF
RGBrgb(75, 87, 191)
HSLhsl(234, 48%, 52%)
HSVhsv(234, 61%, 75%)
CMYKcmyk(60.7%, 54.5%, 0%, 25.1%)
CIE-LABlab(41.33, 27.29, -56.25)
CIE-LCHlch(41.33, 62.52, 295.88°)
OKLaboklab(50.49% 0.0116 -0.1614)
OKLCHoklch(50.49% 0.162 274.1)
XYZxyz(15.7107, 12.0726, 50.7824)
Luminance0.1207 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B57BF #BFB34B
analogous
#4B91BF #4B57BF #794BBF
triadic
#4B57BF #BF4B57 #57BF4B
tetradic
#4B57BF #BF4B91 #BFB34B #4BBF79
square
#4B57BF #BF4B91 #BFB34B #4BBF79
split-complementary
#4B57BF #BF794B #91BF4B
monochromatic
#262D6A #364097 #4B57BF #7881CF #A5ABDF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4B57BF#FFFFFF#000000##FFFFFF
##4B57BF1.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)
#0E67C3
Deuteranopia (green-blind)
#005DBD
Tritanopia (blue-blind)
#006F82
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4b57bf;
/* rgb */ color: rgb(75, 87, 191);
/* oklch */ color: oklch(50.5% 0.162 274.1);
Tailwind
colors: {
  custom: {
    50: '#8886d3',
    500: '#4b57bf',
    950: '#000000',
  },
}
SCSS
$custom: #4b57bf;
$custom-light: #8886d3;
$custom-dark: #000000;
JSON
{
  "hex": "#4b57bf",
  "rgb": {
    "r": 75,
    "g": 87,
    "b": 191
  },
  "hsl": {
    "h": 233.793,
    "s": 47.541,
    "l": 52.157
  },
  "oklch": {
    "l": 0.50485,
    "c": 0.16179,
    "h": 274.1
  },
  "luminance": 0.12074
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4B57BF

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

Preview Lab → · Contrast checker → · Palette generator →

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