#3E4EA8#3E4EA8

#3E4EA8 is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.2% C 0.145 H 271.9°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#3E4EA8
RGBrgb(62, 78, 168)
HSLhsl(231, 46%, 45%)
HSVhsv(231, 63%, 66%)
CMYKcmyk(63.1%, 53.6%, 0%, 34.1%)
CIE-LABlab(36.55, 22.74, -50.46)
CIE-LCHlch(36.55, 55.35, 294.26°)
OKLaboklab(46.17% 0.0049 -0.1448)
OKLCHoklch(46.17% 0.145 271.9)
XYZxyz(11.7765, 9.2991, 38.2125)
Luminance0.0930 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E4EA8 #A8983E
analogous
#3E83A8 #3E4EA8 #633EA8
triadic
#3E4EA8 #A83E4E #4EA83E
tetradic
#3E4EA8 #A83E83 #A8983E #3EA863
square
#3E4EA8 #A83E83 #A8983E #3EA863
split-complementary
#3E4EA8 #A8633E #83A83E
monochromatic
#1D244F #2E397B #3E4EA8 #5F6EC4 #8C97D5

Accessibility & contrast

On white

7.34
#3E4EA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#3E4EA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E4EA8
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E4EA8#FFFFFF#000000##FFFFFF
##3E4EA81.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#155BAB
Deuteranopia (green-blind)
#0051A6
Tritanopia (blue-blind)
#006373
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3e4ea8;
/* rgb */ color: rgb(62, 78, 168);
/* oklch */ color: oklch(46.2% 0.145 271.9);
Tailwind
colors: {
  custom: {
    50: '#7e7fc2',
    500: '#3e4ea8',
    950: '#000000',
  },
}
SCSS
$custom: #3e4ea8;
$custom-light: #7e7fc2;
$custom-dark: #000000;
JSON
{
  "hex": "#3e4ea8",
  "rgb": {
    "r": 62,
    "g": 78,
    "b": 168
  },
  "hsl": {
    "h": 230.943,
    "s": 46.087,
    "l": 45.098
  },
  "oklch": {
    "l": 0.46172,
    "c": 0.14484,
    "h": 271.9
  },
  "luminance": 0.093
}

Semantic roles & 50–950 ramp

primary
#3E4EA8
secondary
#BFB683
accent
#C252D6
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A12
muted
#7C7C81

Preview Lab

Preview with #3E4EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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