#3E70C8#3E70C8

#3E70C8 is a mid, vivid blue. Relative luminance 0.168; OKLCH L 55.5% C 0.147 H 260.8°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#3E70C8
RGBrgb(62, 112, 200)
HSLhsl(218, 56%, 51%)
HSVhsv(218, 69%, 78%)
CMYKcmyk(69%, 44%, 0%, 21.6%)
CIE-LABlab(47.98, 12.42, -50.79)
CIE-LCHlch(47.98, 52.29, 283.74°)
OKLaboklab(55.55% -0.0235 -0.1452)
OKLCHoklch(55.55% 0.147 260.8)
XYZxyz(18.2024, 16.7807, 56.9121)
Luminance0.1678 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E70C8 #C8963E
analogous
#3EB5C8 #3E70C8 #513EC8
triadic
#3E70C8 #C83E70 #70C83E
tetradic
#3E70C8 #C83EB5 #C8963E #3EC851
square
#3E70C8 #C83EB5 #C8963E #3EC851
split-complementary
#3E70C8 #C8513E #B5C83E
monochromatic
#1F3B6D #2D559C #3E70C8 #6E93D6 #9DB7E3

Accessibility & contrast

On white

4.82
#3E70C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#3E70C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E70C8
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E70C8#FFFFFF#000000##FFFFFF
##3E70C81.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4579CB
Deuteranopia (green-blind)
#2C6CC6
Tritanopia (blue-blind)
#008492
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #3e70c8;
/* rgb */ color: rgb(62, 112, 200);
/* oklch */ color: oklch(55.5% 0.147 260.8);
Tailwind
colors: {
  custom: {
    50: '#8398d9',
    500: '#3e70c8',
    950: '#000000',
  },
}
SCSS
$custom: #3e70c8;
$custom-light: #8398d9;
$custom-dark: #000000;
JSON
{
  "hex": "#3e70c8",
  "rgb": {
    "r": 62,
    "g": 112,
    "b": 200
  },
  "hsl": {
    "h": 218.261,
    "s": 55.645,
    "l": 51.373
  },
  "oklch": {
    "l": 0.5555,
    "c": 0.14712,
    "h": 260.8
  },
  "luminance": 0.16783
}

Semantic roles & 50–950 ramp

primary
#3E70C8
secondary
#CFB992
accent
#A949DF
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #3E70C8

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

Preview Lab → · Contrast checker → · Palette generator →

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