#3E71BA#3E71BA

#3E71BA is a mid, vivid blue. Relative luminance 0.164; OKLCH L 54.9% C 0.127 H 257.6°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#3E71BA
RGBrgb(62, 113, 186)
HSLhsl(215, 50%, 49%)
HSVhsv(215, 67%, 73%)
CMYKcmyk(66.7%, 39.2%, 0%, 27.1%)
CIE-LABlab(47.47, 6.77, -43.55)
CIE-LCHlch(47.47, 44.07, 278.84°)
OKLaboklab(54.89% -0.0273 -0.124)
OKLCHoklch(54.89% 0.127 257.6)
XYZxyz(16.7515, 16.3779, 48.7233)
Luminance0.1638 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E71BA #BA873E
analogous
#3EAFBA #3E71BA #493EBA
triadic
#3E71BA #BA3E71 #71BA3E
tetradic
#3E71BA #BA3EAF #BA873E #3EBA49
square
#3E71BA #BA3EAF #BA873E #3EBA49
split-complementary
#3E71BA #BA493E #AFBA3E
monochromatic
#1F395E #2F558C #3E71BA #6892CD #96B3DC

Accessibility & contrast

On white

4.91
#3E71BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#3E71BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E71BA
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E71BA#FFFFFF#000000##FFFFFF
##3E71BA1.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5077BD
Deuteranopia (green-blind)
#3E6BB9
Tritanopia (blue-blind)
#00828C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #3e71ba;
/* rgb */ color: rgb(62, 113, 186);
/* oklch */ color: oklch(54.9% 0.127 257.6);
Tailwind
colors: {
  custom: {
    50: '#8099cf',
    500: '#3e71ba',
    950: '#000000',
  },
}
SCSS
$custom: #3e71ba;
$custom-light: #8099cf;
$custom-dark: #000000;
JSON
{
  "hex": "#3e71ba",
  "rgb": {
    "r": 62,
    "g": 113,
    "b": 186
  },
  "hsl": {
    "h": 215.323,
    "s": 50,
    "l": 48.627
  },
  "oklch": {
    "l": 0.54891,
    "c": 0.12694,
    "h": 257.6
  },
  "luminance": 0.1638
}

Semantic roles & 50–950 ramp

primary
#3E71BA
secondary
#C8AF8C
accent
#A04EDA
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0D14
muted
#7C7E82

Preview Lab

Preview with #3E71BA

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

Preview Lab → · Contrast checker → · Palette generator →

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