#3D59C2#3D59C2

#3D59C2 is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.3% C 0.167 H 268.5°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#3D59C2
RGBrgb(61, 89, 194)
HSLhsl(227, 52%, 50%)
HSVhsv(227, 69%, 76%)
CMYKcmyk(68.6%, 54.1%, 0%, 23.9%)
CIE-LABlab(41.26, 24.75, -58.15)
CIE-LCHlch(41.26, 63.20, 293.06°)
OKLaboklab(50.29% -0.0044 -0.1672)
OKLCHoklch(50.29% 0.167 268.5)
XYZxyz(15.2311, 12.0304, 52.5479)
Luminance0.1203 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D59C2 #C2A63D
analogous
#3D9CC2 #3D59C2 #633DC2
triadic
#3D59C2 #C23D59 #59C23D
tetradic
#3D59C2 #C23D9C #C2A63D #3DC263
square
#3D59C2 #C23D9C #C2A63D #3DC263
split-complementary
#3D59C2 #C2633D #9CC23D
monochromatic
#202E65 #2E4493 #3D59C2 #6C81D1 #9AA9DF

Accessibility & contrast

On white

6.16
#3D59C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#3D59C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D59C2
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D59C2#FFFFFF#000000##FFFFFF
##3D59C21.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0668C6
Deuteranopia (green-blind)
#005CC0
Tritanopia (blue-blind)
#007285
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #3d59c2;
/* rgb */ color: rgb(61, 89, 194);
/* oklch */ color: oklch(50.3% 0.167 268.5);
Tailwind
colors: {
  custom: {
    50: '#8287d5',
    500: '#3d59c2',
    950: '#000000',
  },
}
SCSS
$custom: #3d59c2;
$custom-light: #8287d5;
$custom-dark: #000000;
JSON
{
  "hex": "#3d59c2",
  "rgb": {
    "r": 61,
    "g": 89,
    "b": 194
  },
  "hsl": {
    "h": 227.368,
    "s": 52.157,
    "l": 50
  },
  "oklch": {
    "l": 0.50289,
    "c": 0.1673,
    "h": 268.5
  },
  "luminance": 0.12032
}

Semantic roles & 50–950 ramp

primary
#3D59C2
secondary
#CBBF90
accent
#BD4CDC
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #3D59C2

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

Preview Lab → · Contrast checker → · Palette generator →

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