#4A59CB#4A59CB

#4A59CB is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.7% C 0.176 H 273.0°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#4A59CB
RGBrgb(74, 89, 203)
HSLhsl(233, 55%, 54%)
HSVhsv(233, 64%, 80%)
CMYKcmyk(63.5%, 56.2%, 0%, 20.4%)
CIE-LABlab(42.63, 29.95, -61.11)
CIE-LCHlch(42.63, 68.06, 296.11°)
OKLaboklab(51.71% 0.0091 -0.1757)
OKLCHoklch(51.71% 0.176 273)
XYZxyz(17.1723, 12.9109, 58.0754)
Luminance0.1291 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A59CB #CBBC4A
analogous
#4A9ACB #4A59CB #7C4ACB
triadic
#4A59CB #CB4A59 #59CB4A
tetradic
#4A59CB #CB4A9A #CBBC4A #4ACB7C
square
#4A59CB #CB4A9A #CBBC4A #4ACB7C
split-complementary
#4A59CB #CB7C4A #9ACB4A
monochromatic
#232C78 #303EA8 #4A59CB #7A85D9 #A9B0E6

Accessibility & contrast

On white

5.86
#4A59CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#4A59CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A59CB
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A59CB#FFFFFF#000000##FFFFFF
##4A59CB1.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4a59cb;
/* rgb */ color: rgb(74, 89, 203);
/* oklch */ color: oklch(51.7% 0.176 273.0);
Tailwind
colors: {
  custom: {
    50: '#8a87dc',
    500: '#4a59cb',
    950: '#000000',
  },
}
SCSS
$custom: #4a59cb;
$custom-light: #8a87dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4a59cb",
  "rgb": {
    "r": 74,
    "g": 89,
    "b": 203
  },
  "hsl": {
    "h": 233.023,
    "s": 55.365,
    "l": 54.314
  },
  "oklch": {
    "l": 0.51709,
    "c": 0.17591,
    "h": 273
  },
  "luminance": 0.12912
}

Semantic roles & 50–950 ramp

primary
#4A59CB
secondary
#D4CD9D
accent
#CD49DF
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4A59CB

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

Preview Lab → · Contrast checker → · Palette generator →

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