#3E3090#3E3090

#3E3090 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.6% C 0.151 H 283.4°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#3E3090
RGBrgb(62, 48, 144)
HSLhsl(249, 50%, 38%)
HSVhsv(249, 67%, 56%)
CMYKcmyk(56.9%, 66.7%, 0%, 43.5%)
CIE-LABlab(27.16, 33.78, -51.16)
CIE-LCHlch(27.16, 61.30, 303.43°)
OKLaboklab(38.64% 0.035 -0.147)
OKLCHoklch(38.64% 0.151 283.4)
XYZxyz(8.0761, 5.1512, 26.9489)
Luminance0.0515 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E3090 #829030
analogous
#305290 #3E3090 #6E3090
triadic
#3E3090 #903E30 #30903E
tetradic
#3E3090 #903052 #829030 #30906E
square
#3E3090 #903052 #829030 #30906E
split-complementary
#3E3090 #906E30 #529030
monochromatic
#161134 #2A2162 #3E3090 #523FBE #7B6CCE

Accessibility & contrast

On white

10.34
#3E3090 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#3E3090 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E3090
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E3090#FFFFFF#000000##FFFFFF
##3E30901.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004393
Deuteranopia (green-blind)
#003D8E
Tritanopia (blue-blind)
#17485B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3e3090;
/* rgb */ color: rgb(62, 48, 144);
/* oklch */ color: oklch(38.6% 0.151 283.4);
Tailwind
colors: {
  custom: {
    50: '#7c69b1',
    500: '#3e3090',
    950: '#000000',
  },
}
SCSS
$custom: #3e3090;
$custom-light: #7c69b1;
$custom-dark: #000000;
JSON
{
  "hex": "#3e3090",
  "rgb": {
    "r": 62,
    "g": 48,
    "b": 144
  },
  "hsl": {
    "h": 248.75,
    "s": 50,
    "l": 37.647
  },
  "oklch": {
    "l": 0.3864,
    "c": 0.15113,
    "h": 283.4
  },
  "luminance": 0.05152
}

Semantic roles & 50–950 ramp

primary
#3E3090
secondary
#AAB566
accent
#DA4EC5
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #3E3090

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

Preview Lab → · Contrast checker → · Palette generator →

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