#1871A1#1871A1

#1871A1 is a mid, moderate cyan. Relative luminance 0.146; OKLCH L 52.3% C 0.109 H 238.8°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#1871A1
RGBrgb(24, 113, 161)
HSLhsl(201, 74%, 36%)
HSVhsv(201, 85%, 63%)
CMYKcmyk(85.1%, 29.8%, 0%, 36.9%)
CIE-LABlab(45.05, -7.44, -32.86)
CIE-LCHlch(45.05, 33.69, 257.25°)
OKLaboklab(52.25% -0.0563 -0.0931)
OKLCHoklch(52.25% 0.109 238.8)
XYZxyz(12.7123, 14.5760, 35.8548)
Luminance0.1458 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1871A1 #A14818
analogous
#18A18D #1871A1 #182DA1
triadic
#1871A1 #A11871 #71A118
tetradic
#1871A1 #8D18A1 #A14818 #2DA118
square
#1871A1 #8D18A1 #A14818 #2DA118
split-complementary
#1871A1 #A1182D #A18D18
monochromatic
#082636 #104C6C #1871A1 #2096D6 #4FB0E5

Accessibility & contrast

On white

5.36
#1871A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#1871A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1871A1
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1871A1#FFFFFF#000000##FFFFFF
##1871A11.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A71A3
Deuteranopia (green-blind)
#4865A0
Tritanopia (blue-blind)
#007D82
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #1871a1;
/* rgb */ color: rgb(24, 113, 161);
/* oklch */ color: oklch(52.3% 0.109 238.8);
Tailwind
colors: {
  custom: {
    50: '#6e99bd',
    500: '#1871a1',
    950: '#000000',
  },
}
SCSS
$custom: #1871a1;
$custom-light: #6e99bd;
$custom-dark: #000000;
JSON
{
  "hex": "#1871a1",
  "rgb": {
    "r": 24,
    "g": 113,
    "b": 161
  },
  "hsl": {
    "h": 201.022,
    "s": 74.054,
    "l": 36.275
  },
  "oklch": {
    "l": 0.52251,
    "c": 0.10881,
    "h": 238.8
  },
  "luminance": 0.14578
}

Semantic roles & 50–950 ramp

primary
#1871A1
secondary
#C7784E
accent
#7837F1
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #1871A1

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

Preview Lab → · Contrast checker → · Palette generator →

#1871A1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva