#3A71E3#3A71E3

#3A71E3 is a mid, vivid blue. Relative luminance 0.183; OKLCH L 57.4% C 0.183 H 262.7°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#3A71E3
RGBrgb(58, 113, 227)
HSLhsl(220, 75%, 56%)
HSVhsv(220, 74%, 89%)
CMYKcmyk(74.4%, 50.2%, 0%, 11%)
CIE-LABlab(49.80, 21.07, -63.22)
CIE-LCHlch(49.80, 66.63, 288.43°)
OKLaboklab(57.45% -0.0233 -0.1818)
OKLCHoklch(57.45% 0.183 262.7)
XYZxyz(21.5102, 18.2534, 75.0478)
Luminance0.1826 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A71E3 #E3AC3A
analogous
#3AC6E3 #3A71E3 #573AE3
triadic
#3A71E3 #E33A71 #71E33A
tetradic
#3A71E3 #E33AC6 #E3AC3A #3AE357
square
#3A71E3 #E33AC6 #E3AC3A #3AE357
split-complementary
#3A71E3 #E3573A #C6E33A
monochromatic
#143C8E #1C53C4 #3A71E3 #7098EB #A5BEF2

Accessibility & contrast

On white

4.51
#3A71E3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#3A71E3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A71E3
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A71E3#FFFFFF#000000##000000
##3A71E31.004.514.654.65
#FFFFFF4.511.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A7FE7
Deuteranopia (green-blind)
#006FE1
Tritanopia (blue-blind)
#008C9F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #3a71e3;
/* rgb */ color: rgb(58, 113, 227);
/* oklch */ color: oklch(57.4% 0.183 262.7);
Tailwind
colors: {
  custom: {
    50: '#8699ec',
    500: '#3a71e3',
    950: '#000000',
  },
}
SCSS
$custom: #3a71e3;
$custom-light: #8699ec;
$custom-dark: #000000;
JSON
{
  "hex": "#3a71e3",
  "rgb": {
    "r": 58,
    "g": 113,
    "b": 227
  },
  "hsl": {
    "h": 220.473,
    "s": 75.111,
    "l": 55.882
  },
  "oklch": {
    "l": 0.57448,
    "c": 0.18331,
    "h": 262.7
  },
  "luminance": 0.18256
}

Semantic roles & 50–950 ramp

primary
#3A71E3
secondary
#DFC999
accent
#B536F2
background
#F9F9FE
surface
#F1F2FD
border
#CBCCD5
text
#0D0D16
muted
#7E7E84

Preview Lab

Preview with #3A71E3

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

Preview Lab → · Contrast checker → · Palette generator →

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