#4954CA#4954CA

#4954CA is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.6% C 0.181 H 273.9°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#4954CA
RGBrgb(73, 84, 202)
HSLhsl(235, 55%, 54%)
HSVhsv(235, 64%, 79%)
CMYKcmyk(63.9%, 58.4%, 0%, 20.8%)
CIE-LABlab(41.25, 32.59, -62.78)
CIE-LCHlch(41.25, 70.73, 297.43°)
OKLaboklab(50.64% 0.0124 -0.1806)
OKLCHoklch(50.64% 0.181 273.9)
XYZxyz(16.5751, 12.0200, 57.3123)
Luminance0.1202 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4954CA #CABF49
analogous
#4995CA #4954CA #7F49CA
triadic
#4954CA #CA4954 #54CA49
tetradic
#4954CA #CA4995 #CABF49 #49CA7F
square
#4954CA #CA4995 #CABF49 #49CA7F
split-complementary
#4954CA #CA7F49 #95CA49
monochromatic
#222A76 #303AA6 #4954CA #7881D8 #A8ADE6

Accessibility & contrast

On white

6.17
#4954CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#4954CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4954CA
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4954CA#FFFFFF#000000##FFFFFF
##4954CA1.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CE
Deuteranopia (green-blind)
#005CC8
Tritanopia (blue-blind)
#007187
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4954ca;
/* rgb */ color: rgb(73, 84, 202);
/* oklch */ color: oklch(50.6% 0.181 273.9);
Tailwind
colors: {
  custom: {
    50: '#8984db',
    500: '#4954ca',
    950: '#000000',
  },
}
SCSS
$custom: #4954ca;
$custom-light: #8984db;
$custom-dark: #000000;
JSON
{
  "hex": "#4954ca",
  "rgb": {
    "r": 73,
    "g": 84,
    "b": 202
  },
  "hsl": {
    "h": 234.884,
    "s": 54.894,
    "l": 53.922
  },
  "oklch": {
    "l": 0.50642,
    "c": 0.18108,
    "h": 273.9
  },
  "luminance": 0.12021
}

Semantic roles & 50–950 ramp

primary
#4954CA
secondary
#D3CE9C
accent
#D24ADE
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4954CA

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

Preview Lab → · Contrast checker → · Palette generator →

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