#3A59CB#3A59CB

#3A59CB is a mid, vivid blue. Relative luminance 0.124; OKLCH L 50.8% C 0.180 H 267.9°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#3A59CB
RGBrgb(58, 89, 203)
HSLhsl(227, 58%, 51%)
HSVhsv(227, 71%, 80%)
CMYKcmyk(71.4%, 56.2%, 0%, 20.4%)
CIE-LABlab(41.77, 27.59, -62.54)
CIE-LCHlch(41.77, 68.35, 293.80°)
OKLaboklab(50.84% -0.0067 -0.1802)
OKLCHoklch(50.84% 0.18 267.9)
XYZxyz(16.0931, 12.3544, 58.0248)
Luminance0.1236 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A59CB #CBAC3A
analogous
#3AA2CB #3A59CB #633ACB
triadic
#3A59CB #CB3A59 #59CB3A
tetradic
#3A59CB #CB3AA2 #CBAC3A #3ACB63
square
#3A59CB #CB3AA2 #CBAC3A #3ACB63
split-complementary
#3A59CB #CB633A #A2CB3A
monochromatic
#1D2E6E #2A439E #3A59CB #6A82D8 #9BABE5

Accessibility & contrast

On white

6.05
#3A59CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#3A59CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A59CB
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A59CB#FFFFFF#000000##FFFFFF
##3A59CB1.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CF
Deuteranopia (green-blind)
#005CC9
Tritanopia (blue-blind)
#007589
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #3a59cb;
/* rgb */ color: rgb(58, 89, 203);
/* oklch */ color: oklch(50.8% 0.180 267.9);
Tailwind
colors: {
  custom: {
    50: '#8387dc',
    500: '#3a59cb',
    950: '#000000',
  },
}
SCSS
$custom: #3a59cb;
$custom-light: #8387dc;
$custom-dark: #000000;
JSON
{
  "hex": "#3a59cb",
  "rgb": {
    "r": 58,
    "g": 89,
    "b": 203
  },
  "hsl": {
    "h": 227.172,
    "s": 58.233,
    "l": 51.176
  },
  "oklch": {
    "l": 0.50839,
    "c": 0.18034,
    "h": 267.9
  },
  "luminance": 0.12356
}

Semantic roles & 50–950 ramp

primary
#3A59CB
secondary
#D0C390
accent
#C046E1
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3A59CB

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

Preview Lab → · Contrast checker → · Palette generator →

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