#4A55CF#4A55CF

#4A55CF is a mid, vivid blue. Relative luminance 0.125; OKLCH L 51.3% C 0.186 H 273.9°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#4A55CF
RGBrgb(74, 85, 207)
HSLhsl(235, 58%, 55%)
HSVhsv(235, 64%, 81%)
CMYKcmyk(64.3%, 58.9%, 0%, 18.8%)
CIE-LABlab(41.93, 33.82, -64.55)
CIE-LCHlch(41.93, 72.87, 297.65°)
OKLaboklab(51.28% 0.0127 -0.1858)
OKLCHoklch(51.28% 0.186 273.9)
XYZxyz(17.3313, 12.4563, 60.5104)
Luminance0.1246 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A55CF #CFC44A
analogous
#4A97CF #4A55CF #824ACF
triadic
#4A55CF #CF4A55 #55CF4A
tetradic
#4A55CF #CF4A97 #CFC44A #4ACF82
square
#4A55CF #CF4A97 #CFC44A #4ACF82
split-complementary
#4A55CF #CF824A #97CF4A
monochromatic
#21297D #2E39AE #4A55CF #7A82DC #ABB0E9

Accessibility & contrast

On white

6.01
#4A55CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#4A55CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A55CF
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A55CF#FFFFFF#000000##FFFFFF
##4A55CF1.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D3
Deuteranopia (green-blind)
#005DCD
Tritanopia (blue-blind)
#00738A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4a55cf;
/* rgb */ color: rgb(74, 85, 207);
/* oklch */ color: oklch(51.3% 0.186 273.9);
Tailwind
colors: {
  custom: {
    50: '#8b85df',
    500: '#4a55cf',
    950: '#000000',
  },
}
SCSS
$custom: #4a55cf;
$custom-light: #8b85df;
$custom-dark: #000000;
JSON
{
  "hex": "#4a55cf",
  "rgb": {
    "r": 74,
    "g": 85,
    "b": 207
  },
  "hsl": {
    "h": 235.038,
    "s": 58.079,
    "l": 55.098
  },
  "oklch": {
    "l": 0.51284,
    "c": 0.18624,
    "h": 273.9
  },
  "luminance": 0.12458
}

Semantic roles & 50–950 ramp

primary
#4A55CF
secondary
#D6D29F
accent
#D446E1
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4A55CF

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

Preview Lab → · Contrast checker → · Palette generator →

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