#3E4E97#3E4E97

#3E4E97 is a dark, vivid blue. Relative luminance 0.087; OKLCH L 44.9% C 0.120 H 271.5°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#3E4E97
RGBrgb(62, 78, 151)
HSLhsl(229, 42%, 42%)
HSVhsv(229, 59%, 59%)
CMYKcmyk(58.9%, 48.3%, 0%, 40.8%)
CIE-LABlab(35.41, 16.73, -42.09)
CIE-LCHlch(35.41, 45.29, 291.68°)
OKLaboklab(44.94% 0.0032 -0.1201)
OKLCHoklch(44.94% 0.12 271.5)
XYZxyz(10.2951, 8.7065, 30.4102)
Luminance0.0871 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E4E97 #97873E
analogous
#3E7B97 #3E4E97 #5A3E97
triadic
#3E4E97 #973E4E #4E973E
tetradic
#3E4E97 #973E7B #97873E #3E975A
square
#3E4E97 #973E7B #97873E #3E975A
split-complementary
#3E4E97 #975A3E #7B973E
monochromatic
#1A2140 #2C386C #3E4E97 #586ABA #8390CC

Accessibility & contrast

On white

7.66
#3E4E97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#3E4E97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E4E97
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E4E97#FFFFFF#000000##FFFFFF
##3E4E971.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B579A
Deuteranopia (green-blind)
#1E5095
Tritanopia (blue-blind)
#005E6B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3e4e97;
/* rgb */ color: rgb(62, 78, 151);
/* oklch */ color: oklch(44.9% 0.120 271.5);
Tailwind
colors: {
  custom: {
    50: '#7b7fb6',
    500: '#3e4e97',
    950: '#000000',
  },
}
SCSS
$custom: #3e4e97;
$custom-light: #7b7fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#3e4e97",
  "rgb": {
    "r": 62,
    "g": 78,
    "b": 151
  },
  "hsl": {
    "h": 229.213,
    "s": 41.784,
    "l": 41.765
  },
  "oklch": {
    "l": 0.44944,
    "c": 0.12017,
    "h": 271.5
  },
  "luminance": 0.08707
}

Semantic roles & 50–950 ramp

primary
#3E4E97
secondary
#B6AC7A
accent
#BB56D2
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#0A0A11
muted
#7C7C80

Preview Lab

Preview with #3E4E97

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

Preview Lab → · Contrast checker → · Palette generator →

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