#3A59CF#3A59CF

#3A59CF is a mid, vivid blue. Relative luminance 0.125; OKLCH L 51.2% C 0.186 H 268.0°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#3A59CF
RGBrgb(58, 89, 207)
HSLhsl(228, 61%, 52%)
HSVhsv(228, 72%, 81%)
CMYKcmyk(72%, 57%, 0%, 18.8%)
CIE-LABlab(42.07, 29.03, -64.36)
CIE-LCHlch(42.07, 70.60, 294.28°)
OKLaboklab(51.16% -0.0065 -0.1856)
OKLCHoklch(51.16% 0.186 268)
XYZxyz(16.5759, 12.5476, 60.5677)
Luminance0.1255 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A59CF #CFB03A
analogous
#3AA3CF #3A59CF #663ACF
triadic
#3A59CF #CF3A59 #59CF3A
tetradic
#3A59CF #CF3AA3 #CFB03A #3ACF66
square
#3A59CF #CF3AA3 #CFB03A #3ACF66
split-complementary
#3A59CF #CF663A #A3CF3A
monochromatic
#1C2E73 #2842A4 #3A59CF #6B82DB #9CACE7

Accessibility & contrast

On white

5.98
#3A59CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#3A59CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A59CF
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A59CF#FFFFFF#000000##FFFFFF
##3A59CF1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD3
Deuteranopia (green-blind)
#005DCD
Tritanopia (blue-blind)
#00768B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #3a59cf;
/* rgb */ color: rgb(58, 89, 207);
/* oklch */ color: oklch(51.2% 0.186 268.0);
Tailwind
colors: {
  custom: {
    50: '#8487df',
    500: '#3a59cf',
    950: '#000000',
  },
}
SCSS
$custom: #3a59cf;
$custom-light: #8487df;
$custom-dark: #000000;
JSON
{
  "hex": "#3a59cf",
  "rgb": {
    "r": 58,
    "g": 89,
    "b": 207
  },
  "hsl": {
    "h": 227.517,
    "s": 60.816,
    "l": 51.961
  },
  "oklch": {
    "l": 0.51158,
    "c": 0.18569,
    "h": 268
  },
  "luminance": 0.12549
}

Semantic roles & 50–950 ramp

primary
#3A59CF
secondary
#D3C592
accent
#C344E4
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3A59CF

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

Preview Lab → · Contrast checker → · Palette generator →

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