#4957BA#4957BA

#4957BA is a mid, vivid blue. Relative luminance 0.118; OKLCH L 50.0% C 0.155 H 273.4°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#4957BA
RGBrgb(73, 87, 186)
HSLhsl(233, 45%, 51%)
HSVhsv(233, 61%, 73%)
CMYKcmyk(60.8%, 53.2%, 0%, 27.1%)
CIE-LABlab(40.86, 25.21, -54.10)
CIE-LCHlch(40.86, 59.69, 294.99°)
OKLaboklab(49.99% 0.0091 -0.1551)
OKLCHoklch(49.99% 0.155 273.4)
XYZxyz(15.0159, 11.7768, 47.9267)
Luminance0.1178 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4957BA #BAAC49
analogous
#4990BA #4957BA #7349BA
triadic
#4957BA #BA4957 #57BA49
tetradic
#4957BA #BA4990 #BAAC49 #49BA73
square
#4957BA #BA4990 #BAAC49 #49BA73
split-complementary
#4957BA #BA7349 #90BA49
monochromatic
#262D63 #36418F #4957BA #7580CB #A2A9DC

Accessibility & contrast

On white

6.26
#4957BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#4957BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4957BA
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4957BA#FFFFFF#000000##FFFFFF
##4957BA1.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1965BD
Deuteranopia (green-blind)
#005CB8
Tritanopia (blue-blind)
#006E80
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4957ba;
/* rgb */ color: rgb(73, 87, 186);
/* oklch */ color: oklch(50.0% 0.155 273.4);
Tailwind
colors: {
  custom: {
    50: '#8686cf',
    500: '#4957ba',
    950: '#000000',
  },
}
SCSS
$custom: #4957ba;
$custom-light: #8686cf;
$custom-dark: #000000;
JSON
{
  "hex": "#4957ba",
  "rgb": {
    "r": 73,
    "g": 87,
    "b": 186
  },
  "hsl": {
    "h": 232.566,
    "s": 45.02,
    "l": 50.784
  },
  "oklch": {
    "l": 0.49988,
    "c": 0.15537,
    "h": 273.4
  },
  "luminance": 0.11778
}

Semantic roles & 50–950 ramp

primary
#4957BA
secondary
#C8C296
accent
#C553D5
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0C0B14
muted
#7D7C82

Preview Lab

Preview with #4957BA

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

Preview Lab → · Contrast checker → · Palette generator →

#4957BA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva