#3E368E#3E368E

#3E368E is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.5% C 0.140 H 281.9°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#3E368E
RGBrgb(62, 54, 142)
HSLhsl(245, 45%, 38%)
HSVhsv(245, 62%, 56%)
CMYKcmyk(56.3%, 62%, 0%, 44.3%)
CIE-LABlab(28.42, 29.35, -47.87)
CIE-LCHlch(28.42, 56.15, 301.51°)
OKLaboklab(39.51% 0.0291 -0.1374)
OKLCHoklch(39.51% 0.14 281.9)
XYZxyz(8.1868, 5.6150, 26.2383)
Luminance0.0561 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E368E #868E36
analogous
#365A8E #3E368E #6A368E
triadic
#3E368E #8E3E36 #368E3E
tetradic
#3E368E #8E365A #868E36 #368E6A
square
#3E368E #8E365A #868E36 #368E6A
split-complementary
#3E368E #8E6A36 #5A8E36
monochromatic
#171435 #2B2562 #3E368E #5248B9 #7C74CA

Accessibility & contrast

On white

9.89
#3E368E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#3E368E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E368E
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E368E#FFFFFF#000000##FFFFFF
##3E368E1.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004691
Deuteranopia (green-blind)
#00408C
Tritanopia (blue-blind)
#184B5C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3e368e;
/* rgb */ color: rgb(62, 54, 142);
/* oklch */ color: oklch(39.5% 0.140 281.9);
Tailwind
colors: {
  custom: {
    50: '#7b6db0',
    500: '#3e368e',
    950: '#000000',
  },
}
SCSS
$custom: #3e368e;
$custom-light: #7b6db0;
$custom-dark: #000000;
JSON
{
  "hex": "#3e368e",
  "rgb": {
    "r": 62,
    "g": 54,
    "b": 142
  },
  "hsl": {
    "h": 245.455,
    "s": 44.898,
    "l": 38.431
  },
  "oklch": {
    "l": 0.39506,
    "c": 0.1404,
    "h": 281.9
  },
  "luminance": 0.05615
}

Semantic roles & 50–950 ramp

primary
#3E368E
secondary
#ACB36D
accent
#D553C9
background
#F7F6FA
surface
#EEEBF5
border
#C9C6CF
text
#0A0710
muted
#7C7A7F

Preview Lab

Preview with #3E368E

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

Preview Lab → · Contrast checker → · Palette generator →

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