#3E4897#3E4897

#3E4897 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.7% C 0.128 H 274.4°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#3E4897
RGBrgb(62, 72, 151)
HSLhsl(233, 42%, 42%)
HSVhsv(233, 59%, 59%)
CMYKcmyk(58.9%, 52.3%, 0%, 40.8%)
CIE-LABlab(33.76, 20.68, -44.75)
CIE-LCHlch(33.76, 49.30, 294.81°)
OKLaboklab(43.69% 0.0098 -0.128)
OKLCHoklch(43.69% 0.128 274.4)
XYZxyz(9.8881, 7.8925, 30.2745)
Luminance0.0789 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E4897 #978D3E
analogous
#3E7597 #3E4897 #613E97
triadic
#3E4897 #973E48 #48973E
tetradic
#3E4897 #973E75 #978D3E #3E9761
square
#3E4897 #973E75 #978D3E #3E9761
split-complementary
#3E4897 #97613E #75973E
monochromatic
#1A1F40 #2C336C #3E4897 #5863BA #838BCC

Accessibility & contrast

On white

8.14
#3E4897 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#3E4897 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E4897
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E4897#FFFFFF#000000##FFFFFF
##3E48971.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D539A
Deuteranopia (green-blind)
#0A4C95
Tritanopia (blue-blind)
#015A68
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3e4897;
/* rgb */ color: rgb(62, 72, 151);
/* oklch */ color: oklch(43.7% 0.128 274.4);
Tailwind
colors: {
  custom: {
    50: '#7b7ab6',
    500: '#3e4897',
    950: '#000000',
  },
}
SCSS
$custom: #3e4897;
$custom-light: #7b7ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#3e4897",
  "rgb": {
    "r": 62,
    "g": 72,
    "b": 151
  },
  "hsl": {
    "h": 233.258,
    "s": 41.784,
    "l": 41.765
  },
  "oklch": {
    "l": 0.43691,
    "c": 0.12839,
    "h": 274.4
  },
  "luminance": 0.07893
}

Semantic roles & 50–950 ramp

primary
#3E4897
secondary
#B6B07A
accent
#C456D2
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0911
muted
#7C7B80

Preview Lab

Preview with #3E4897

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

Preview Lab → · Contrast checker → · Palette generator →

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