#3E70BA#3E70BA

#3E70BA is a mid, vivid blue. Relative luminance 0.162; OKLCH L 54.7% C 0.128 H 258.1°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#3E70BA
RGBrgb(62, 112, 186)
HSLhsl(216, 50%, 49%)
HSVhsv(216, 67%, 73%)
CMYKcmyk(66.7%, 39.8%, 0%, 27.1%)
CIE-LABlab(47.18, 7.39, -44.01)
CIE-LCHlch(47.18, 44.62, 279.53°)
OKLaboklab(54.67% -0.0263 -0.1253)
OKLCHoklch(54.67% 0.128 258.1)
XYZxyz(16.6405, 16.1560, 48.6863)
Luminance0.1616 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E70BA #BA883E
analogous
#3EAEBA #3E70BA #4A3EBA
triadic
#3E70BA #BA3E70 #70BA3E
tetradic
#3E70BA #BA3EAE #BA883E #3EBA4A
square
#3E70BA #BA3EAE #BA883E #3EBA4A
split-complementary
#3E70BA #BA4A3E #AEBA3E
monochromatic
#1F395E #2F548C #3E70BA #6891CD #96B2DC

Accessibility & contrast

On white

4.96
#3E70BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#3E70BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E70BA
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E70BA#FFFFFF#000000##FFFFFF
##3E70BA1.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F76BD
Deuteranopia (green-blind)
#3C6BB8
Tritanopia (blue-blind)
#00818C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #3e70ba;
/* rgb */ color: rgb(62, 112, 186);
/* oklch */ color: oklch(54.7% 0.128 258.1);
Tailwind
colors: {
  custom: {
    50: '#8098cf',
    500: '#3e70ba',
    950: '#000000',
  },
}
SCSS
$custom: #3e70ba;
$custom-light: #8098cf;
$custom-dark: #000000;
JSON
{
  "hex": "#3e70ba",
  "rgb": {
    "r": 62,
    "g": 112,
    "b": 186
  },
  "hsl": {
    "h": 215.806,
    "s": 50,
    "l": 48.627
  },
  "oklch": {
    "l": 0.54668,
    "c": 0.12805,
    "h": 258.1
  },
  "luminance": 0.16158
}

Semantic roles & 50–950 ramp

primary
#3E70BA
secondary
#C8B08C
accent
#A14EDA
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0D14
muted
#7C7E82

Preview Lab

Preview with #3E70BA

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

Preview Lab → · Contrast checker → · Palette generator →

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