#3E388B#3E388B

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

Color values

HEX#3E388B
RGBrgb(62, 56, 139)
HSLhsl(244, 43%, 38%)
HSVhsv(244, 60%, 55%)
CMYKcmyk(55.4%, 59.7%, 0%, 45.5%)
CIE-LABlab(28.68, 27.06, -45.59)
CIE-LCHlch(28.68, 53.01, 300.69°)
OKLaboklab(39.63% 0.027 -0.1306)
OKLCHoklch(39.63% 0.133 281.7)
XYZxyz(8.0595, 5.7161, 25.0997)
Luminance0.0572 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E388B #858B38
analogous
#385B8B #3E388B #67388B
triadic
#3E388B #8B3E38 #388B3E
tetradic
#3E388B #8B385B #858B38 #388B67
square
#3E388B #8B385B #858B38 #388B67
split-complementary
#3E388B #8B6738 #5B8B38
monochromatic
#171534 #2B265F #3E388B #524AB6 #7C76C8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3E388B#FFFFFF#000000##FFFFFF
##3E388B1.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)
#00478E
Deuteranopia (green-blind)
#004189
Tritanopia (blue-blind)
#1C4B5C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3e388b;
/* rgb */ color: rgb(62, 56, 139);
/* oklch */ color: oklch(39.6% 0.133 281.7);
Tailwind
colors: {
  custom: {
    50: '#7a6fad',
    500: '#3e388b',
    950: '#000000',
  },
}
SCSS
$custom: #3e388b;
$custom-light: #7a6fad;
$custom-dark: #000000;
JSON
{
  "hex": "#3e388b",
  "rgb": {
    "r": 62,
    "g": 56,
    "b": 139
  },
  "hsl": {
    "h": 244.337,
    "s": 42.564,
    "l": 38.235
  },
  "oklch": {
    "l": 0.39628,
    "c": 0.13339,
    "h": 281.7
  },
  "luminance": 0.05717
}

Semantic roles & 50–950 ramp

primary
#3E388B
secondary
#ACB16E
accent
#D255C9
background
#F7F6FA
surface
#EEECF4
border
#C9C7CE
text
#0A0710
muted
#7C7A7F

Preview Lab

Preview with #3E388B

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

Preview Lab → · Contrast checker → · Palette generator →

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