#3E4EA5#3E4EA5

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

Color values

HEX#3E4EA5
RGBrgb(62, 78, 165)
HSLhsl(231, 45%, 45%)
HSVhsv(231, 62%, 65%)
CMYKcmyk(62.4%, 52.7%, 0%, 35.3%)
CIE-LABlab(36.34, 21.68, -49.01)
CIE-LCHlch(36.34, 53.59, 293.86°)
OKLaboklab(45.95% 0.0047 -0.1405)
OKLCHoklch(45.95% 0.141 271.9)
XYZxyz(11.5003, 9.1886, 36.7575)
Luminance0.0919 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E4EA5 #A5953E
analogous
#3E81A5 #3E4EA5 #623EA5
triadic
#3E4EA5 #A53E4E #4EA53E
tetradic
#3E4EA5 #A53E81 #A5953E #3EA562
square
#3E4EA5 #A53E81 #A5953E #3EA562
split-complementary
#3E4EA5 #A5623E #81A53E
monochromatic
#1D244C #2D3979 #3E4EA5 #5E6DC2 #8A96D3

Accessibility & contrast

On white

7.40
#3E4EA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#3E4EA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E4EA5
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E4EA5#FFFFFF#000000##FFFFFF
##3E4EA51.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A5AA8
Deuteranopia (green-blind)
#0051A3
Tritanopia (blue-blind)
#006272
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #3e4ea5;
/* rgb */ color: rgb(62, 78, 165);
/* oklch */ color: oklch(45.9% 0.141 271.9);
Tailwind
colors: {
  custom: {
    50: '#7e7fc0',
    500: '#3e4ea5',
    950: '#000000',
  },
}
SCSS
$custom: #3e4ea5;
$custom-light: #7e7fc0;
$custom-dark: #000000;
JSON
{
  "hex": "#3e4ea5",
  "rgb": {
    "r": 62,
    "g": 78,
    "b": 165
  },
  "hsl": {
    "h": 230.68,
    "s": 45.374,
    "l": 44.51
  },
  "oklch": {
    "l": 0.45948,
    "c": 0.14056,
    "h": 271.9
  },
  "luminance": 0.0919
}

Semantic roles & 50–950 ramp

primary
#3E4EA5
secondary
#BEB481
accent
#C153D5
background
#F8F7FB
surface
#EFEEF7
border
#CAC9D0
text
#0B0A12
muted
#7C7C81

Preview Lab

Preview with #3E4EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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