#3E37A2#3E37A2

#3E37A2 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.4% C 0.166 H 279.2°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#3E37A2
RGBrgb(62, 55, 162)
HSLhsl(244, 49%, 43%)
HSVhsv(244, 66%, 64%)
CMYKcmyk(61.7%, 66%, 0%, 36.5%)
CIE-LABlab(30.31, 35.41, -57.00)
CIE-LCHlch(30.31, 67.10, 301.85°)
OKLaboklab(41.41% 0.0265 -0.1642)
OKLCHoklch(41.41% 0.166 279.2)
XYZxyz(9.8723, 6.3644, 34.8836)
Luminance0.0636 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E37A2 #9BA237
analogous
#3766A2 #3E37A2 #7337A2
triadic
#3E37A2 #A23E37 #37A23E
tetradic
#3E37A2 #A23766 #9BA237 #37A273
square
#3E37A2 #A23766 #9BA237 #37A273
split-complementary
#3E37A2 #A27337 #66A237
monochromatic
#1B1847 #2D2774 #3E37A2 #5952C4 #8580D4

Accessibility & contrast

On white

9.24
#3E37A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#3E37A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E37A2
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E37A2#FFFFFF#000000##FFFFFF
##3E37A21.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA5
Deuteranopia (green-blind)
#0043A0
Tritanopia (blue-blind)
#005267
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #3e37a2;
/* rgb */ color: rgb(62, 55, 162);
/* oklch */ color: oklch(41.4% 0.166 279.2);
Tailwind
colors: {
  custom: {
    50: '#7f6ebe',
    500: '#3e37a2',
    950: '#000000',
  },
}
SCSS
$custom: #3e37a2;
$custom-light: #7f6ebe;
$custom-dark: #000000;
JSON
{
  "hex": "#3e37a2",
  "rgb": {
    "r": 62,
    "g": 55,
    "b": 162
  },
  "hsl": {
    "h": 243.925,
    "s": 49.309,
    "l": 42.549
  },
  "oklch": {
    "l": 0.41407,
    "c": 0.1663,
    "h": 279.2
  },
  "luminance": 0.06365
}

Semantic roles & 50–950 ramp

primary
#3E37A2
secondary
#B9BD78
accent
#D94FD0
background
#F8F6FB
surface
#EFECF7
border
#CAC7D0
text
#0B0712
muted
#7C7A81

Preview Lab

Preview with #3E37A2

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

Preview Lab → · Contrast checker → · Palette generator →

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