#4A5ABA#4A5ABA

#4A5ABA is a mid, vivid blue. Relative luminance 0.123; OKLCH L 50.6% C 0.151 H 272.7°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#4A5ABA
RGBrgb(74, 90, 186)
HSLhsl(231, 45%, 51%)
HSVhsv(231, 60%, 73%)
CMYKcmyk(60.2%, 51.6%, 0%, 27.1%)
CIE-LABlab(41.71, 23.49, -52.73)
CIE-LCHlch(41.71, 57.73, 294.01°)
OKLaboklab(50.64% 0.0072 -0.151)
OKLCHoklch(50.64% 0.151 272.7)
XYZxyz(15.3402, 12.3121, 48.0129)
Luminance0.1231 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A5ABA #BAAA4A
analogous
#4A92BA #4A5ABA #724ABA
triadic
#4A5ABA #BA4A5A #5ABA4A
tetradic
#4A5ABA #BA4A92 #BAAA4A #4ABA72
square
#4A5ABA #BA4A92 #BAAA4A #4ABA72
split-complementary
#4A5ABA #BA724A #92BA4A
monochromatic
#262F64 #374490 #4A5ABA #7682CB #A3ABDC

Accessibility & contrast

On white

6.06
#4A5ABA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#4A5ABA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A5ABA
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A5ABA#FFFFFF#000000##FFFFFF
##4A5ABA1.006.063.466.06
#FFFFFF6.061.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2467BD
Deuteranopia (green-blind)
#045EB8
Tritanopia (blue-blind)
#007081
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4a5aba;
/* rgb */ color: rgb(74, 90, 186);
/* oklch */ color: oklch(50.6% 0.151 272.7);
Tailwind
colors: {
  custom: {
    50: '#8788cf',
    500: '#4a5aba',
    950: '#000000',
  },
}
SCSS
$custom: #4a5aba;
$custom-light: #8788cf;
$custom-dark: #000000;
JSON
{
  "hex": "#4a5aba",
  "rgb": {
    "r": 74,
    "g": 90,
    "b": 186
  },
  "hsl": {
    "h": 231.429,
    "s": 44.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.50643,
    "c": 0.15117,
    "h": 272.7
  },
  "luminance": 0.12313
}

Semantic roles & 50–950 ramp

primary
#4A5ABA
secondary
#C9C297
accent
#C253D5
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0C0B14
muted
#7D7C82

Preview Lab

Preview with #4A5ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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