#4A55CB#4A55CB

#4A55CB is a mid, vivid blue. Relative luminance 0.123; OKLCH L 51.0% C 0.181 H 274.0°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#4A55CB
RGBrgb(74, 85, 203)
HSLhsl(235, 55%, 54%)
HSVhsv(235, 64%, 80%)
CMYKcmyk(63.5%, 58.1%, 0%, 20.4%)
CIE-LABlab(41.63, 32.46, -62.73)
CIE-LCHlch(41.63, 70.63, 297.36°)
OKLaboklab(50.97% 0.0127 -0.1805)
OKLCHoklch(50.97% 0.181 274)
XYZxyz(16.8485, 12.2632, 57.9675)
Luminance0.1226 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A55CB #CBC04A
analogous
#4A96CB #4A55CB #804ACB
triadic
#4A55CB #CB4A55 #55CB4A
tetradic
#4A55CB #CB4A96 #CBC04A #4ACB80
square
#4A55CB #CB4A96 #CBC04A #4ACB80
split-complementary
#4A55CB #CB804A #96CB4A
monochromatic
#232A78 #303AA8 #4A55CB #7A82D9 #A9AEE6

Accessibility & contrast

On white

6.08
#4A55CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#4A55CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A55CB
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A55CB#FFFFFF#000000##FFFFFF
##4A55CB1.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CF
Deuteranopia (green-blind)
#005DC9
Tritanopia (blue-blind)
#007288
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4a55cb;
/* rgb */ color: rgb(74, 85, 203);
/* oklch */ color: oklch(51.0% 0.181 274.0);
Tailwind
colors: {
  custom: {
    50: '#8a84dc',
    500: '#4a55cb',
    950: '#000000',
  },
}
SCSS
$custom: #4a55cb;
$custom-light: #8a84dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4a55cb",
  "rgb": {
    "r": 74,
    "g": 85,
    "b": 203
  },
  "hsl": {
    "h": 234.884,
    "s": 55.365,
    "l": 54.314
  },
  "oklch": {
    "l": 0.50966,
    "c": 0.18091,
    "h": 274
  },
  "luminance": 0.12265
}

Semantic roles & 50–950 ramp

primary
#4A55CB
secondary
#D4CF9D
accent
#D249DF
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4A55CB

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

Preview Lab → · Contrast checker → · Palette generator →

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