#3E388D#3E388D

#3E388D is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.8% C 0.136 H 281.4°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#3E388D
RGBrgb(62, 56, 141)
HSLhsl(244, 43%, 39%)
HSVhsv(244, 60%, 55%)
CMYKcmyk(56%, 60.3%, 0%, 44.7%)
CIE-LABlab(28.84, 27.73, -46.58)
CIE-LCHlch(28.84, 54.21, 300.77°)
OKLaboklab(39.79% 0.027 -0.1335)
OKLCHoklch(39.79% 0.136 281.4)
XYZxyz(8.2070, 5.7751, 25.8764)
Luminance0.0578 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E388D #878D38
analogous
#385C8D #3E388D #68388D
triadic
#3E388D #8D3E38 #388D3E
tetradic
#3E388D #8D385C #878D38 #388D68
square
#3E388D #8D385C #878D38 #388D68
split-complementary
#3E388D #8D6838 #5C8D38
monochromatic
#171535 #2B2761 #3E388D #524BB7 #7C77C9

Accessibility & contrast

On white

9.74
#3E388D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E388D
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E388D#FFFFFF#000000##FFFFFF
##3E388D1.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004790
Deuteranopia (green-blind)
#00418B
Tritanopia (blue-blind)
#194C5D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3e388d;
/* rgb */ color: rgb(62, 56, 141);
/* oklch */ color: oklch(39.8% 0.136 281.4);
Tailwind
colors: {
  custom: {
    50: '#7b6faf',
    500: '#3e388d',
    950: '#000000',
  },
}
SCSS
$custom: #3e388d;
$custom-light: #7b6faf;
$custom-dark: #000000;
JSON
{
  "hex": "#3e388d",
  "rgb": {
    "r": 62,
    "g": 56,
    "b": 141
  },
  "hsl": {
    "h": 244.235,
    "s": 43.147,
    "l": 38.627
  },
  "oklch": {
    "l": 0.3979,
    "c": 0.13622,
    "h": 281.4
  },
  "luminance": 0.05776
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3E388D

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

Preview Lab → · Contrast checker → · Palette generator →

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