#4A5FCB#4A5FCB

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

Color values

HEX#4A5FCB
RGBrgb(74, 95, 203)
HSLhsl(230, 55%, 54%)
HSVhsv(230, 64%, 80%)
CMYKcmyk(63.5%, 53.2%, 0%, 20.4%)
CIE-LABlab(44.16, 26.17, -58.63)
CIE-LCHlch(44.16, 64.20, 294.05°)
OKLaboklab(52.86% 0.0036 -0.1683)
OKLCHoklch(52.86% 0.168 271.2)
XYZxyz(17.6921, 13.9505, 58.2487)
Luminance0.1395 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A5FCB #CBB64A
analogous
#4A9FCB #4A5FCB #764ACB
triadic
#4A5FCB #CB4A5F #5FCB4A
tetradic
#4A5FCB #CB4A9F #CBB64A #4ACB76
square
#4A5FCB #CB4A9F #CBB64A #4ACB76
split-complementary
#4A5FCB #CB764A #9FCB4A
monochromatic
#233078 #3044A8 #4A5FCB #7A89D9 #A9B3E6

Accessibility & contrast

On white

5.54
#4A5FCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#4A5FCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A5FCB
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A5FCB#FFFFFF#000000##FFFFFF
##4A5FCB1.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#176ECF
Deuteranopia (green-blind)
#0063C9
Tritanopia (blue-blind)
#00788C
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4a5fcb;
/* rgb */ color: rgb(74, 95, 203);
/* oklch */ color: oklch(52.9% 0.168 271.2);
Tailwind
colors: {
  custom: {
    50: '#898cdc',
    500: '#4a5fcb',
    950: '#000000',
  },
}
SCSS
$custom: #4a5fcb;
$custom-light: #898cdc;
$custom-dark: #000000;
JSON
{
  "hex": "#4a5fcb",
  "rgb": {
    "r": 74,
    "g": 95,
    "b": 203
  },
  "hsl": {
    "h": 230.233,
    "s": 55.365,
    "l": 54.314
  },
  "oklch": {
    "l": 0.52858,
    "c": 0.16834,
    "h": 271.2
  },
  "luminance": 0.13952
}

Semantic roles & 50–950 ramp

primary
#4A5FCB
secondary
#D4CB9D
accent
#C649DF
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4A5FCB

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

Preview Lab → · Contrast checker → · Palette generator →

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