#4C59BA#4C59BA

#4C59BA is a mid, vivid blue. Relative luminance 0.122; OKLCH L 50.6% C 0.152 H 273.9°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#4C59BA
RGBrgb(76, 89, 186)
HSLhsl(233, 44%, 51%)
HSVhsv(233, 59%, 73%)
CMYKcmyk(59.1%, 52.2%, 0%, 27.1%)
CIE-LABlab(41.57, 24.50, -52.95)
CIE-LCHlch(41.57, 58.34, 294.84°)
OKLaboklab(50.57% 0.0104 -0.1516)
OKLCHoklch(50.57% 0.152 273.9)
XYZxyz(15.4129, 12.2252, 47.9924)
Luminance0.1223 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C59BA #BAAD4C
analogous
#4C90BA #4C59BA #764CBA
triadic
#4C59BA #BA4C59 #59BA4C
tetradic
#4C59BA #BA4C90 #BAAD4C #4CBA76
square
#4C59BA #BA4C90 #BAAD4C #4CBA76
split-complementary
#4C59BA #BA764C #90BA4C
monochromatic
#272E65 #384291 #4C59BA #7882CB #A4ABDC

Accessibility & contrast

On white

6.10
#4C59BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#4C59BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C59BA
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C59BA#FFFFFF#000000##FFFFFF
##4C59BA1.006.103.456.10
#FFFFFF6.101.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2167BD
Deuteranopia (green-blind)
#025EB8
Tritanopia (blue-blind)
#006F81
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4c59ba;
/* rgb */ color: rgb(76, 89, 186);
/* oklch */ color: oklch(50.6% 0.152 273.9);
Tailwind
colors: {
  custom: {
    50: '#8887cf',
    500: '#4c59ba',
    950: '#000000',
  },
}
SCSS
$custom: #4c59ba;
$custom-light: #8887cf;
$custom-dark: #000000;
JSON
{
  "hex": "#4c59ba",
  "rgb": {
    "r": 76,
    "g": 89,
    "b": 186
  },
  "hsl": {
    "h": 232.909,
    "s": 44.355,
    "l": 51.373
  },
  "oklch": {
    "l": 0.50574,
    "c": 0.15195,
    "h": 273.9
  },
  "luminance": 0.12226
}

Semantic roles & 50–950 ramp

primary
#4C59BA
secondary
#C9C399
accent
#C554D4
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0C0B14
muted
#7D7C82

Preview Lab

Preview with #4C59BA

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

Preview Lab → · Contrast checker → · Palette generator →

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