#4A5ACF#4A5ACF

#4A5ACF is a mid, vivid blue. Relative luminance 0.133; OKLCH L 52.2% C 0.180 H 272.6°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#4A5ACF
RGBrgb(74, 90, 207)
HSLhsl(233, 58%, 55%)
HSVhsv(233, 64%, 81%)
CMYKcmyk(64.3%, 56.5%, 0%, 18.8%)
CIE-LABlab(43.17, 30.70, -62.54)
CIE-LCHlch(43.17, 69.67, 296.14°)
OKLaboklab(52.2% 0.0083 -0.1798)
OKLCHoklch(52.2% 0.18 272.6)
XYZxyz(17.7389, 13.2716, 60.6462)
Luminance0.1327 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A5ACF #CFBF4A
analogous
#4A9CCF #4A5ACF #7C4ACF
triadic
#4A5ACF #CF4A5A #5ACF4A
tetradic
#4A5ACF #CF4A9C #CFBF4A #4ACF7C
square
#4A5ACF #CF4A9C #CFBF4A #4ACF7C
split-complementary
#4A5ACF #CF7C4A #9CCF4A
monochromatic
#212C7D #2E3DAE #4A5ACF #7A86DC #ABB2E9

Accessibility & contrast

On white

5.75
#4A5ACF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#4A5ACF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A5ACF
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A5ACF#FFFFFF#000000##FFFFFF
##4A5ACF1.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD3
Deuteranopia (green-blind)
#0060CD
Tritanopia (blue-blind)
#00768C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4a5acf;
/* rgb */ color: rgb(74, 90, 207);
/* oklch */ color: oklch(52.2% 0.180 272.6);
Tailwind
colors: {
  custom: {
    50: '#8a88de',
    500: '#4a5acf',
    950: '#000000',
  },
}
SCSS
$custom: #4a5acf;
$custom-light: #8a88de;
$custom-dark: #000000;
JSON
{
  "hex": "#4a5acf",
  "rgb": {
    "r": 74,
    "g": 90,
    "b": 207
  },
  "hsl": {
    "h": 232.782,
    "s": 58.079,
    "l": 55.098
  },
  "oklch": {
    "l": 0.52204,
    "c": 0.18004,
    "h": 272.6
  },
  "luminance": 0.13273
}

Semantic roles & 50–950 ramp

primary
#4A5ACF
secondary
#D6D09F
accent
#CF46E1
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4A5ACF

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

Preview Lab → · Contrast checker → · Palette generator →

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