#4A59C8#4A59C8

#4A59C8 is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.5% C 0.172 H 273.0°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#4A59C8
RGBrgb(74, 89, 200)
HSLhsl(233, 53%, 54%)
HSVhsv(233, 63%, 78%)
CMYKcmyk(63%, 55.5%, 0%, 21.6%)
CIE-LABlab(42.41, 28.92, -59.73)
CIE-LCHlch(42.41, 66.36, 295.84°)
OKLaboklab(51.48% 0.009 -0.1716)
OKLCHoklch(51.48% 0.172 273)
XYZxyz(16.8183, 12.7693, 56.2108)
Luminance0.1277 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A59C8 #C8B94A
analogous
#4A98C8 #4A59C8 #7A4AC8
triadic
#4A59C8 #C84A59 #59C84A
tetradic
#4A59C8 #C84A98 #C8B94A #4AC87A
square
#4A59C8 #C84A98 #C8B94A #4AC87A
split-complementary
#4A59C8 #C87A4A #98C84A
monochromatic
#232D74 #323FA3 #4A59C8 #7984D6 #A8AFE5

Accessibility & contrast

On white

5.91
#4A59C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#4A59C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A59C8
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A59C8#FFFFFF#000000##FFFFFF
##4A59C81.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACC
Deuteranopia (green-blind)
#005FC6
Tritanopia (blue-blind)
#007388
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4a59c8;
/* rgb */ color: rgb(74, 89, 200);
/* oklch */ color: oklch(51.5% 0.172 273.0);
Tailwind
colors: {
  custom: {
    50: '#8987d9',
    500: '#4a59c8',
    950: '#000000',
  },
}
SCSS
$custom: #4a59c8;
$custom-light: #8987d9;
$custom-dark: #000000;
JSON
{
  "hex": "#4a59c8",
  "rgb": {
    "r": 74,
    "g": 89,
    "b": 200
  },
  "hsl": {
    "h": 232.857,
    "s": 53.39,
    "l": 53.725
  },
  "oklch": {
    "l": 0.5148,
    "c": 0.17184,
    "h": 273
  },
  "luminance": 0.12771
}

Semantic roles & 50–950 ramp

primary
#4A59C8
secondary
#D2CB9C
accent
#CB4BDD
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4A59C8

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

Preview Lab → · Contrast checker → · Palette generator →

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