#4954D7#4954D7

#4954D7 is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.7% C 0.198 H 273.5°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#4954D7
RGBrgb(73, 84, 215)
HSLhsl(235, 64%, 56%)
HSVhsv(235, 66%, 84%)
CMYKcmyk(66%, 60.9%, 0%, 15.7%)
CIE-LABlab(42.25, 37.01, -68.63)
CIE-LCHlch(42.25, 77.97, 298.34°)
OKLaboklab(51.7% 0.0122 -0.1978)
OKLCHoklch(51.7% 0.198 273.5)
XYZxyz(18.1796, 12.6618, 65.7627)
Luminance0.1266 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4954D7 #D7CC49
analogous
#499BD7 #4954D7 #8549D7
triadic
#4954D7 #D74954 #54D749
tetradic
#4954D7 #D7499B #D7CC49 #49D785
square
#4954D7 #D7499B #D7CC49 #49D785
split-complementary
#4954D7 #D78549 #9BD749
monochromatic
#1E2688 #2934BA #4954D7 #7B83E2 #ADB2ED

Accessibility & contrast

On white

5.94
#4954D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#4954D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4954D7
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4954D7#FFFFFF#000000##FFFFFF
##4954D71.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADB
Deuteranopia (green-blind)
#005DD4
Tritanopia (blue-blind)
#00758D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4954d7;
/* rgb */ color: rgb(73, 84, 215);
/* oklch */ color: oklch(51.7% 0.198 273.5);
Tailwind
colors: {
  custom: {
    50: '#8c84e4',
    500: '#4954d7',
    950: '#000000',
  },
}
SCSS
$custom: #4954d7;
$custom-light: #8c84e4;
$custom-dark: #000000;
JSON
{
  "hex": "#4954d7",
  "rgb": {
    "r": 73,
    "g": 84,
    "b": 215
  },
  "hsl": {
    "h": 235.352,
    "s": 63.964,
    "l": 56.471
  },
  "oklch": {
    "l": 0.51695,
    "c": 0.19821,
    "h": 273.5
  },
  "luminance": 0.12663
}

Semantic roles & 50–950 ramp

primary
#4954D7
secondary
#DBD7A1
accent
#DA41E7
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0D0B16
muted
#7E7C84

Preview Lab

Preview with #4954D7

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

Preview Lab → · Contrast checker → · Palette generator →

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