#4A5FCD#4A5FCD

#4A5FCD is a mid, vivid blue. Relative luminance 0.140; OKLCH L 53.0% C 0.171 H 271.2°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#4A5FCD
RGBrgb(74, 95, 205)
HSLhsl(230, 57%, 55%)
HSVhsv(230, 64%, 80%)
CMYKcmyk(63.9%, 53.7%, 0%, 19.6%)
CIE-LABlab(44.30, 26.86, -59.56)
CIE-LCHlch(44.30, 65.33, 294.27°)
OKLaboklab(53.01% 0.0037 -0.171)
OKLCHoklch(53.01% 0.171 271.2)
XYZxyz(17.9320, 14.0465, 59.5120)
Luminance0.1405 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A5FCD #CDB84A
analogous
#4AA0CD #4A5FCD #774ACD
triadic
#4A5FCD #CD4A5F #5FCD4A
tetradic
#4A5FCD #CD4AA0 #CDB84A #4ACD77
square
#4A5FCD #CD4AA0 #CDB84A #4ACD77
split-complementary
#4A5FCD #CD774A #A0CD4A
monochromatic
#22307B #2F43AB #4A5FCD #7A89DA #AAB4E7

Accessibility & contrast

On white

5.51
#4A5FCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#4A5FCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A5FCD
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A5FCD#FFFFFF#000000##FFFFFF
##4A5FCD1.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#116FD1
Deuteranopia (green-blind)
#0063CB
Tritanopia (blue-blind)
#00798D
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4a5fcd;
/* rgb */ color: rgb(74, 95, 205);
/* oklch */ color: oklch(53.0% 0.171 271.2);
Tailwind
colors: {
  custom: {
    50: '#8a8cdd',
    500: '#4a5fcd',
    950: '#000000',
  },
}
SCSS
$custom: #4a5fcd;
$custom-light: #8a8cdd;
$custom-dark: #000000;
JSON
{
  "hex": "#4a5fcd",
  "rgb": {
    "r": 74,
    "g": 95,
    "b": 205
  },
  "hsl": {
    "h": 230.382,
    "s": 56.71,
    "l": 54.706
  },
  "oklch": {
    "l": 0.53005,
    "c": 0.17107,
    "h": 271.2
  },
  "luminance": 0.14048
}

Semantic roles & 50–950 ramp

primary
#4A5FCD
secondary
#D5CC9E
accent
#C848E0
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4A5FCD

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

Preview Lab → · Contrast checker → · Palette generator →

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