#4A5CBF#4A5CBF

#4A5CBF is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.4% C 0.156 H 272.1°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#4A5CBF
RGBrgb(74, 92, 191)
HSLhsl(231, 48%, 52%)
HSVhsv(231, 61%, 75%)
CMYKcmyk(61.3%, 51.8%, 0%, 25.1%)
CIE-LABlab(42.57, 23.93, -54.26)
CIE-LCHlch(42.57, 59.30, 293.80°)
OKLaboklab(51.4% 0.0056 -0.1555)
OKLCHoklch(51.4% 0.156 272.1)
XYZxyz(16.0520, 12.8704, 50.9184)
Luminance0.1287 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A5CBF #BFAD4A
analogous
#4A97BF #4A5CBF #734ABF
triadic
#4A5CBF #BF4A5C #5CBF4A
tetradic
#4A5CBF #BF4A97 #BFAD4A #4ABF73
square
#4A5CBF #BF4A97 #BFAD4A #4ABF73
split-complementary
#4A5CBF #BF734A #97BF4A
monochromatic
#253069 #354497 #4A5CBF #7785CF #A4ADDF

Accessibility & contrast

On white

5.88
#4A5CBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#4A5CBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A5CBF
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A5CBF#FFFFFF#000000##FFFFFF
##4A5CBF1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#226AC3
Deuteranopia (green-blind)
#0060BD
Tritanopia (blue-blind)
#007385
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4a5cbf;
/* rgb */ color: rgb(74, 92, 191);
/* oklch */ color: oklch(51.4% 0.156 272.1);
Tailwind
colors: {
  custom: {
    50: '#8789d3',
    500: '#4a5cbf',
    950: '#000000',
  },
}
SCSS
$custom: #4a5cbf;
$custom-light: #8789d3;
$custom-dark: #000000;
JSON
{
  "hex": "#4a5cbf",
  "rgb": {
    "r": 74,
    "g": 92,
    "b": 191
  },
  "hsl": {
    "h": 230.769,
    "s": 47.755,
    "l": 51.961
  },
  "oklch": {
    "l": 0.51398,
    "c": 0.15558,
    "h": 272.1
  },
  "luminance": 0.12872
}

Semantic roles & 50–950 ramp

primary
#4A5CBF
secondary
#CCC499
accent
#C350D7
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #4A5CBF

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

Preview Lab → · Contrast checker → · Palette generator →

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