#3D59B2#3D59B2

#3D59B2 is a mid, vivid blue. Relative luminance 0.114; OKLCH L 49.1% C 0.145 H 267.7°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#3D59B2
RGBrgb(61, 89, 178)
HSLhsl(226, 49%, 47%)
HSVhsv(226, 66%, 70%)
CMYKcmyk(65.7%, 50%, 0%, 30.2%)
CIE-LABlab(40.16, 18.98, -50.57)
CIE-LCHlch(40.16, 54.01, 290.58°)
OKLaboklab(49.11% -0.0059 -0.1449)
OKLCHoklch(49.11% 0.145 267.7)
XYZxyz(13.5300, 11.3500, 43.5886)
Luminance0.1135 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D59B2 #B2963D
analogous
#3D94B2 #3D59B2 #5C3DB2
triadic
#3D59B2 #B23D59 #59B23D
tetradic
#3D59B2 #B23D94 #B2963D #3DB25C
square
#3D59B2 #B23D94 #B2963D #3DB25C
split-complementary
#3D59B2 #B25C3D #94B23D
monochromatic
#1E2B57 #2D4284 #3D59B2 #637BC9 #90A2D9

Accessibility & contrast

On white

6.42
#3D59B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#3D59B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D59B2
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D59B2#FFFFFF#000000##FFFFFF
##3D59B21.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2864B5
Deuteranopia (green-blind)
#055AB0
Tritanopia (blue-blind)
#006E7D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #3d59b2;
/* rgb */ color: rgb(61, 89, 178);
/* oklch */ color: oklch(49.1% 0.145 267.7);
Tailwind
colors: {
  custom: {
    50: '#7f87ca',
    500: '#3d59b2',
    950: '#000000',
  },
}
SCSS
$custom: #3d59b2;
$custom-light: #7f87ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3d59b2",
  "rgb": {
    "r": 61,
    "g": 89,
    "b": 178
  },
  "hsl": {
    "h": 225.641,
    "s": 48.954,
    "l": 46.863
  },
  "oklch": {
    "l": 0.49106,
    "c": 0.14506,
    "h": 267.7
  },
  "luminance": 0.11351
}

Semantic roles & 50–950 ramp

primary
#3D59B2
secondary
#C4B587
accent
#B84FD9
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #3D59B2

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

Preview Lab → · Contrast checker → · Palette generator →

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