#4C59C8#4C59C8

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

Color values

HEX#4C59C8
RGBrgb(76, 89, 200)
HSLhsl(234, 53%, 54%)
HSVhsv(234, 62%, 78%)
CMYKcmyk(62%, 55.5%, 0%, 21.6%)
CIE-LABlab(42.54, 29.26, -59.52)
CIE-LCHlch(42.54, 66.33, 296.18°)
OKLaboklab(51.6% 0.0112 -0.1709)
OKLCHoklch(51.6% 0.171 273.7)
XYZxyz(16.9748, 12.8500, 56.2181)
Luminance0.1285 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C59C8 #C8BB4C
analogous
#4C97C8 #4C59C8 #7D4CC8
triadic
#4C59C8 #C84C59 #59C84C
tetradic
#4C59C8 #C84C97 #C8BB4C #4CC87D
square
#4C59C8 #C84C97 #C8BB4C #4CC87D
split-complementary
#4C59C8 #C87D4C #97C84C
monochromatic
#242D75 #323EA4 #4C59C8 #7B84D6 #AAB0E5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4C59C8#FFFFFF#000000##FFFFFF
##4C59C81.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)
#006ACC
Deuteranopia (green-blind)
#005FC6
Tritanopia (blue-blind)
#007388
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4c59c8;
/* rgb */ color: rgb(76, 89, 200);
/* oklch */ color: oklch(51.6% 0.171 273.7);
Tailwind
colors: {
  custom: {
    50: '#8a87d9',
    500: '#4c59c8',
    950: '#000000',
  },
}
SCSS
$custom: #4c59c8;
$custom-light: #8a87d9;
$custom-dark: #000000;
JSON
{
  "hex": "#4c59c8",
  "rgb": {
    "r": 76,
    "g": 89,
    "b": 200
  },
  "hsl": {
    "h": 233.71,
    "s": 52.991,
    "l": 54.118
  },
  "oklch": {
    "l": 0.51604,
    "c": 0.17132,
    "h": 273.7
  },
  "luminance": 0.12851
}

Semantic roles & 50–950 ramp

primary
#4C59C8
secondary
#D2CD9E
accent
#CD4BDC
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4C59C8

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

Preview Lab → · Contrast checker → · Palette generator →

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