#3D37D1#3D37D1

#3D37D1 is a mid, highly saturated blue. Relative luminance 0.083; OKLCH L 45.8% C 0.225 H 274.6°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#3D37D1
RGBrgb(61, 55, 209)
HSLhsl(242, 63%, 52%)
HSVhsv(242, 74%, 82%)
CMYKcmyk(70.8%, 73.7%, 0%, 18%)
CIE-LABlab(34.65, 50.63, -77.66)
CIE-LCHlch(34.65, 92.71, 303.10°)
OKLaboklab(45.84% 0.018 -0.2246)
OKLCHoklch(45.84% 0.225 274.6)
XYZxyz(14.7955, 8.3265, 61.1367)
Luminance0.0833 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D37D1 #CBD137
analogous
#377ED1 #3D37D1 #8A37D1
triadic
#3D37D1 #D13D37 #37D13D
tetradic
#3D37D1 #D1377E #CBD137 #37D18A
square
#3D37D1 #D1377E #CBD137 #37D18A
split-complementary
#3D37D1 #D18A37 #7ED137
monochromatic
#1E1A73 #2B26A5 #3D37D1 #6D69DC #9E9BE8

Accessibility & contrast

On white

7.88
#3D37D1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#3D37D1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D37D1
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D37D1#FFFFFF#000000##FFFFFF
##3D37D11.007.882.677.88
#FFFFFF7.881.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058D5
Deuteranopia (green-blind)
#004ACE
Tritanopia (blue-blind)
#006381
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3d37d1;
/* rgb */ color: rgb(61, 55, 209);
/* oklch */ color: oklch(45.8% 0.225 274.6);
Tailwind
colors: {
  custom: {
    50: '#8870e0',
    500: '#3d37d1',
    950: '#000000',
  },
}
SCSS
$custom: #3d37d1;
$custom-light: #8870e0;
$custom-dark: #000000;
JSON
{
  "hex": "#3d37d1",
  "rgb": {
    "r": 61,
    "g": 55,
    "b": 209
  },
  "hsl": {
    "h": 242.338,
    "s": 62.602,
    "l": 51.765
  },
  "oklch": {
    "l": 0.45838,
    "c": 0.22532,
    "h": 274.6
  },
  "luminance": 0.08328
}

Semantic roles & 50–950 ramp

primary
#3D37D1
secondary
#D1D490
accent
#E642DF
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #3D37D1

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

Preview Lab → · Contrast checker → · Palette generator →

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