#3A71E0#3A71E0

#3A71E0 is a mid, vivid blue. Relative luminance 0.181; OKLCH L 57.2% C 0.179 H 262.4°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#3A71E0
RGBrgb(58, 113, 224)
HSLhsl(220, 73%, 55%)
HSVhsv(220, 74%, 88%)
CMYKcmyk(74.1%, 49.6%, 0%, 12.2%)
CIE-LABlab(49.60, 19.97, -61.84)
CIE-LCHlch(49.60, 64.99, 287.90°)
OKLaboklab(57.23% -0.0237 -0.1778)
OKLCHoklch(57.23% 0.179 262.4)
XYZxyz(21.0998, 18.0893, 72.8861)
Luminance0.1809 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A71E0 #E0A93A
analogous
#3AC4E0 #3A71E0 #563AE0
triadic
#3A71E0 #E03A71 #71E03A
tetradic
#3A71E0 #E03AC4 #E0A93A #3AE056
square
#3A71E0 #E03AC4 #E0A93A #3AE056
split-complementary
#3A71E0 #E0563A #C4E03A
monochromatic
#163C8A #1E53BF #3A71E0 #6F97E8 #A4BDF1

Accessibility & contrast

On white

4.55
#3A71E0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#3A71E0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A71E0
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A71E0#FFFFFF#000000##000000
##3A71E01.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E7EE4
Deuteranopia (green-blind)
#006FDE
Tritanopia (blue-blind)
#008C9E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #3a71e0;
/* rgb */ color: rgb(58, 113, 224);
/* oklch */ color: oklch(57.2% 0.179 262.4);
Tailwind
colors: {
  custom: {
    50: '#8699ea',
    500: '#3a71e0',
    950: '#000000',
  },
}
SCSS
$custom: #3a71e0;
$custom-light: #8699ea;
$custom-dark: #000000;
JSON
{
  "hex": "#3a71e0",
  "rgb": {
    "r": 58,
    "g": 113,
    "b": 224
  },
  "hsl": {
    "h": 220.12,
    "s": 72.807,
    "l": 55.294
  },
  "oklch": {
    "l": 0.57234,
    "c": 0.17936,
    "h": 262.4
  },
  "luminance": 0.18092
}

Semantic roles & 50–950 ramp

primary
#3A71E0
secondary
#DEC798
accent
#B338EF
background
#F9F9FE
surface
#F1F2FD
border
#CBCCD5
text
#0D0D16
muted
#7E7E84

Preview Lab

Preview with #3A71E0

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

Preview Lab → · Contrast checker → · Palette generator →

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