#3A59C8#3A59C8

#3A59C8 is a mid, vivid blue. Relative luminance 0.122; OKLCH L 50.6% C 0.176 H 267.8°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#3A59C8
RGBrgb(58, 89, 200)
HSLhsl(227, 56%, 51%)
HSVhsv(227, 71%, 78%)
CMYKcmyk(71%, 55.5%, 0%, 21.6%)
CIE-LABlab(41.55, 26.50, -61.17)
CIE-LCHlch(41.55, 66.66, 293.42°)
OKLaboklab(50.6% -0.0069 -0.1762)
OKLCHoklch(50.6% 0.176 267.8)
XYZxyz(15.7390, 12.2128, 56.1602)
Luminance0.1221 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A59C8 #C8A93A
analogous
#3AA0C8 #3A59C8 #623AC8
triadic
#3A59C8 #C83A59 #59C83A
tetradic
#3A59C8 #C83AA0 #C8A93A #3AC862
square
#3A59C8 #C83AA0 #C8A93A #3AC862
split-complementary
#3A59C8 #C8623A #A0C83A
monochromatic
#1E2E6A #2B439A #3A59C8 #6A81D5 #9AAAE3

Accessibility & contrast

On white

6.10
#3A59C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#3A59C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A59C8
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A59C8#FFFFFF#000000##FFFFFF
##3A59C81.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CC
Deuteranopia (green-blind)
#005CC6
Tritanopia (blue-blind)
#007488
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #3a59c8;
/* rgb */ color: rgb(58, 89, 200);
/* oklch */ color: oklch(50.6% 0.176 267.8);
Tailwind
colors: {
  custom: {
    50: '#8287d9',
    500: '#3a59c8',
    950: '#000000',
  },
}
SCSS
$custom: #3a59c8;
$custom-light: #8287d9;
$custom-dark: #000000;
JSON
{
  "hex": "#3a59c8",
  "rgb": {
    "r": 58,
    "g": 89,
    "b": 200
  },
  "hsl": {
    "h": 226.901,
    "s": 56.349,
    "l": 50.588
  },
  "oklch": {
    "l": 0.50603,
    "c": 0.17631,
    "h": 267.8
  },
  "luminance": 0.12214
}

Semantic roles & 50–950 ramp

primary
#3A59C8
secondary
#CEC18F
accent
#BF48E0
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3A59C8

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

Preview Lab → · Contrast checker → · Palette generator →

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