#3E2F98#3E2F98

#3E2F98 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.2% C 0.163 H 282.3°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#3E2F98
RGBrgb(62, 47, 152)
HSLhsl(249, 53%, 39%)
HSVhsv(249, 69%, 60%)
CMYKcmyk(59.2%, 69.1%, 0%, 40.4%)
CIE-LABlab(27.64, 36.97, -55.29)
CIE-LCHlch(27.64, 66.52, 303.77°)
OKLaboklab(39.2% 0.0348 -0.1592)
OKLCHoklch(39.2% 0.163 282.3)
XYZxyz(8.6689, 5.3236, 30.2704)
Luminance0.0532 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2F98 #89982F
analogous
#2F5598 #3E2F98 #732F98
triadic
#3E2F98 #983E2F #2F983E
tetradic
#3E2F98 #982F55 #89982F #2F9873
square
#3E2F98 #982F55 #89982F #2F9873
split-complementary
#3E2F98 #98732F #55982F
monochromatic
#18123B #2B2169 #3E2F98 #5340C4 #7D6FD2

Accessibility & contrast

On white

10.17
#3E2F98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#3E2F98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2F98
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2F98#FFFFFF#000000##FFFFFF
##3E2F981.0010.172.0610.17
#FFFFFF10.171.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459B
Deuteranopia (green-blind)
#003E96
Tritanopia (blue-blind)
#074A5F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #3e2f98;
/* rgb */ color: rgb(62, 47, 152);
/* oklch */ color: oklch(39.2% 0.163 282.3);
Tailwind
colors: {
  custom: {
    50: '#7d69b7',
    500: '#3e2f98',
    950: '#000000',
  },
}
SCSS
$custom: #3e2f98;
$custom-light: #7d69b7;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2f98",
  "rgb": {
    "r": 62,
    "g": 47,
    "b": 152
  },
  "hsl": {
    "h": 248.571,
    "s": 52.764,
    "l": 39.02
  },
  "oklch": {
    "l": 0.39201,
    "c": 0.16294,
    "h": 282.3
  },
  "luminance": 0.05324
}

Semantic roles & 50–950 ramp

primary
#3E2F98
secondary
#AEBA69
accent
#DC4CC8
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #3E2F98

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

Preview Lab → · Contrast checker → · Palette generator →

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