#3E4DB7#3E4DB7

#3E4DB7 is a mid, vivid blue. Relative luminance 0.098; OKLCH L 47.1% C 0.167 H 272.2°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#3E4DB7
RGBrgb(62, 77, 183)
HSLhsl(233, 49%, 48%)
HSVhsv(233, 66%, 72%)
CMYKcmyk(66.1%, 57.9%, 0%, 28.2%)
CIE-LABlab(37.39, 28.70, -58.00)
CIE-LCHlch(37.39, 64.71, 296.33°)
OKLaboklab(47.15% 0.0065 -0.1669)
OKLCHoklch(47.15% 0.167 272.2)
XYZxyz(13.1849, 9.7496, 45.9776)
Luminance0.0975 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E4DB7 #B7A83E
analogous
#3E89B7 #3E4DB7 #6B3EB7
triadic
#3E4DB7 #B73E4D #4DB73E
tetradic
#3E4DB7 #B73E89 #B7A83E #3EB76B
square
#3E4DB7 #B73E89 #B7A83E #3EB76B
split-complementary
#3E4DB7 #B76B3E #89B73E
monochromatic
#1F275C #2F3A89 #3E4DB7 #6773CB #949DDB

Accessibility & contrast

On white

7.12
#3E4DB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#3E4DB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E4DB7
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E4DB7#FFFFFF#000000##FFFFFF
##3E4DB71.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBB
Deuteranopia (green-blind)
#0053B5
Tritanopia (blue-blind)
#00677A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #3e4db7;
/* rgb */ color: rgb(62, 77, 183);
/* oklch */ color: oklch(47.1% 0.167 272.2);
Tailwind
colors: {
  custom: {
    50: '#817ecd',
    500: '#3e4db7',
    950: '#000000',
  },
}
SCSS
$custom: #3e4db7;
$custom-light: #817ecd;
$custom-dark: #000000;
JSON
{
  "hex": "#3e4db7",
  "rgb": {
    "r": 62,
    "g": 77,
    "b": 183
  },
  "hsl": {
    "h": 232.562,
    "s": 49.388,
    "l": 48.039
  },
  "oklch": {
    "l": 0.47145,
    "c": 0.16706,
    "h": 272.2
  },
  "luminance": 0.09751
}

Semantic roles & 50–950 ramp

primary
#3E4DB7
secondary
#C6BF8A
accent
#C84FD9
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0C0A14
muted
#7D7C82

Preview Lab

Preview with #3E4DB7

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

Preview Lab → · Contrast checker → · Palette generator →

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