#3B37D1#3B37D1

#3B37D1 is a mid, highly saturated blue. Relative luminance 0.083; OKLCH L 45.7% C 0.226 H 274.0°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#3B37D1
RGBrgb(59, 55, 209)
HSLhsl(242, 63%, 52%)
HSVhsv(242, 74%, 82%)
CMYKcmyk(71.8%, 73.7%, 0%, 18%)
CIE-LABlab(34.53, 50.44, -77.88)
CIE-LCHlch(34.53, 92.79, 302.93°)
OKLaboklab(45.72% 0.0156 -0.2253)
OKLCHoklch(45.72% 0.226 274)
XYZxyz(14.6746, 8.2642, 61.1310)
Luminance0.0827 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B37D1 #CDD137
analogous
#3780D1 #3B37D1 #8837D1
triadic
#3B37D1 #D13B37 #37D13B
tetradic
#3B37D1 #D13780 #CDD137 #37D188
square
#3B37D1 #D13780 #CDD137 #37D188
split-complementary
#3B37D1 #D18837 #80D137
monochromatic
#1D1A73 #2926A5 #3B37D1 #6C69DC #9D9BE8

Accessibility & contrast

On white

7.91
#3B37D1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#3B37D1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B37D1
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B37D1#FFFFFF#000000##FFFFFF
##3B37D11.007.912.657.91
#FFFFFF7.911.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3b37d1;
/* rgb */ color: rgb(59, 55, 209);
/* oklch */ color: oklch(45.7% 0.226 274.0);
Tailwind
colors: {
  custom: {
    50: '#8770e0',
    500: '#3b37d1',
    950: '#000000',
  },
}
SCSS
$custom: #3b37d1;
$custom-light: #8770e0;
$custom-dark: #000000;
JSON
{
  "hex": "#3b37d1",
  "rgb": {
    "r": 59,
    "g": 55,
    "b": 209
  },
  "hsl": {
    "h": 241.558,
    "s": 62.602,
    "l": 51.765
  },
  "oklch": {
    "l": 0.45715,
    "c": 0.2258,
    "h": 274
  },
  "luminance": 0.08266
}

Semantic roles & 50–950 ramp

primary
#3B37D1
secondary
#D2D490
accent
#E642E1
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #3B37D1

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

Preview Lab → · Contrast checker → · Palette generator →

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