#3E3E83#3E3E83

#3E3E83 is a dark, moderate blue. Relative luminance 0.061; OKLCH L 40.2% C 0.113 H 280.0°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#3E3E83
RGBrgb(62, 62, 131)
HSLhsl(240, 36%, 38%)
HSVhsv(240, 53%, 51%)
CMYKcmyk(52.7%, 52.7%, 0%, 48.6%)
CIE-LABlab(29.68, 20.42, -39.01)
CIE-LCHlch(29.68, 44.03, 297.63°)
OKLaboklab(40.19% 0.0197 -0.1112)
OKLCHoklch(40.19% 0.113 280)
XYZxyz(7.8047, 6.1076, 22.2360)
Luminance0.0611 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E3E83 #83833E
analogous
#3E6083 #3E3E83 #603E83
triadic
#3E3E83 #833E3E #3E833E
tetradic
#3E3E83 #833E60 #83833E #3E8360
square
#3E3E83 #833E60 #83833E #3E8360
split-complementary
#3E3E83 #83603E #60833E
monochromatic
#171730 #2A2A59 #3E3E83 #5252AD #7B7BC0

Accessibility & contrast

On white

9.45
#3E3E83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#3E3E83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E3E83
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E3E83#FFFFFF#000000##FFFFFF
##3E3E831.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4985
Deuteranopia (green-blind)
#154382
Tritanopia (blue-blind)
#224D5A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #3e3e83;
/* rgb */ color: rgb(62, 62, 131);
/* oklch */ color: oklch(40.2% 0.113 280.0);
Tailwind
colors: {
  custom: {
    50: '#7973a7',
    500: '#3e3e83',
    950: '#000000',
  },
}
SCSS
$custom: #3e3e83;
$custom-light: #7973a7;
$custom-dark: #000000;
JSON
{
  "hex": "#3e3e83",
  "rgb": {
    "r": 62,
    "g": 62,
    "b": 131
  },
  "hsl": {
    "h": 240,
    "s": 35.751,
    "l": 37.843
  },
  "oklch": {
    "l": 0.40188,
    "c": 0.11298,
    "h": 280
  },
  "luminance": 0.06108
}

Semantic roles & 50–950 ramp

primary
#3E3E83
secondary
#ABAB72
accent
#CC5CCC
background
#F7F6FA
surface
#EEECF4
border
#C9C7CE
text
#09080F
muted
#7B7B7F

Preview Lab

Preview with #3E3E83

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

Preview Lab → · Contrast checker → · Palette generator →

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