#3A71C9#3A71C9

#3A71C9 is a mid, vivid blue. Relative luminance 0.169; OKLCH L 55.7% C 0.149 H 259.4°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#3A71C9
RGBrgb(58, 113, 201)
HSLhsl(217, 57%, 51%)
HSVhsv(217, 71%, 79%)
CMYKcmyk(71.1%, 43.8%, 0%, 21.2%)
CIE-LABlab(48.17, 11.56, -51.08)
CIE-LCHlch(48.17, 52.37, 282.75°)
OKLaboklab(55.67% -0.0273 -0.1461)
OKLCHoklch(55.67% 0.149 259.4)
XYZxyz(18.1889, 16.9249, 57.5553)
Luminance0.1693 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A71C9 #C9923A
analogous
#3AB8C9 #3A71C9 #4A3AC9
triadic
#3A71C9 #C93A71 #71C93A
tetradic
#3A71C9 #C93AB8 #C9923A #3AC94A
square
#3A71C9 #C93AB8 #C9923A #3AC94A
split-complementary
#3A71C9 #C94A3A #B8C93A
monochromatic
#1D3B6B #2B569B #3A71C9 #6A94D6 #9AB6E3

Accessibility & contrast

On white

4.79
#3A71C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#3A71C9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A71C9
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A71C9#FFFFFF#000000##FFFFFF
##3A71C91.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4679CC
Deuteranopia (green-blind)
#2B6CC7
Tritanopia (blue-blind)
#008693
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #3a71c9;
/* rgb */ color: rgb(58, 113, 201);
/* oklch */ color: oklch(55.7% 0.149 259.4);
Tailwind
colors: {
  custom: {
    50: '#8199da',
    500: '#3a71c9',
    950: '#000000',
  },
}
SCSS
$custom: #3a71c9;
$custom-light: #8199da;
$custom-dark: #000000;
JSON
{
  "hex": "#3a71c9",
  "rgb": {
    "r": 58,
    "g": 113,
    "b": 201
  },
  "hsl": {
    "h": 216.923,
    "s": 56.972,
    "l": 50.784
  },
  "oklch": {
    "l": 0.55667,
    "c": 0.14864,
    "h": 259.4
  },
  "luminance": 0.16927
}

Semantic roles & 50–950 ramp

primary
#3A71C9
secondary
#CFB790
accent
#A648E0
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #3A71C9

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

Preview Lab → · Contrast checker → · Palette generator →

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