#4A5ACA#4A5ACA

#4A5ACA is a mid, vivid blue. Relative luminance 0.130; OKLCH L 51.8% C 0.173 H 272.7°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#4A5ACA
RGBrgb(74, 90, 202)
HSLhsl(233, 55%, 54%)
HSVhsv(233, 63%, 79%)
CMYKcmyk(63.4%, 55.4%, 0%, 20.8%)
CIE-LABlab(42.81, 28.98, -60.24)
CIE-LCHlch(42.81, 66.85, 295.69°)
OKLaboklab(51.82% 0.0082 -0.1731)
OKLCHoklch(51.82% 0.173 272.7)
XYZxyz(17.1373, 13.0310, 57.4778)
Luminance0.1303 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A5ACA #CABA4A
analogous
#4A9ACA #4A5ACA #7A4ACA
triadic
#4A5ACA #CA4A5A #5ACA4A
tetradic
#4A5ACA #CA4A9A #CABA4A #4ACA7A
square
#4A5ACA #CA4A9A #CABA4A #4ACA7A
split-complementary
#4A5ACA #CA7A4A #9ACA4A
monochromatic
#232D77 #313FA6 #4A5ACA #7985D8 #A9B0E6

Accessibility & contrast

On white

5.82
#4A5ACA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#4A5ACA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A5ACA
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A5ACA#FFFFFF#000000##FFFFFF
##4A5ACA1.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BCE
Deuteranopia (green-blind)
#0060C8
Tritanopia (blue-blind)
#007589
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4a5aca;
/* rgb */ color: rgb(74, 90, 202);
/* oklch */ color: oklch(51.8% 0.173 272.7);
Tailwind
colors: {
  custom: {
    50: '#8988db',
    500: '#4a5aca',
    950: '#000000',
  },
}
SCSS
$custom: #4a5aca;
$custom-light: #8988db;
$custom-dark: #000000;
JSON
{
  "hex": "#4a5aca",
  "rgb": {
    "r": 74,
    "g": 90,
    "b": 202
  },
  "hsl": {
    "h": 232.5,
    "s": 54.701,
    "l": 54.118
  },
  "oklch": {
    "l": 0.51821,
    "c": 0.17329,
    "h": 272.7
  },
  "luminance": 0.13032
}

Semantic roles & 50–950 ramp

primary
#4A5ACA
secondary
#D3CC9D
accent
#CC4ADE
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4A5ACA

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

Preview Lab → · Contrast checker → · Palette generator →

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