#4A59CA#4A59CA

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

Color values

HEX#4A59CA
RGBrgb(74, 89, 202)
HSLhsl(233, 55%, 54%)
HSVhsv(233, 63%, 79%)
CMYKcmyk(63.4%, 55.9%, 0%, 20.8%)
CIE-LABlab(42.56, 29.61, -60.65)
CIE-LCHlch(42.56, 67.49, 296.02°)
OKLaboklab(51.63% 0.0091 -0.1743)
OKLCHoklch(51.63% 0.175 273)
XYZxyz(17.0535, 12.8634, 57.4499)
Luminance0.1286 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A59CA #CABB4A
analogous
#4A99CA #4A59CA #7B4ACA
triadic
#4A59CA #CA4A59 #59CA4A
tetradic
#4A59CA #CA4A99 #CABB4A #4ACA7B
square
#4A59CA #CA4A99 #CABB4A #4ACA7B
split-complementary
#4A59CA #CA7B4A #99CA4A
monochromatic
#232D77 #313EA6 #4A59CA #7984D8 #A9B0E6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4A59CA#FFFFFF#000000##FFFFFF
##4A59CA1.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)
#006ACE
Deuteranopia (green-blind)
#005FC8
Tritanopia (blue-blind)
#007489
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4a59ca;
/* rgb */ color: rgb(74, 89, 202);
/* oklch */ color: oklch(51.6% 0.175 273.0);
Tailwind
colors: {
  custom: {
    50: '#8a87db',
    500: '#4a59ca',
    950: '#000000',
  },
}
SCSS
$custom: #4a59ca;
$custom-light: #8a87db;
$custom-dark: #000000;
JSON
{
  "hex": "#4a59ca",
  "rgb": {
    "r": 74,
    "g": 89,
    "b": 202
  },
  "hsl": {
    "h": 232.969,
    "s": 54.701,
    "l": 54.118
  },
  "oklch": {
    "l": 0.51632,
    "c": 0.17455,
    "h": 273
  },
  "luminance": 0.12865
}

Semantic roles & 50–950 ramp

primary
#4A59CA
secondary
#D3CD9D
accent
#CD4ADE
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4A59CA

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

Preview Lab → · Contrast checker → · Palette generator →

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