#3F70BA#3F70BA

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

Color values

HEX#3F70BA
RGBrgb(63, 112, 186)
HSLhsl(216, 49%, 49%)
HSVhsv(216, 66%, 73%)
CMYKcmyk(66.1%, 39.8%, 0%, 27.1%)
CIE-LABlab(47.22, 7.56, -43.94)
CIE-LCHlch(47.22, 44.58, 279.77°)
OKLaboklab(54.71% -0.0255 -0.1251)
OKLCHoklch(54.71% 0.128 258.5)
XYZxyz(16.7038, 16.1886, 48.6893)
Luminance0.1619 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F70BA #BA893F
analogous
#3FAEBA #3F70BA #4C3FBA
triadic
#3F70BA #BA3F70 #70BA3F
tetradic
#3F70BA #BA3FAE #BA893F #3FBA4C
square
#3F70BA #BA3FAE #BA893F #3FBA4C
split-complementary
#3F70BA #BA4C3F #AEBA3F
monochromatic
#20395F #30548C #3F70BA #6A91CC #97B3DC

Accessibility & contrast

On white

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

On black

4.24
#3F70BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3F70BA#FFFFFF#000000##FFFFFF
##3F70BA1.004.964.244.96
#FFFFFF4.961.0021.001.00
#0000004.2421.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: #3f70ba;
/* rgb */ color: rgb(63, 112, 186);
/* oklch */ color: oklch(54.7% 0.128 258.5);
Tailwind
colors: {
  custom: {
    50: '#8198cf',
    500: '#3f70ba',
    950: '#000000',
  },
}
SCSS
$custom: #3f70ba;
$custom-light: #8198cf;
$custom-dark: #000000;
JSON
{
  "hex": "#3f70ba",
  "rgb": {
    "r": 63,
    "g": 112,
    "b": 186
  },
  "hsl": {
    "h": 216.098,
    "s": 49.398,
    "l": 48.824
  },
  "oklch": {
    "l": 0.54712,
    "c": 0.12767,
    "h": 258.5
  },
  "luminance": 0.1619
}

Semantic roles & 50–950 ramp

primary
#3F70BA
secondary
#C8B08D
accent
#A24FD9
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0D14
muted
#7C7E82

Preview Lab

Preview with #3F70BA

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

Preview Lab → · Contrast checker → · Palette generator →

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