#3D59C8#3D59C8

#3D59C8 is a mid, vivid blue. Relative luminance 0.123; OKLCH L 50.8% C 0.175 H 268.7°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#3D59C8
RGBrgb(61, 89, 200)
HSLhsl(228, 56%, 51%)
HSVhsv(228, 70%, 78%)
CMYKcmyk(69.5%, 55.5%, 0%, 21.6%)
CIE-LABlab(41.70, 26.91, -60.92)
CIE-LCHlch(41.70, 66.60, 293.83°)
OKLaboklab(50.75% -0.0041 -0.1754)
OKLCHoklch(50.75% 0.175 268.7)
XYZxyz(15.9186, 12.3054, 56.1686)
Luminance0.1231 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D59C8 #C8AC3D
analogous
#3D9EC8 #3D59C8 #663DC8
triadic
#3D59C8 #C83D59 #59C83D
tetradic
#3D59C8 #C83D9E #C8AC3D #3DC866
square
#3D59C8 #C83D9E #C8AC3D #3DC866
split-complementary
#3D59C8 #C8663D #9EC83D
monochromatic
#1F2E6C #2C439C #3D59C8 #6D82D6 #9CABE3

Accessibility & contrast

On white

6.07
#3D59C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#3D59C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D59C8
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D59C8#FFFFFF#000000##FFFFFF
##3D59C81.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.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: #3d59c8;
/* rgb */ color: rgb(61, 89, 200);
/* oklch */ color: oklch(50.8% 0.175 268.7);
Tailwind
colors: {
  custom: {
    50: '#8387d9',
    500: '#3d59c8',
    950: '#000000',
  },
}
SCSS
$custom: #3d59c8;
$custom-light: #8387d9;
$custom-dark: #000000;
JSON
{
  "hex": "#3d59c8",
  "rgb": {
    "r": 61,
    "g": 89,
    "b": 200
  },
  "hsl": {
    "h": 227.914,
    "s": 55.823,
    "l": 51.176
  },
  "oklch": {
    "l": 0.50752,
    "c": 0.17546,
    "h": 268.7
  },
  "luminance": 0.12307
}

Semantic roles & 50–950 ramp

primary
#3D59C8
secondary
#CFC392
accent
#C149DF
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3D59C8

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

Preview Lab → · Contrast checker → · Palette generator →

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