#3E4EA6#3E4EA6

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

Color values

HEX#3E4EA6
RGBrgb(62, 78, 166)
HSLhsl(231, 46%, 45%)
HSVhsv(231, 63%, 65%)
CMYKcmyk(62.7%, 53%, 0%, 34.9%)
CIE-LABlab(36.41, 22.03, -49.50)
CIE-LCHlch(36.41, 54.18, 293.99°)
OKLaboklab(46.02% 0.0048 -0.1419)
OKLCHoklch(46.02% 0.142 271.9)
XYZxyz(11.5916, 9.2251, 37.2388)
Luminance0.0923 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E4EA6 #A6963E
analogous
#3E82A6 #3E4EA6 #623EA6
triadic
#3E4EA6 #A63E4E #4EA63E
tetradic
#3E4EA6 #A63E82 #A6963E #3EA662
square
#3E4EA6 #A63E82 #A6963E #3EA662
split-complementary
#3E4EA6 #A6623E #82A63E
monochromatic
#1D244D #2D3979 #3E4EA6 #5E6EC3 #8B96D4

Accessibility & contrast

On white

7.38
#3E4EA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#3E4EA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E4EA6
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E4EA6#FFFFFF#000000##FFFFFF
##3E4EA61.007.382.857.38
#FFFFFF7.381.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#185AA9
Deuteranopia (green-blind)
#0051A4
Tritanopia (blue-blind)
#006272
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3e4ea6;
/* rgb */ color: rgb(62, 78, 166);
/* oklch */ color: oklch(46.0% 0.142 271.9);
Tailwind
colors: {
  custom: {
    50: '#7e7fc1',
    500: '#3e4ea6',
    950: '#000000',
  },
}
SCSS
$custom: #3e4ea6;
$custom-light: #7e7fc1;
$custom-dark: #000000;
JSON
{
  "hex": "#3e4ea6",
  "rgb": {
    "r": 62,
    "g": 78,
    "b": 166
  },
  "hsl": {
    "h": 230.769,
    "s": 45.614,
    "l": 44.706
  },
  "oklch": {
    "l": 0.46023,
    "c": 0.14199,
    "h": 271.9
  },
  "luminance": 0.09226
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3E4EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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