#4A55CD#4A55CD

#4A55CD is a mid, vivid blue. Relative luminance 0.124; OKLCH L 51.1% C 0.184 H 274.0°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#4A55CD
RGBrgb(74, 85, 205)
HSLhsl(235, 57%, 55%)
HSVhsv(235, 64%, 80%)
CMYKcmyk(63.9%, 58.5%, 0%, 19.6%)
CIE-LABlab(41.78, 33.14, -63.64)
CIE-LCHlch(41.78, 71.75, 297.51°)
OKLaboklab(51.13% 0.0127 -0.1831)
OKLCHoklch(51.13% 0.184 274)
XYZxyz(17.0883, 12.3592, 59.2308)
Luminance0.1236 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A55CD #CDC24A
analogous
#4A96CD #4A55CD #814ACD
triadic
#4A55CD #CD4A55 #55CD4A
tetradic
#4A55CD #CD4A96 #CDC24A #4ACD81
square
#4A55CD #CD4A96 #CDC24A #4ACD81
split-complementary
#4A55CD #CD814A #96CD4A
monochromatic
#22297B #2F3AAB #4A55CD #7A82DA #AAAFE7

Accessibility & contrast

On white

6.05
#4A55CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#4A55CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A55CD
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A55CD#FFFFFF#000000##FFFFFF
##4A55CD1.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D1
Deuteranopia (green-blind)
#005DCB
Tritanopia (blue-blind)
#007289
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4a55cd;
/* rgb */ color: rgb(74, 85, 205);
/* oklch */ color: oklch(51.1% 0.184 274.0);
Tailwind
colors: {
  custom: {
    50: '#8a84dd',
    500: '#4a55cd',
    950: '#000000',
  },
}
SCSS
$custom: #4a55cd;
$custom-light: #8a84dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4a55cd",
  "rgb": {
    "r": 74,
    "g": 85,
    "b": 205
  },
  "hsl": {
    "h": 234.962,
    "s": 56.71,
    "l": 54.706
  },
  "oklch": {
    "l": 0.51125,
    "c": 0.18359,
    "h": 274
  },
  "luminance": 0.12361
}

Semantic roles & 50–950 ramp

primary
#4A55CD
secondary
#D5D09E
accent
#D348E0
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4A55CD

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

Preview Lab → · Contrast checker → · Palette generator →

#4A55CD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva