#3E4996#3E4996

#3E4996 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 43.8% C 0.126 H 273.9°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#3E4996
RGBrgb(62, 73, 150)
HSLhsl(233, 42%, 42%)
HSVhsv(233, 59%, 59%)
CMYKcmyk(58.7%, 51.3%, 0%, 41.2%)
CIE-LABlab(33.96, 19.68, -43.81)
CIE-LCHlch(33.96, 48.03, 294.19°)
OKLaboklab(43.82% 0.0086 -0.1252)
OKLCHoklch(43.82% 0.126 273.9)
XYZxyz(9.8724, 7.9905, 29.8703)
Luminance0.0799 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E4996 #968B3E
analogous
#3E7596 #3E4996 #5F3E96
triadic
#3E4996 #963E49 #49963E
tetradic
#3E4996 #963E75 #968B3E #3E965F
square
#3E4996 #963E75 #968B3E #3E965F
split-complementary
#3E4996 #965F3E #75963E
monochromatic
#1A1F3F #2C346B #3E4996 #5764BA #838CCC

Accessibility & contrast

On white

8.08
#3E4996 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#3E4996 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E4996
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E4996#FFFFFF#000000##FFFFFF
##3E49961.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215499
Deuteranopia (green-blind)
#114C94
Tritanopia (blue-blind)
#035A68
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3e4996;
/* rgb */ color: rgb(62, 73, 150);
/* oklch */ color: oklch(43.8% 0.126 273.9);
Tailwind
colors: {
  custom: {
    50: '#7b7bb5',
    500: '#3e4996',
    950: '#000000',
  },
}
SCSS
$custom: #3e4996;
$custom-light: #7b7bb5;
$custom-dark: #000000;
JSON
{
  "hex": "#3e4996",
  "rgb": {
    "r": 62,
    "g": 73,
    "b": 150
  },
  "hsl": {
    "h": 232.5,
    "s": 41.509,
    "l": 41.569
  },
  "oklch": {
    "l": 0.43824,
    "c": 0.12555,
    "h": 273.9
  },
  "luminance": 0.07991
}

Semantic roles & 50–950 ramp

primary
#3E4996
secondary
#B6AE7A
accent
#C256D1
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0911
muted
#7C7B80

Preview Lab

Preview with #3E4996

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

Preview Lab → · Contrast checker → · Palette generator →

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