#4957D4#4957D4

#4957D4 is a mid, vivid blue. Relative luminance 0.130; OKLCH L 52.0% C 0.191 H 273.0°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#4957D4
RGBrgb(73, 87, 212)
HSLhsl(234, 62%, 56%)
HSVhsv(234, 66%, 83%)
CMYKcmyk(65.6%, 59%, 0%, 16.9%)
CIE-LABlab(42.74, 34.13, -66.11)
CIE-LCHlch(42.74, 74.40, 297.31°)
OKLaboklab(51.99% 0.0099 -0.1904)
OKLCHoklch(51.99% 0.191 273)
XYZxyz(18.0355, 12.9847, 63.8304)
Luminance0.1299 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4957D4 #D4C649
analogous
#499CD4 #4957D4 #8049D4
triadic
#4957D4 #D44957 #57D449
tetradic
#4957D4 #D4499C #D4C649 #49D480
square
#4957D4 #D4499C #D4C649 #49D480
split-complementary
#4957D4 #D48049 #9CD449
monochromatic
#1F2984 #2B39B5 #4957D4 #7B85E0 #ACB2EB

Accessibility & contrast

On white

5.84
#4957D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#4957D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4957D4
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4957D4#FFFFFF#000000##FFFFFF
##4957D41.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD8
Deuteranopia (green-blind)
#005FD2
Tritanopia (blue-blind)
#00768D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4957d4;
/* rgb */ color: rgb(73, 87, 212);
/* oklch */ color: oklch(52.0% 0.191 273.0);
Tailwind
colors: {
  custom: {
    50: '#8b86e2',
    500: '#4957d4',
    950: '#000000',
  },
}
SCSS
$custom: #4957d4;
$custom-light: #8b86e2;
$custom-dark: #000000;
JSON
{
  "hex": "#4957d4",
  "rgb": {
    "r": 73,
    "g": 87,
    "b": 212
  },
  "hsl": {
    "h": 233.957,
    "s": 61.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.51986,
    "c": 0.19067,
    "h": 273
  },
  "luminance": 0.12986
}

Semantic roles & 50–950 ramp

primary
#4957D4
secondary
#D9D3A0
accent
#D543E5
background
#F9F8FE
surface
#F1EFFC
border
#CBCAD5
text
#0D0B15
muted
#7E7C84

Preview Lab

Preview with #4957D4

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

Preview Lab → · Contrast checker → · Palette generator →

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