#3E4EA4#3E4EA4

#3E4EA4 is a mid, vivid blue. Relative luminance 0.092; OKLCH L 45.9% C 0.139 H 271.9°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#3E4EA4
RGBrgb(62, 78, 164)
HSLhsl(231, 45%, 44%)
HSVhsv(231, 62%, 64%)
CMYKcmyk(62.2%, 52.4%, 0%, 35.7%)
CIE-LABlab(36.28, 21.32, -48.52)
CIE-LCHlch(36.28, 53.00, 293.72°)
OKLaboklab(45.87% 0.0046 -0.139)
OKLCHoklch(45.87% 0.139 271.9)
XYZxyz(11.4096, 9.1523, 36.2801)
Luminance0.0915 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E4EA4 #A4943E
analogous
#3E81A4 #3E4EA4 #613EA4
triadic
#3E4EA4 #A43E4E #4EA43E
tetradic
#3E4EA4 #A43E81 #A4943E #3EA461
square
#3E4EA4 #A43E81 #A4943E #3EA461
split-complementary
#3E4EA4 #A4613E #81A43E
monochromatic
#1C244B #2D3978 #3E4EA4 #5D6DC2 #8A95D3

Accessibility & contrast

On white

7.42
#3E4EA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#3E4EA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E4EA4
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E4EA4#FFFFFF#000000##FFFFFF
##3E4EA41.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C5AA7
Deuteranopia (green-blind)
#0051A2
Tritanopia (blue-blind)
#006271
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #3e4ea4;
/* rgb */ color: rgb(62, 78, 164);
/* oklch */ color: oklch(45.9% 0.139 271.9);
Tailwind
colors: {
  custom: {
    50: '#7d7fc0',
    500: '#3e4ea4',
    950: '#000000',
  },
}
SCSS
$custom: #3e4ea4;
$custom-light: #7d7fc0;
$custom-dark: #000000;
JSON
{
  "hex": "#3e4ea4",
  "rgb": {
    "r": 62,
    "g": 78,
    "b": 164
  },
  "hsl": {
    "h": 230.588,
    "s": 45.133,
    "l": 44.314
  },
  "oklch": {
    "l": 0.45874,
    "c": 0.13913,
    "h": 271.9
  },
  "luminance": 0.09153
}

Semantic roles & 50–950 ramp

primary
#3E4EA4
secondary
#BDB481
accent
#C053D5
background
#F8F7FB
surface
#EFEEF7
border
#CAC9D0
text
#0B0A12
muted
#7C7C81

Preview Lab

Preview with #3E4EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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