#3E4D97#3E4D97

#3E4D97 is a dark, vivid blue. Relative luminance 0.086; OKLCH L 44.7% C 0.122 H 272.0°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#3E4D97
RGBrgb(62, 77, 151)
HSLhsl(230, 42%, 42%)
HSVhsv(230, 59%, 59%)
CMYKcmyk(58.9%, 49%, 0%, 40.8%)
CIE-LABlab(35.13, 17.39, -42.54)
CIE-LCHlch(35.13, 45.95, 292.24°)
OKLaboklab(44.73% 0.0043 -0.1214)
OKLCHoklch(44.73% 0.122 272)
XYZxyz(10.2246, 8.5655, 30.3867)
Luminance0.0857 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E4D97 #97883E
analogous
#3E7A97 #3E4D97 #5C3E97
triadic
#3E4D97 #973E4D #4D973E
tetradic
#3E4D97 #973E7A #97883E #3E975C
square
#3E4D97 #973E7A #97883E #3E975C
split-complementary
#3E4D97 #975C3E #7A973E
monochromatic
#1A2140 #2C376C #3E4D97 #5868BA #8390CC

Accessibility & contrast

On white

7.74
#3E4D97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#3E4D97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E4D97
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E4D97#FFFFFF#000000##FFFFFF
##3E4D971.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29579A
Deuteranopia (green-blind)
#1B4F95
Tritanopia (blue-blind)
#005E6B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3e4d97;
/* rgb */ color: rgb(62, 77, 151);
/* oklch */ color: oklch(44.7% 0.122 272.0);
Tailwind
colors: {
  custom: {
    50: '#7b7eb6',
    500: '#3e4d97',
    950: '#000000',
  },
}
SCSS
$custom: #3e4d97;
$custom-light: #7b7eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#3e4d97",
  "rgb": {
    "r": 62,
    "g": 77,
    "b": 151
  },
  "hsl": {
    "h": 229.888,
    "s": 41.784,
    "l": 41.765
  },
  "oklch": {
    "l": 0.44732,
    "c": 0.12153,
    "h": 272
  },
  "luminance": 0.08566
}

Semantic roles & 50–950 ramp

primary
#3E4D97
secondary
#B6AC7A
accent
#BD56D2
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#0A0911
muted
#7C7B80

Preview Lab

Preview with #3E4D97

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

Preview Lab → · Contrast checker → · Palette generator →

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