#3A59CA#3A59CA

#3A59CA is a mid, vivid blue. Relative luminance 0.123; OKLCH L 50.8% C 0.179 H 267.8°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#3A59CA
RGBrgb(58, 89, 202)
HSLhsl(227, 58%, 51%)
HSVhsv(227, 71%, 79%)
CMYKcmyk(71.3%, 55.9%, 0%, 20.8%)
CIE-LABlab(41.70, 27.22, -62.08)
CIE-LCHlch(41.70, 67.79, 293.68°)
OKLaboklab(50.76% -0.0068 -0.1789)
OKLCHoklch(50.76% 0.179 267.8)
XYZxyz(15.9743, 12.3069, 57.3993)
Luminance0.1231 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A59CA #CAAB3A
analogous
#3AA1CA #3A59CA #633ACA
triadic
#3A59CA #CA3A59 #59CA3A
tetradic
#3A59CA #CA3AA1 #CAAB3A #3ACA63
square
#3A59CA #CA3AA1 #CAAB3A #3ACA63
split-complementary
#3A59CA #CA633A #A1CA3A
monochromatic
#1D2E6C #2A439D #3A59CA #6A82D7 #9AAAE4

Accessibility & contrast

On white

6.07
#3A59CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#3A59CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A59CA
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A59CA#FFFFFF#000000##FFFFFF
##3A59CA1.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CE
Deuteranopia (green-blind)
#005CC8
Tritanopia (blue-blind)
#007589
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #3a59ca;
/* rgb */ color: rgb(58, 89, 202);
/* oklch */ color: oklch(50.8% 0.179 267.8);
Tailwind
colors: {
  custom: {
    50: '#8387db',
    500: '#3a59ca',
    950: '#000000',
  },
}
SCSS
$custom: #3a59ca;
$custom-light: #8387db;
$custom-dark: #000000;
JSON
{
  "hex": "#3a59ca",
  "rgb": {
    "r": 58,
    "g": 89,
    "b": 202
  },
  "hsl": {
    "h": 227.083,
    "s": 57.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.5076,
    "c": 0.17901,
    "h": 267.8
  },
  "luminance": 0.12309
}

Semantic roles & 50–950 ramp

primary
#3A59CA
secondary
#D0C290
accent
#C047E1
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3A59CA

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

Preview Lab → · Contrast checker → · Palette generator →

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