#3E378E#3E378E

#3E378E is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.7% C 0.139 H 281.6°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#3E378E
RGBrgb(62, 55, 142)
HSLhsl(245, 44%, 39%)
HSVhsv(245, 61%, 56%)
CMYKcmyk(56.3%, 61.3%, 0%, 44.3%)
CIE-LABlab(28.67, 28.71, -47.47)
CIE-LCHlch(28.67, 55.48, 301.17°)
OKLaboklab(39.69% 0.028 -0.1362)
OKLCHoklch(39.69% 0.139 281.6)
XYZxyz(8.2338, 5.7090, 26.2540)
Luminance0.0571 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E378E #878E37
analogous
#375B8E #3E378E #69378E
triadic
#3E378E #8E3E37 #378E3E
tetradic
#3E378E #8E375B #878E37 #378E69
square
#3E378E #8E375B #878E37 #378E69
split-complementary
#3E378E #8E6937 #5B8E37
monochromatic
#171536 #2B2662 #3E378E #5249B9 #7C76CA

Accessibility & contrast

On white

9.80
#3E378E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E378E
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E378E#FFFFFF#000000##FFFFFF
##3E378E1.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004791
Deuteranopia (green-blind)
#00408C
Tritanopia (blue-blind)
#184C5D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3e378e;
/* rgb */ color: rgb(62, 55, 142);
/* oklch */ color: oklch(39.7% 0.139 281.6);
Tailwind
colors: {
  custom: {
    50: '#7b6eb0',
    500: '#3e378e',
    950: '#000000',
  },
}
SCSS
$custom: #3e378e;
$custom-light: #7b6eb0;
$custom-dark: #000000;
JSON
{
  "hex": "#3e378e",
  "rgb": {
    "r": 62,
    "g": 55,
    "b": 142
  },
  "hsl": {
    "h": 244.828,
    "s": 44.162,
    "l": 38.627
  },
  "oklch": {
    "l": 0.39688,
    "c": 0.13902,
    "h": 281.6
  },
  "luminance": 0.0571
}

Semantic roles & 50–950 ramp

primary
#3E378E
secondary
#ADB36E
accent
#D454CA
background
#F7F6FA
surface
#EEECF5
border
#C9C7CF
text
#0A0710
muted
#7C7A7F

Preview Lab

Preview with #3E378E

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

Preview Lab → · Contrast checker → · Palette generator →

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