#4A5ABC#4A5ABC

#4A5ABC is a mid, vivid blue. Relative luminance 0.124; OKLCH L 50.8% C 0.154 H 272.7°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#4A5ABC
RGBrgb(74, 90, 188)
HSLhsl(232, 46%, 51%)
HSVhsv(232, 61%, 74%)
CMYKcmyk(60.6%, 52.1%, 0%, 26.3%)
CIE-LABlab(41.84, 24.17, -53.68)
CIE-LCHlch(41.84, 58.88, 294.24°)
OKLaboklab(50.79% 0.0074 -0.1538)
OKLCHoklch(50.79% 0.154 272.7)
XYZxyz(15.5543, 12.3978, 49.1405)
Luminance0.1240 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A5ABC #BCAC4A
analogous
#4A93BC #4A5ABC #734ABC
triadic
#4A5ABC #BC4A5A #5ABC4A
tetradic
#4A5ABC #BC4A93 #BCAC4A #4ABC73
square
#4A5ABC #BC4A93 #BCAC4A #4ABC73
split-complementary
#4A5ABC #BC734A #93BC4A
monochromatic
#262F66 #364393 #4A5ABC #7783CD #A3ABDD

Accessibility & contrast

On white

6.03
#4A5ABC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#4A5ABC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A5ABC
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A5ABC#FFFFFF#000000##FFFFFF
##4A5ABC1.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2168BF
Deuteranopia (green-blind)
#005EBA
Tritanopia (blue-blind)
#007182
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4a5abc;
/* rgb */ color: rgb(74, 90, 188);
/* oklch */ color: oklch(50.8% 0.154 272.7);
Tailwind
colors: {
  custom: {
    50: '#8788d1',
    500: '#4a5abc',
    950: '#000000',
  },
}
SCSS
$custom: #4a5abc;
$custom-light: #8788d1;
$custom-dark: #000000;
JSON
{
  "hex": "#4a5abc",
  "rgb": {
    "r": 74,
    "g": 90,
    "b": 188
  },
  "hsl": {
    "h": 231.579,
    "s": 45.968,
    "l": 51.373
  },
  "oklch": {
    "l": 0.50786,
    "c": 0.15398,
    "h": 272.7
  },
  "luminance": 0.12399
}

Semantic roles & 50–950 ramp

primary
#4A5ABC
secondary
#CAC398
accent
#C352D6
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0C0B14
muted
#7D7C82

Preview Lab

Preview with #4A5ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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