#3E368D#3E368D

#3E368D is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.4% C 0.139 H 282.1°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#3E368D
RGBrgb(62, 54, 141)
HSLhsl(246, 45%, 38%)
HSVhsv(246, 62%, 55%)
CMYKcmyk(56%, 61.7%, 0%, 44.7%)
CIE-LABlab(28.34, 29.02, -47.38)
CIE-LCHlch(28.34, 55.56, 301.48°)
OKLaboklab(39.42% 0.0291 -0.1359)
OKLCHoklch(39.42% 0.139 282.1)
XYZxyz(8.1120, 5.5851, 25.8447)
Luminance0.0559 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E368D #858D36
analogous
#36598D #3E368D #69368D
triadic
#3E368D #8D3E36 #368D3E
tetradic
#3E368D #8D3659 #858D36 #368D69
square
#3E368D #8D3659 #858D36 #368D69
split-complementary
#3E368D #8D6936 #598D36
monochromatic
#171434 #2B2561 #3E368D #5247B9 #7C74CA

Accessibility & contrast

On white

9.92
#3E368D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E368D
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E368D#FFFFFF#000000##FFFFFF
##3E368D1.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004690
Deuteranopia (green-blind)
#00408B
Tritanopia (blue-blind)
#1A4B5C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3e368d;
/* rgb */ color: rgb(62, 54, 141);
/* oklch */ color: oklch(39.4% 0.139 282.1);
Tailwind
colors: {
  custom: {
    50: '#7b6daf',
    500: '#3e368d',
    950: '#000000',
  },
}
SCSS
$custom: #3e368d;
$custom-light: #7b6daf;
$custom-dark: #000000;
JSON
{
  "hex": "#3e368d",
  "rgb": {
    "r": 62,
    "g": 54,
    "b": 141
  },
  "hsl": {
    "h": 245.517,
    "s": 44.615,
    "l": 38.235
  },
  "oklch": {
    "l": 0.39424,
    "c": 0.139,
    "h": 282.1
  },
  "luminance": 0.05586
}

Semantic roles & 50–950 ramp

primary
#3E368D
secondary
#ACB26D
accent
#D453C8
background
#F7F6FA
surface
#EEEBF5
border
#C9C6CF
text
#0A0710
muted
#7C7A7F

Preview Lab

Preview with #3E368D

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

Preview Lab → · Contrast checker → · Palette generator →

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