#4A59CF#4A59CF

#4A59CF is a mid, vivid blue. Relative luminance 0.131; OKLCH L 52.0% C 0.181 H 272.9°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#4A59CF
RGBrgb(74, 89, 207)
HSLhsl(233, 58%, 55%)
HSVhsv(233, 64%, 81%)
CMYKcmyk(64.3%, 57%, 0%, 18.8%)
CIE-LABlab(42.92, 31.32, -62.94)
CIE-LCHlch(42.92, 70.31, 296.46°)
OKLaboklab(52.02% 0.0092 -0.1811)
OKLCHoklch(52.02% 0.181 272.9)
XYZxyz(17.6552, 13.1041, 60.6183)
Luminance0.1311 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A59CF #CFC04A
analogous
#4A9CCF #4A59CF #7D4ACF
triadic
#4A59CF #CF4A59 #59CF4A
tetradic
#4A59CF #CF4A9C #CFC04A #4ACF7D
square
#4A59CF #CF4A9C #CFC04A #4ACF7D
split-complementary
#4A59CF #CF7D4A #9CCF4A
monochromatic
#212C7D #2E3CAE #4A59CF #7A85DC #ABB2E9

Accessibility & contrast

On white

5.80
#4A59CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#4A59CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A59CF
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A59CF#FFFFFF#000000##FFFFFF
##4A59CF1.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD3
Deuteranopia (green-blind)
#0060CD
Tritanopia (blue-blind)
#00768B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4a59cf;
/* rgb */ color: rgb(74, 89, 207);
/* oklch */ color: oklch(52.0% 0.181 272.9);
Tailwind
colors: {
  custom: {
    50: '#8a87de',
    500: '#4a59cf',
    950: '#000000',
  },
}
SCSS
$custom: #4a59cf;
$custom-light: #8a87de;
$custom-dark: #000000;
JSON
{
  "hex": "#4a59cf",
  "rgb": {
    "r": 74,
    "g": 89,
    "b": 207
  },
  "hsl": {
    "h": 233.233,
    "s": 58.079,
    "l": 55.098
  },
  "oklch": {
    "l": 0.52018,
    "c": 0.18129,
    "h": 272.9
  },
  "luminance": 0.13106
}

Semantic roles & 50–950 ramp

primary
#4A59CF
secondary
#D6D09F
accent
#D046E1
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4A59CF

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

Preview Lab → · Contrast checker → · Palette generator →

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