#3E388E#3E388E

#3E388E is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.9% C 0.138 H 281.3°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#3E388E
RGBrgb(62, 56, 142)
HSLhsl(244, 43%, 39%)
HSVhsv(244, 61%, 56%)
CMYKcmyk(56.3%, 60.6%, 0%, 44.3%)
CIE-LABlab(28.92, 28.07, -47.07)
CIE-LCHlch(28.92, 54.80, 300.81°)
OKLaboklab(39.87% 0.0269 -0.135)
OKLCHoklch(39.87% 0.138 281.3)
XYZxyz(8.2818, 5.8050, 26.2700)
Luminance0.0580 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E388E #888E38
analogous
#385D8E #3E388E #69388E
triadic
#3E388E #8E3E38 #388E3E
tetradic
#3E388E #8E385D #888E38 #388E69
square
#3E388E #8E385D #888E38 #388E69
split-complementary
#3E388E #8E6938 #5D8E38
monochromatic
#181536 #2B2762 #3E388E #534BB8 #7D77C9

Accessibility & contrast

On white

9.72
#3E388E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#3E388E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E388E
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E388E#FFFFFF#000000##FFFFFF
##3E388E1.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3e388e;
/* rgb */ color: rgb(62, 56, 142);
/* oklch */ color: oklch(39.9% 0.138 281.3);
Tailwind
colors: {
  custom: {
    50: '#7b6fb0',
    500: '#3e388e',
    950: '#000000',
  },
}
SCSS
$custom: #3e388e;
$custom-light: #7b6fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#3e388e",
  "rgb": {
    "r": 62,
    "g": 56,
    "b": 142
  },
  "hsl": {
    "h": 244.186,
    "s": 43.434,
    "l": 38.824
  },
  "oklch": {
    "l": 0.39871,
    "c": 0.13764,
    "h": 281.3
  },
  "luminance": 0.05805
}

Semantic roles & 50–950 ramp

primary
#3E388E
secondary
#AEB26F
accent
#D355CA
background
#F7F6FA
surface
#EEECF5
border
#C9C7CF
text
#0A0710
muted
#7C7A7F

Preview Lab

Preview with #3E388E

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

Preview Lab → · Contrast checker → · Palette generator →

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