#3E368C#3E368C

#3E368C is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.3% C 0.138 H 282.2°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#3E368C
RGBrgb(62, 54, 140)
HSLhsl(246, 44%, 38%)
HSVhsv(246, 61%, 55%)
CMYKcmyk(55.7%, 61.4%, 0%, 45.1%)
CIE-LABlab(28.26, 28.68, -46.89)
CIE-LCHlch(28.26, 54.97, 301.45°)
OKLaboklab(39.34% 0.0292 -0.1345)
OKLCHoklch(39.34% 0.138 282.2)
XYZxyz(8.0379, 5.5554, 25.4546)
Luminance0.0556 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E368C #848C36
analogous
#36598C #3E368C #69368C
triadic
#3E368C #8C3E36 #368C3E
tetradic
#3E368C #8C3659 #848C36 #368C69
square
#3E368C #8C3659 #848C36 #368C69
split-complementary
#3E368C #8C6936 #598C36
monochromatic
#171434 #2A2560 #3E368C #5247B8 #7B73C9

Accessibility & contrast

On white

9.95
#3E368C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#3E368C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E368C
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E368C#FFFFFF#000000##FFFFFF
##3E368C1.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468F
Deuteranopia (green-blind)
#00408A
Tritanopia (blue-blind)
#1B4A5B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3e368c;
/* rgb */ color: rgb(62, 54, 140);
/* oklch */ color: oklch(39.3% 0.138 282.2);
Tailwind
colors: {
  custom: {
    50: '#7b6dae',
    500: '#3e368c',
    950: '#000000',
  },
}
SCSS
$custom: #3e368c;
$custom-light: #7b6dae;
$custom-dark: #000000;
JSON
{
  "hex": "#3e368c",
  "rgb": {
    "r": 62,
    "g": 54,
    "b": 140
  },
  "hsl": {
    "h": 245.581,
    "s": 44.33,
    "l": 38.039
  },
  "oklch": {
    "l": 0.39341,
    "c": 0.13759,
    "h": 282.2
  },
  "luminance": 0.05556
}

Semantic roles & 50–950 ramp

primary
#3E368C
secondary
#ABB26C
accent
#D454C8
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0710
muted
#7C7A7F

Preview Lab

Preview with #3E368C

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

Preview Lab → · Contrast checker → · Palette generator →

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