#3D37D4#3D37D4

#3D37D4 is a mid, highly saturated blue. Relative luminance 0.085; OKLCH L 46.1% C 0.229 H 274.4°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#3D37D4
RGBrgb(61, 55, 212)
HSLhsl(242, 65%, 52%)
HSVhsv(242, 74%, 83%)
CMYKcmyk(71.2%, 74.1%, 0%, 16.9%)
CIE-LABlab(34.96, 51.58, -78.90)
CIE-LCHlch(34.96, 94.26, 303.18°)
OKLaboklab(46.14% 0.0174 -0.2282)
OKLCHoklch(46.14% 0.229 274.4)
XYZxyz(15.1704, 8.4765, 63.1112)
Luminance0.0848 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D37D4 #CED437
analogous
#3780D4 #3D37D4 #8C37D4
triadic
#3D37D4 #D43D37 #37D43D
tetradic
#3D37D4 #D43780 #CED437 #37D48C
square
#3D37D4 #D43780 #CED437 #37D48C
split-complementary
#3D37D4 #D48C37 #80D437
monochromatic
#1D1A77 #2924A9 #3D37D4 #6E69DF #9F9CEA

Accessibility & contrast

On white

7.79
#3D37D4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#3D37D4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D37D4
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D37D4#FFFFFF#000000##FFFFFF
##3D37D41.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059D9
Deuteranopia (green-blind)
#004BD1
Tritanopia (blue-blind)
#006583
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3d37d4;
/* rgb */ color: rgb(61, 55, 212);
/* oklch */ color: oklch(46.1% 0.229 274.4);
Tailwind
colors: {
  custom: {
    50: '#8870e3',
    500: '#3d37d4',
    950: '#000000',
  },
}
SCSS
$custom: #3d37d4;
$custom-light: #8870e3;
$custom-dark: #000000;
JSON
{
  "hex": "#3d37d4",
  "rgb": {
    "r": 61,
    "g": 55,
    "b": 212
  },
  "hsl": {
    "h": 242.293,
    "s": 64.609,
    "l": 52.353
  },
  "oklch": {
    "l": 0.46142,
    "c": 0.22886,
    "h": 274.4
  },
  "luminance": 0.08478
}

Semantic roles & 50–950 ramp

primary
#3D37D4
secondary
#D3D691
accent
#E840E1
background
#F9F6FE
surface
#F2ECFC
border
#CCC7D5
text
#0D0816
muted
#7E7B84

Preview Lab

Preview with #3D37D4

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

Preview Lab → · Contrast checker → · Palette generator →

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