#3D59C7#3D59C7

#3D59C7 is a mid, vivid blue. Relative luminance 0.123; OKLCH L 50.7% C 0.174 H 268.6°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#3D59C7
RGBrgb(61, 89, 199)
HSLhsl(228, 55%, 51%)
HSVhsv(228, 69%, 78%)
CMYKcmyk(69.3%, 55.3%, 0%, 22%)
CIE-LABlab(41.62, 26.55, -60.46)
CIE-LCHlch(41.62, 66.04, 293.71°)
OKLaboklab(50.67% -0.0041 -0.174)
OKLCHoklch(50.67% 0.174 268.6)
XYZxyz(15.8021, 12.2588, 55.5552)
Luminance0.1226 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D59C7 #C7AB3D
analogous
#3D9EC7 #3D59C7 #663DC7
triadic
#3D59C7 #C73D59 #59C73D
tetradic
#3D59C7 #C73D9E #C7AB3D #3DC766
square
#3D59C7 #C73D9E #C7AB3D #3DC766
split-complementary
#3D59C7 #C7663D #9EC73D
monochromatic
#1F2E6B #2D439A #3D59C7 #6C82D5 #9CAAE2

Accessibility & contrast

On white

6.08
#3D59C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#3D59C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D59C7
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D59C7#FFFFFF#000000##FFFFFF
##3D59C71.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CB
Deuteranopia (green-blind)
#005CC5
Tritanopia (blue-blind)
#007487
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #3d59c7;
/* rgb */ color: rgb(61, 89, 199);
/* oklch */ color: oklch(50.7% 0.174 268.6);
Tailwind
colors: {
  custom: {
    50: '#8387d9',
    500: '#3d59c7',
    950: '#000000',
  },
}
SCSS
$custom: #3d59c7;
$custom-light: #8387d9;
$custom-dark: #000000;
JSON
{
  "hex": "#3d59c7",
  "rgb": {
    "r": 61,
    "g": 89,
    "b": 199
  },
  "hsl": {
    "h": 227.826,
    "s": 55.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.50674,
    "c": 0.1741,
    "h": 268.6
  },
  "luminance": 0.1226
}

Semantic roles & 50–950 ramp

primary
#3D59C7
secondary
#CEC291
accent
#C049DF
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3D59C7

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

Preview Lab → · Contrast checker → · Palette generator →

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