#4954AF#4954AF

#4954AF is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.6% C 0.144 H 274.6°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#4954AF
RGBrgb(73, 84, 175)
HSLhsl(234, 41%, 49%)
HSVhsv(234, 58%, 69%)
CMYKcmyk(58.3%, 52%, 0%, 31.4%)
CIE-LABlab(39.33, 23.37, -50.11)
CIE-LCHlch(39.33, 55.29, 295.01°)
OKLaboklab(48.6% 0.0114 -0.1434)
OKLCHoklch(48.6% 0.144 274.6)
XYZxyz(13.6533, 10.8513, 41.9242)
Luminance0.1085 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4954AF #AFA449
analogous
#4987AF #4954AF #7149AF
triadic
#4954AF #AF4954 #54AF49
tetradic
#4954AF #AF4987 #AFA449 #49AF71
square
#4954AF #AF4987 #AFA449 #49AF71
split-complementary
#4954AF #AF7149 #87AF49
monochromatic
#252B59 #373F84 #4954AF #717AC4 #9CA3D6

Accessibility & contrast

On white

6.62
#4954AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#4954AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4954AF
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4954AF#FFFFFF#000000##FFFFFF
##4954AF1.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2261B2
Deuteranopia (green-blind)
#0A58AD
Tritanopia (blue-blind)
#016979
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4954af;
/* rgb */ color: rgb(73, 84, 175);
/* oklch */ color: oklch(48.6% 0.144 274.6);
Tailwind
colors: {
  custom: {
    50: '#8584c7',
    500: '#4954af',
    950: '#000000',
  },
}
SCSS
$custom: #4954af;
$custom-light: #8584c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4954af",
  "rgb": {
    "r": 73,
    "g": 84,
    "b": 175
  },
  "hsl": {
    "h": 233.529,
    "s": 41.129,
    "l": 48.627
  },
  "oklch": {
    "l": 0.48599,
    "c": 0.14382,
    "h": 274.6
  },
  "luminance": 0.10852
}

Semantic roles & 50–950 ramp

primary
#4954AF
secondary
#C2BD91
accent
#C457D1
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0C0A13
muted
#7D7C82

Preview Lab

Preview with #4954AF

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

Preview Lab → · Contrast checker → · Palette generator →

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