#3E368B#3E368B

#3E368B is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.3% C 0.136 H 282.4°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#3E368B
RGBrgb(62, 54, 139)
HSLhsl(246, 44%, 38%)
HSVhsv(246, 61%, 55%)
CMYKcmyk(55.4%, 61.2%, 0%, 45.5%)
CIE-LABlab(28.18, 28.35, -46.40)
CIE-LCHlch(28.18, 54.38, 301.42°)
OKLaboklab(39.26% 0.0292 -0.133)
OKLCHoklch(39.26% 0.136 282.4)
XYZxyz(7.9645, 5.5261, 25.0681)
Luminance0.0553 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E368B #838B36
analogous
#36588B #3E368B #68368B
triadic
#3E368B #8B3E36 #368B3E
tetradic
#3E368B #8B3658 #838B36 #368B68
square
#3E368B #8B3658 #838B36 #368B68
split-complementary
#3E368B #8B6836 #588B36
monochromatic
#171433 #2A255F #3E368B #5247B7 #7B73C9

Accessibility & contrast

On white

9.97
#3E368B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E368B
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E368B#FFFFFF#000000##FFFFFF
##3E368B1.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458E
Deuteranopia (green-blind)
#004089
Tritanopia (blue-blind)
#1C4A5B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3e368b;
/* rgb */ color: rgb(62, 54, 139);
/* oklch */ color: oklch(39.3% 0.136 282.4);
Tailwind
colors: {
  custom: {
    50: '#7b6dae',
    500: '#3e368b',
    950: '#000000',
  },
}
SCSS
$custom: #3e368b;
$custom-light: #7b6dae;
$custom-dark: #000000;
JSON
{
  "hex": "#3e368b",
  "rgb": {
    "r": 62,
    "g": 54,
    "b": 139
  },
  "hsl": {
    "h": 245.647,
    "s": 44.041,
    "l": 37.843
  },
  "oklch": {
    "l": 0.39259,
    "c": 0.13619,
    "h": 282.4
  },
  "luminance": 0.05527
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3E368B

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

Preview Lab → · Contrast checker → · Palette generator →

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