#3E4AB8#3E4AB8

#3E4AB8 is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.7% C 0.172 H 273.0°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#3E4AB8
RGBrgb(62, 74, 184)
HSLhsl(234, 50%, 48%)
HSVhsv(234, 66%, 72%)
CMYKcmyk(66.3%, 59.8%, 0%, 27.8%)
CIE-LABlab(36.71, 30.98, -59.69)
CIE-LCHlch(36.71, 67.25, 297.43°)
OKLaboklab(46.66% 0.009 -0.1719)
OKLCHoklch(46.66% 0.172 273)
XYZxyz(13.0842, 9.3812, 46.4593)
Luminance0.0938 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E4AB8 #B8AC3E
analogous
#3E87B8 #3E4AB8 #6F3EB8
triadic
#3E4AB8 #B83E4A #4AB83E
tetradic
#3E4AB8 #B83E87 #B8AC3E #3EB86F
square
#3E4AB8 #B83E87 #B8AC3E #3EB86F
split-complementary
#3E4AB8 #B86F3E #87B83E
monochromatic
#1F255C #2F388A #3E4AB8 #6771CC #959CDB

Accessibility & contrast

On white

7.30
#3E4AB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#3E4AB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E4AB8
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E4AB8#FFFFFF#000000##FFFFFF
##3E4AB81.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBC
Deuteranopia (green-blind)
#0051B6
Tritanopia (blue-blind)
#00657A
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3e4ab8;
/* rgb */ color: rgb(62, 74, 184);
/* oklch */ color: oklch(46.7% 0.172 273.0);
Tailwind
colors: {
  custom: {
    50: '#817cce',
    500: '#3e4ab8',
    950: '#000000',
  },
}
SCSS
$custom: #3e4ab8;
$custom-light: #817cce;
$custom-dark: #000000;
JSON
{
  "hex": "#3e4ab8",
  "rgb": {
    "r": 62,
    "g": 74,
    "b": 184
  },
  "hsl": {
    "h": 234.098,
    "s": 49.593,
    "l": 48.235
  },
  "oklch": {
    "l": 0.46663,
    "c": 0.17219,
    "h": 273
  },
  "luminance": 0.09382
}

Semantic roles & 50–950 ramp

primary
#3E4AB8
secondary
#C7C18B
accent
#CC4FD9
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0C0914
muted
#7D7B82

Preview Lab

Preview with #3E4AB8

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

Preview Lab → · Contrast checker → · Palette generator →

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