#3E3097#3E3097

#3E3097 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.3% C 0.160 H 282.3°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#3E3097
RGBrgb(62, 48, 151)
HSLhsl(248, 52%, 39%)
HSVhsv(248, 68%, 59%)
CMYKcmyk(58.9%, 68.2%, 0%, 40.8%)
CIE-LABlab(27.77, 36.05, -54.47)
CIE-LCHlch(27.77, 65.32, 303.50°)
OKLaboklab(39.27% 0.0341 -0.1567)
OKLCHoklch(39.27% 0.16 282.3)
XYZxyz(8.6277, 5.3718, 29.8544)
Luminance0.0537 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E3097 #899730
analogous
#305697 #3E3097 #723097
triadic
#3E3097 #973E30 #30973E
tetradic
#3E3097 #973056 #899730 #309772
square
#3E3097 #973056 #899730 #309772
split-complementary
#3E3097 #977230 #569730
monochromatic
#18123A #2B2169 #3E3097 #5341C3 #7D70D2

Accessibility & contrast

On white

10.12
#3E3097 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#3E3097 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E3097
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E3097#FFFFFF#000000##FFFFFF
##3E30971.0010.122.0710.12
#FFFFFF10.121.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459A
Deuteranopia (green-blind)
#003E95
Tritanopia (blue-blind)
#0A4A5F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3e3097;
/* rgb */ color: rgb(62, 48, 151);
/* oklch */ color: oklch(39.3% 0.160 282.3);
Tailwind
colors: {
  custom: {
    50: '#7d69b6',
    500: '#3e3097',
    950: '#000000',
  },
}
SCSS
$custom: #3e3097;
$custom-light: #7d69b6;
$custom-dark: #000000;
JSON
{
  "hex": "#3e3097",
  "rgb": {
    "r": 62,
    "g": 48,
    "b": 151
  },
  "hsl": {
    "h": 248.155,
    "s": 51.759,
    "l": 39.02
  },
  "oklch": {
    "l": 0.39268,
    "c": 0.16042,
    "h": 282.3
  },
  "luminance": 0.05372
}

Semantic roles & 50–950 ramp

primary
#3E3097
secondary
#AEB96A
accent
#DB4DC8
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #3E3097

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

Preview Lab → · Contrast checker → · Palette generator →

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