#3D37B2#3D37B2

#3D37B2 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.8% C 0.187 H 277.1°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#3D37B2
RGBrgb(61, 55, 178)
HSLhsl(243, 53%, 46%)
HSVhsv(243, 69%, 70%)
CMYKcmyk(65.7%, 69.1%, 0%, 30.2%)
CIE-LABlab(31.67, 40.58, -64.39)
CIE-LCHlch(31.67, 76.11, 302.22°)
OKLaboklab(42.8% 0.0232 -0.1858)
OKLCHoklch(42.8% 0.187 277.1)
XYZxyz(11.3239, 6.9379, 42.8532)
Luminance0.0694 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D37B2 #ACB237
analogous
#376EB2 #3D37B2 #7A37B2
triadic
#3D37B2 #B23D37 #37B23D
tetradic
#3D37B2 #B2376E #ACB237 #37B27A
square
#3D37B2 #B2376E #ACB237 #37B27A
split-complementary
#3D37B2 #B27A37 #6EB237
monochromatic
#1D1A54 #2D2983 #3D37B2 #605ACC #8D89DB

Accessibility & contrast

On white

8.79
#3D37B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#3D37B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D37B2
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D37B2#FFFFFF#000000##FFFFFF
##3D37B21.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B6
Deuteranopia (green-blind)
#0045B0
Tritanopia (blue-blind)
#005870
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3d37b2;
/* rgb */ color: rgb(61, 55, 178);
/* oklch */ color: oklch(42.8% 0.187 277.1);
Tailwind
colors: {
  custom: {
    50: '#816fca',
    500: '#3d37b2',
    950: '#000000',
  },
}
SCSS
$custom: #3d37b2;
$custom-light: #816fca;
$custom-dark: #000000;
JSON
{
  "hex": "#3d37b2",
  "rgb": {
    "r": 61,
    "g": 55,
    "b": 178
  },
  "hsl": {
    "h": 242.927,
    "s": 52.79,
    "l": 45.686
  },
  "oklch": {
    "l": 0.42803,
    "c": 0.18729,
    "h": 277.1
  },
  "luminance": 0.06939
}

Semantic roles & 50–950 ramp

primary
#3D37B2
secondary
#C1C580
accent
#DC4CD5
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #3D37B2

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

Preview Lab → · Contrast checker → · Palette generator →

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