#3E5FB1#3E5FB1

#3E5FB1 is a mid, vivid blue. Relative luminance 0.124; OKLCH L 50.4% C 0.136 H 265.4°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#3E5FB1
RGBrgb(62, 95, 177)
HSLhsl(223, 48%, 47%)
HSVhsv(223, 65%, 69%)
CMYKcmyk(65%, 46.3%, 0%, 30.6%)
CIE-LABlab(41.82, 14.93, -47.32)
CIE-LCHlch(41.82, 49.62, 287.51°)
OKLaboklab(50.36% -0.011 -0.1353)
OKLCHoklch(50.36% 0.136 265.4)
XYZxyz(14.0119, 12.3816, 43.2379)
Luminance0.1238 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E5FB1 #B1903E
analogous
#3E98B1 #3E5FB1 #573EB1
triadic
#3E5FB1 #B13E5F #5FB13E
tetradic
#3E5FB1 #B13E98 #B1903E #3EB157
square
#3E5FB1 #B13E98 #B1903E #3EB157
split-complementary
#3E5FB1 #B1573E #98B13E
monochromatic
#1E2E56 #2E4784 #3E5FB1 #6481C9 #91A5D8

Accessibility & contrast

On white

6.04
#3E5FB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#3E5FB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E5FB1
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E5FB1#FFFFFF#000000##FFFFFF
##3E5FB11.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3768B4
Deuteranopia (green-blind)
#225EAF
Tritanopia (blue-blind)
#00727F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #3e5fb1;
/* rgb */ color: rgb(62, 95, 177);
/* oklch */ color: oklch(50.4% 0.136 265.4);
Tailwind
colors: {
  custom: {
    50: '#7f8bc9',
    500: '#3e5fb1',
    950: '#000000',
  },
}
SCSS
$custom: #3e5fb1;
$custom-light: #7f8bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#3e5fb1",
  "rgb": {
    "r": 62,
    "g": 95,
    "b": 177
  },
  "hsl": {
    "h": 222.783,
    "s": 48.117,
    "l": 46.863
  },
  "oklch": {
    "l": 0.5036,
    "c": 0.13574,
    "h": 265.4
  },
  "luminance": 0.12383
}

Semantic roles & 50–950 ramp

primary
#3E5FB1
secondary
#C4B287
accent
#B150D8
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0B0C13
muted
#7C7D82

Preview Lab

Preview with #3E5FB1

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

Preview Lab → · Contrast checker → · Palette generator →

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