#3E4AA5#3E4AA5

#3E4AA5 is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.1% C 0.146 H 273.4°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#3E4AA5
RGBrgb(62, 74, 165)
HSLhsl(233, 45%, 45%)
HSVhsv(233, 62%, 65%)
CMYKcmyk(62.4%, 55.2%, 0%, 35.3%)
CIE-LABlab(35.28, 24.29, -50.74)
CIE-LCHlch(35.28, 56.25, 295.58°)
OKLaboklab(45.15% 0.0087 -0.1456)
OKLCHoklch(45.15% 0.146 273.4)
XYZxyz(11.2247, 8.6374, 36.6657)
Luminance0.0864 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E4AA5 #A5993E
analogous
#3E7DA5 #3E4AA5 #663EA5
triadic
#3E4AA5 #A53E4A #4AA53E
tetradic
#3E4AA5 #A53E7D #A5993E #3EA566
square
#3E4AA5 #A53E7D #A5993E #3EA566
split-complementary
#3E4AA5 #A5663E #7DA53E
monochromatic
#1D224C #2D3679 #3E4AA5 #5E6AC2 #8A93D3

Accessibility & contrast

On white

7.70
#3E4AA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#3E4AA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E4AA5
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E4AA5#FFFFFF#000000##FFFFFF
##3E4AA51.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0858A8
Deuteranopia (green-blind)
#004FA3
Tritanopia (blue-blind)
#005F70
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3e4aa5;
/* rgb */ color: rgb(62, 74, 165);
/* oklch */ color: oklch(45.1% 0.146 273.4);
Tailwind
colors: {
  custom: {
    50: '#7e7cc0',
    500: '#3e4aa5',
    950: '#000000',
  },
}
SCSS
$custom: #3e4aa5;
$custom-light: #7e7cc0;
$custom-dark: #000000;
JSON
{
  "hex": "#3e4aa5",
  "rgb": {
    "r": 62,
    "g": 74,
    "b": 165
  },
  "hsl": {
    "h": 233.01,
    "s": 45.374,
    "l": 44.51
  },
  "oklch": {
    "l": 0.45145,
    "c": 0.14587,
    "h": 273.4
  },
  "luminance": 0.08638
}

Semantic roles & 50–950 ramp

primary
#3E4AA5
secondary
#BEB781
accent
#C653D5
background
#F8F7FB
surface
#EFEEF7
border
#CAC9D0
text
#0B0912
muted
#7C7B81

Preview Lab

Preview with #3E4AA5

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

Preview Lab → · Contrast checker → · Palette generator →

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