#3E4FA5#3E4FA5

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

Color values

HEX#3E4FA5
RGBrgb(62, 79, 165)
HSLhsl(230, 45%, 45%)
HSVhsv(230, 62%, 65%)
CMYKcmyk(62.4%, 52.1%, 0%, 35.3%)
CIE-LABlab(36.62, 21.02, -48.57)
CIE-LCHlch(36.62, 52.93, 293.40°)
OKLaboklab(46.15% 0.0037 -0.1392)
OKLCHoklch(46.15% 0.139 271.5)
XYZxyz(11.5719, 9.3317, 36.7814)
Luminance0.0933 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E4FA5 #A5943E
analogous
#3E83A5 #3E4FA5 #613EA5
triadic
#3E4FA5 #A53E4F #4FA53E
tetradic
#3E4FA5 #A53E83 #A5943E #3EA561
square
#3E4FA5 #A53E83 #A5943E #3EA561
split-complementary
#3E4FA5 #A5613E #83A53E
monochromatic
#1D244C #2D3A79 #3E4FA5 #5E6EC2 #8A96D3

Accessibility & contrast

On white

7.33
#3E4FA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#3E4FA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E4FA5
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E4FA5#FFFFFF#000000##FFFFFF
##3E4FA51.007.332.877.33
#FFFFFF7.331.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D5BA8
Deuteranopia (green-blind)
#0052A3
Tritanopia (blue-blind)
#006372
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3e4fa5;
/* rgb */ color: rgb(62, 79, 165);
/* oklch */ color: oklch(46.2% 0.139 271.5);
Tailwind
colors: {
  custom: {
    50: '#7e80c0',
    500: '#3e4fa5',
    950: '#000000',
  },
}
SCSS
$custom: #3e4fa5;
$custom-light: #7e80c0;
$custom-dark: #000000;
JSON
{
  "hex": "#3e4fa5",
  "rgb": {
    "r": 62,
    "g": 79,
    "b": 165
  },
  "hsl": {
    "h": 230.097,
    "s": 45.374,
    "l": 44.51
  },
  "oklch": {
    "l": 0.46152,
    "c": 0.13924,
    "h": 271.5
  },
  "luminance": 0.09333
}

Semantic roles & 50–950 ramp

primary
#3E4FA5
secondary
#BEB481
accent
#C053D5
background
#F8F7FB
surface
#EFEEF7
border
#CAC9D0
text
#0B0A12
muted
#7C7C81

Preview Lab

Preview with #3E4FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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