#3A59CC#3A59CC

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

Color values

HEX#3A59CC
RGBrgb(58, 89, 204)
HSLhsl(227, 59%, 51%)
HSVhsv(227, 72%, 80%)
CMYKcmyk(71.6%, 56.4%, 0%, 20%)
CIE-LABlab(41.85, 27.95, -62.99)
CIE-LCHlch(41.85, 68.92, 293.92°)
OKLaboklab(50.92% -0.0067 -0.1816)
OKLCHoklch(50.92% 0.182 267.9)
XYZxyz(16.2126, 12.4023, 58.6545)
Luminance0.1240 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A59CC #CCAD3A
analogous
#3AA2CC #3A59CC #643ACC
triadic
#3A59CC #CC3A59 #59CC3A
tetradic
#3A59CC #CC3AA2 #CCAD3A #3ACC64
square
#3A59CC #CC3AA2 #CCAD3A #3ACC64
split-complementary
#3A59CC #CC643A #A2CC3A
monochromatic
#1D2E6F #2942A0 #3A59CC #6B82D9 #9BABE5

Accessibility & contrast

On white

6.03
#3A59CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#3A59CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A59CC
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A59CC#FFFFFF#000000##FFFFFF
##3A59CC1.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD0
Deuteranopia (green-blind)
#005CCA
Tritanopia (blue-blind)
#00758A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #3a59cc;
/* rgb */ color: rgb(58, 89, 204);
/* oklch */ color: oklch(50.9% 0.182 267.9);
Tailwind
colors: {
  custom: {
    50: '#8387dc',
    500: '#3a59cc',
    950: '#000000',
  },
}
SCSS
$custom: #3a59cc;
$custom-light: #8387dc;
$custom-dark: #000000;
JSON
{
  "hex": "#3a59cc",
  "rgb": {
    "r": 58,
    "g": 89,
    "b": 204
  },
  "hsl": {
    "h": 227.26,
    "s": 58.871,
    "l": 51.373
  },
  "oklch": {
    "l": 0.50919,
    "c": 0.18168,
    "h": 267.9
  },
  "luminance": 0.12404
}

Semantic roles & 50–950 ramp

primary
#3A59CC
secondary
#D1C391
accent
#C146E2
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3A59CC

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

Preview Lab → · Contrast checker → · Palette generator →

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