#3E368F#3E368F

#3E368F is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.6% C 0.142 H 281.8°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#3E368F
RGBrgb(62, 54, 143)
HSLhsl(245, 45%, 39%)
HSVhsv(245, 62%, 56%)
CMYKcmyk(56.6%, 62.2%, 0%, 43.9%)
CIE-LABlab(28.50, 29.69, -48.36)
CIE-LCHlch(28.50, 56.74, 301.54°)
OKLaboklab(39.59% 0.029 -0.1388)
OKLCHoklch(39.59% 0.142 281.8)
XYZxyz(8.2622, 5.6451, 26.6355)
Luminance0.0565 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E368F #878F36
analogous
#365A8F #3E368F #6A368F
triadic
#3E368F #8F3E36 #368F3E
tetradic
#3E368F #8F365A #878F36 #368F6A
square
#3E368F #8F365A #878F36 #368F6A
split-complementary
#3E368F #8F6A36 #5A8F36
monochromatic
#171436 #2B2563 #3E368F #5248BA #7C75CB

Accessibility & contrast

On white

9.86
#3E368F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#3E368F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E368F
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E368F#FFFFFF#000000##FFFFFF
##3E368F1.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004692
Deuteranopia (green-blind)
#00408D
Tritanopia (blue-blind)
#174B5D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3e368f;
/* rgb */ color: rgb(62, 54, 143);
/* oklch */ color: oklch(39.6% 0.142 281.8);
Tailwind
colors: {
  custom: {
    50: '#7b6db0',
    500: '#3e368f',
    950: '#000000',
  },
}
SCSS
$custom: #3e368f;
$custom-light: #7b6db0;
$custom-dark: #000000;
JSON
{
  "hex": "#3e368f",
  "rgb": {
    "r": 62,
    "g": 54,
    "b": 143
  },
  "hsl": {
    "h": 245.393,
    "s": 45.178,
    "l": 38.627
  },
  "oklch": {
    "l": 0.3959,
    "c": 0.14179,
    "h": 281.8
  },
  "luminance": 0.05646
}

Semantic roles & 50–950 ramp

primary
#3E368F
secondary
#ADB36D
accent
#D553C9
background
#F7F6FA
surface
#EEEBF5
border
#C9C6CF
text
#0A0711
muted
#7C7A80

Preview Lab

Preview with #3E368F

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

Preview Lab → · Contrast checker → · Palette generator →

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