#4954E3#4954E3

#4954E3 is a mid, highly saturated blue. Relative luminance 0.133; OKLCH L 52.7% C 0.214 H 273.1°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#4954E3
RGBrgb(73, 84, 227)
HSLhsl(236, 73%, 59%)
HSVhsv(236, 68%, 89%)
CMYKcmyk(67.8%, 63%, 0%, 11%)
CIE-LABlab(43.21, 41.06, -73.89)
CIE-LCHlch(43.21, 84.54, 299.06°)
OKLaboklab(52.7% 0.0117 -0.2133)
OKLCHoklch(52.7% 0.214 273.1)
XYZxyz(19.7785, 13.3013, 74.1832)
Luminance0.1330 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4954E3 #E3D849
analogous
#49A1E3 #4954E3 #8B49E3
triadic
#4954E3 #E34954 #54E349
tetradic
#4954E3 #E349A1 #E3D849 #49E38B
square
#4954E3 #E349A1 #E3D849 #49E38B
split-complementary
#4954E3 #E38B49 #A1E349
monochromatic
#18219A #202CCF #4954E3 #7E86EB #B3B8F3

Accessibility & contrast

On white

5.74
#4954E3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#4954E3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4954E3
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4954E3#FFFFFF#000000##FFFFFF
##4954E31.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE8
Deuteranopia (green-blind)
#005FE0
Tritanopia (blue-blind)
#007994
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4954e3;
/* rgb */ color: rgb(73, 84, 227);
/* oklch */ color: oklch(52.7% 0.214 273.1);
Tailwind
colors: {
  custom: {
    50: '#8e84ed',
    500: '#4954e3',
    950: '#000000',
  },
}
SCSS
$custom: #4954e3;
$custom-light: #8e84ed;
$custom-dark: #000000;
JSON
{
  "hex": "#4954e3",
  "rgb": {
    "r": 73,
    "g": 84,
    "b": 227
  },
  "hsl": {
    "h": 235.714,
    "s": 73.333,
    "l": 58.824
  },
  "oklch": {
    "l": 0.52704,
    "c": 0.2136,
    "h": 273.1
  },
  "luminance": 0.13303
}

Semantic roles & 50–950 ramp

primary
#4954E3
secondary
#E2DEA6
accent
#E338F0
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #4954E3

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

Preview Lab → · Contrast checker → · Palette generator →

#4954E3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva