#4C59CB#4C59CB

#4C59CB is a mid, vivid blue. Relative luminance 0.130; OKLCH L 51.8% C 0.175 H 273.7°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#4C59CB
RGBrgb(76, 89, 203)
HSLhsl(234, 55%, 55%)
HSVhsv(234, 63%, 80%)
CMYKcmyk(62.6%, 56.2%, 0%, 20.4%)
CIE-LABlab(42.75, 30.28, -60.91)
CIE-LCHlch(42.75, 68.02, 296.44°)
OKLaboklab(51.83% 0.0113 -0.175)
OKLCHoklch(51.83% 0.175 273.7)
XYZxyz(17.3288, 12.9916, 58.0828)
Luminance0.1299 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C59CB #CBBE4C
analogous
#4C99CB #4C59CB #7E4CCB
triadic
#4C59CB #CB4C59 #59CB4C
tetradic
#4C59CB #CB4C99 #CBBE4C #4CCB7E
square
#4C59CB #CB4C99 #CBBE4C #4CCB7E
split-complementary
#4C59CB #CB7E4C #99CB4C
monochromatic
#232C79 #313DA9 #4C59CB #7B85D9 #ABB1E7

Accessibility & contrast

On white

5.84
#4C59CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#4C59CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C59CB
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C59CB#FFFFFF#000000##FFFFFF
##4C59CB1.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BCF
Deuteranopia (green-blind)
#0060C9
Tritanopia (blue-blind)
#007489
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4c59cb;
/* rgb */ color: rgb(76, 89, 203);
/* oklch */ color: oklch(51.8% 0.175 273.7);
Tailwind
colors: {
  custom: {
    50: '#8b87dc',
    500: '#4c59cb',
    950: '#000000',
  },
}
SCSS
$custom: #4c59cb;
$custom-light: #8b87dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4c59cb",
  "rgb": {
    "r": 76,
    "g": 89,
    "b": 203
  },
  "hsl": {
    "h": 233.858,
    "s": 54.978,
    "l": 54.706
  },
  "oklch": {
    "l": 0.51832,
    "c": 0.17538,
    "h": 273.7
  },
  "luminance": 0.12993
}

Semantic roles & 50–950 ramp

primary
#4C59CB
secondary
#D4CF9F
accent
#CF49DE
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4C59CB

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

Preview Lab → · Contrast checker → · Palette generator →

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