#3E3583#3E3583

#3E3583 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.4% C 0.126 H 284.0°. Best body text is #FFFFFF at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#3E3583
RGBrgb(62, 53, 131)
HSLhsl(247, 42%, 36%)
HSVhsv(247, 60%, 51%)
CMYKcmyk(52.7%, 59.5%, 0%, 48.6%)
CIE-LABlab(27.32, 26.34, -42.82)
CIE-LCHlch(27.32, 50.27, 301.60°)
OKLaboklab(38.43% 0.0305 -0.1225)
OKLCHoklch(38.43% 0.126 284)
XYZxyz(7.3552, 5.2086, 22.0861)
Luminance0.0521 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E3583 #7A8335
analogous
#355383 #3E3583 #653583
triadic
#3E3583 #833E35 #35833E
tetradic
#3E3583 #833553 #7A8335 #358365
square
#3E3583 #833553 #7A8335 #358365
split-complementary
#3E3583 #836535 #538335
monochromatic
#15122C #292357 #3E3583 #5347AF #786EC4

Accessibility & contrast

On white

10.29
#3E3583 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#3E3583 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E3583
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E3583#FFFFFF#000000##FFFFFF
##3E35831.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004386
Deuteranopia (green-blind)
#003E81
Tritanopia (blue-blind)
#234756
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #3e3583;
/* rgb */ color: rgb(62, 53, 131);
/* oklch */ color: oklch(38.4% 0.126 284.0);
Tailwind
colors: {
  custom: {
    50: '#796ca8',
    500: '#3e3583',
    950: '#000000',
  },
}
SCSS
$custom: #3e3583;
$custom-light: #796ca8;
$custom-dark: #000000;
JSON
{
  "hex": "#3e3583",
  "rgb": {
    "r": 62,
    "g": 53,
    "b": 131
  },
  "hsl": {
    "h": 246.923,
    "s": 42.391,
    "l": 36.078
  },
  "oklch": {
    "l": 0.38429,
    "c": 0.12624,
    "h": 284
  },
  "luminance": 0.05209
}

Semantic roles & 50–950 ramp

primary
#3E3583
secondary
#A5AD67
accent
#D256C4
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0710
muted
#7C7A7F

Preview Lab

Preview with #3E3583

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

Preview Lab → · Contrast checker → · Palette generator →

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