#4A5CCB#4A5CCB

#4A5CCB is a mid, vivid blue. Relative luminance 0.134; OKLCH L 52.3% C 0.172 H 272.1°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#4A5CCB
RGBrgb(74, 92, 203)
HSLhsl(232, 55%, 54%)
HSVhsv(232, 64%, 80%)
CMYKcmyk(63.5%, 54.7%, 0%, 20.4%)
CIE-LABlab(43.39, 28.06, -59.88)
CIE-LCHlch(43.39, 66.13, 295.11°)
OKLaboklab(52.28% 0.0064 -0.172)
OKLCHoklch(52.28% 0.172 272.1)
XYZxyz(17.4271, 13.4204, 58.1604)
Luminance0.1342 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A5CCB #CBB94A
analogous
#4A9DCB #4A5CCB #794ACB
triadic
#4A5CCB #CB4A5C #5CCB4A
tetradic
#4A5CCB #CB4A9D #CBB94A #4ACB79
square
#4A5CCB #CB4A9D #CBB94A #4ACB79
split-complementary
#4A5CCB #CB794A #9DCB4A
monochromatic
#232E78 #3041A8 #4A5CCB #7A87D9 #A9B2E6

Accessibility & contrast

On white

5.70
#4A5CCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#4A5CCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A5CCB
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A5CCB#FFFFFF#000000##FFFFFF
##4A5CCB1.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#026CCF
Deuteranopia (green-blind)
#0061C9
Tritanopia (blue-blind)
#00768A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4a5ccb;
/* rgb */ color: rgb(74, 92, 203);
/* oklch */ color: oklch(52.3% 0.172 272.1);
Tailwind
colors: {
  custom: {
    50: '#8a89dc',
    500: '#4a5ccb',
    950: '#000000',
  },
}
SCSS
$custom: #4a5ccb;
$custom-light: #8a89dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4a5ccb",
  "rgb": {
    "r": 74,
    "g": 92,
    "b": 203
  },
  "hsl": {
    "h": 231.628,
    "s": 55.365,
    "l": 54.314
  },
  "oklch": {
    "l": 0.52278,
    "c": 0.17213,
    "h": 272.1
  },
  "luminance": 0.13422
}

Semantic roles & 50–950 ramp

primary
#4A5CCB
secondary
#D4CC9D
accent
#CA49DF
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4A5CCB

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

Preview Lab → · Contrast checker → · Palette generator →

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