#3E2F90#3E2F90

#3E2F90 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.5% C 0.152 H 283.7°. Best body text is #FFFFFF at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#3E2F90
RGBrgb(62, 47, 144)
HSLhsl(249, 51%, 37%)
HSVhsv(249, 67%, 56%)
CMYKcmyk(56.9%, 67.4%, 0%, 43.5%)
CIE-LABlab(26.93, 34.39, -51.53)
CIE-LCHlch(26.93, 61.95, 303.72°)
OKLaboklab(38.48% 0.036 -0.1481)
OKLCHoklch(38.48% 0.152 283.7)
XYZxyz(8.0356, 5.0703, 26.9354)
Luminance0.0507 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2F90 #81902F
analogous
#2F5190 #3E2F90 #6E2F90
triadic
#3E2F90 #903E2F #2F903E
tetradic
#3E2F90 #902F51 #81902F #2F906E
square
#3E2F90 #902F51 #81902F #2F906E
split-complementary
#3E2F90 #906E2F #51902F
monochromatic
#161134 #2A2062 #3E2F90 #523EBE #7A6BCF

Accessibility & contrast

On white

10.43
#3E2F90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#3E2F90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2F90
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2F90#FFFFFF#000000##FFFFFF
##3E2F901.0010.432.0110.43
#FFFFFF10.431.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3e2f90;
/* rgb */ color: rgb(62, 47, 144);
/* oklch */ color: oklch(38.5% 0.152 283.7);
Tailwind
colors: {
  custom: {
    50: '#7c69b1',
    500: '#3e2f90',
    950: '#000000',
  },
}
SCSS
$custom: #3e2f90;
$custom-light: #7c69b1;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2f90",
  "rgb": {
    "r": 62,
    "g": 47,
    "b": 144
  },
  "hsl": {
    "h": 249.278,
    "s": 50.785,
    "l": 37.451
  },
  "oklch": {
    "l": 0.38476,
    "c": 0.15242,
    "h": 283.7
  },
  "luminance": 0.05071
}

Semantic roles & 50–950 ramp

primary
#3E2F90
secondary
#A9B665
accent
#DA4EC5
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #3E2F90

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

Preview Lab → · Contrast checker → · Palette generator →

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