#3E4EA1#3E4EA1

#3E4EA1 is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.7% C 0.135 H 271.8°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#3E4EA1
RGBrgb(62, 78, 161)
HSLhsl(230, 44%, 44%)
HSVhsv(230, 61%, 63%)
CMYKcmyk(61.5%, 51.6%, 0%, 36.9%)
CIE-LABlab(36.07, 20.26, -47.06)
CIE-LCHlch(36.07, 51.23, 293.30°)
OKLaboklab(45.65% 0.0043 -0.1347)
OKLCHoklch(45.65% 0.135 271.8)
XYZxyz(11.1419, 9.0452, 34.8701)
Luminance0.0905 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E4EA1 #A1913E
analogous
#3E7FA1 #3E4EA1 #5F3EA1
triadic
#3E4EA1 #A13E4E #4EA13E
tetradic
#3E4EA1 #A13E7F #A1913E #3EA15F
square
#3E4EA1 #A13E7F #A1913E #3EA15F
split-complementary
#3E4EA1 #A15F3E #7FA13E
monochromatic
#1C2349 #2D3975 #3E4EA1 #5C6CC0 #8894D1

Accessibility & contrast

On white

7.48
#3E4EA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#3E4EA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E4EA1
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E4EA1#FFFFFF#000000##FFFFFF
##3E4EA11.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2059A4
Deuteranopia (green-blind)
#07519F
Tritanopia (blue-blind)
#006170
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #3e4ea1;
/* rgb */ color: rgb(62, 78, 161);
/* oklch */ color: oklch(45.7% 0.135 271.8);
Tailwind
colors: {
  custom: {
    50: '#7d7fbd',
    500: '#3e4ea1',
    950: '#000000',
  },
}
SCSS
$custom: #3e4ea1;
$custom-light: #7d7fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#3e4ea1",
  "rgb": {
    "r": 62,
    "g": 78,
    "b": 161
  },
  "hsl": {
    "h": 230.303,
    "s": 44.395,
    "l": 43.725
  },
  "oklch": {
    "l": 0.45654,
    "c": 0.1348,
    "h": 271.8
  },
  "luminance": 0.09046
}

Semantic roles & 50–950 ramp

primary
#3E4EA1
secondary
#BCB27F
accent
#BF54D4
background
#F8F7FB
surface
#EFEEF7
border
#CAC9D0
text
#0A0A12
muted
#7C7C81

Preview Lab

Preview with #3E4EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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