#3E378D#3E378D

#3E378D is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.6% C 0.138 H 281.8°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#3E378D
RGBrgb(62, 55, 141)
HSLhsl(245, 44%, 38%)
HSVhsv(245, 61%, 55%)
CMYKcmyk(56%, 61%, 0%, 44.7%)
CIE-LABlab(28.59, 28.38, -46.98)
CIE-LCHlch(28.59, 54.89, 301.13°)
OKLaboklab(39.61% 0.028 -0.1347)
OKLCHoklch(39.61% 0.138 281.8)
XYZxyz(8.1590, 5.6791, 25.8604)
Luminance0.0568 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E378D #868D37
analogous
#375B8D #3E378D #69378D
triadic
#3E378D #8D3E37 #378D3E
tetradic
#3E378D #8D375B #868D37 #378D69
square
#3E378D #8D375B #868D37 #378D69
split-complementary
#3E378D #8D6937 #5B8D37
monochromatic
#171535 #2B2661 #3E378D #5249B8 #7C75C9

Accessibility & contrast

On white

9.83
#3E378D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#3E378D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E378D
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E378D#FFFFFF#000000##FFFFFF
##3E378D1.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004690
Deuteranopia (green-blind)
#00408B
Tritanopia (blue-blind)
#194B5C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3e378d;
/* rgb */ color: rgb(62, 55, 141);
/* oklch */ color: oklch(39.6% 0.138 281.8);
Tailwind
colors: {
  custom: {
    50: '#7b6eaf',
    500: '#3e378d',
    950: '#000000',
  },
}
SCSS
$custom: #3e378d;
$custom-light: #7b6eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#3e378d",
  "rgb": {
    "r": 62,
    "g": 55,
    "b": 141
  },
  "hsl": {
    "h": 244.884,
    "s": 43.878,
    "l": 38.431
  },
  "oklch": {
    "l": 0.39606,
    "c": 0.13762,
    "h": 281.8
  },
  "luminance": 0.0568
}

Semantic roles & 50–950 ramp

primary
#3E378D
secondary
#ACB26E
accent
#D454C9
background
#F7F6FA
surface
#EEECF5
border
#C9C7CF
text
#0A0710
muted
#7C7A7F

Preview Lab

Preview with #3E378D

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

Preview Lab → · Contrast checker → · Palette generator →

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