#1870A1#1870A1

#1870A1 is a mid, moderate cyan. Relative luminance 0.144; OKLCH L 52.0% C 0.110 H 239.6°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#1870A1
RGBrgb(24, 112, 161)
HSLhsl(201, 74%, 36%)
HSVhsv(201, 85%, 63%)
CMYKcmyk(85.1%, 30.4%, 0%, 36.9%)
CIE-LABlab(44.74, -6.84, -33.34)
CIE-LCHlch(44.74, 34.04, 258.41°)
OKLaboklab(52% -0.0554 -0.0945)
OKLCHoklch(52% 0.11 239.6)
XYZxyz(12.6013, 14.3541, 35.8178)
Luminance0.1436 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1870A1 #A14918
analogous
#18A18E #1870A1 #182CA1
triadic
#1870A1 #A11870 #70A118
tetradic
#1870A1 #8E18A1 #A14918 #2CA118
square
#1870A1 #8E18A1 #A14918 #2CA118
split-complementary
#1870A1 #A1182C #A18E18
monochromatic
#082636 #104B6C #1870A1 #2095D6 #4FAFE5

Accessibility & contrast

On white

5.42
#1870A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#1870A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1870A1
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1870A1#FFFFFF#000000##FFFFFF
##1870A11.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5971A3
Deuteranopia (green-blind)
#4664A0
Tritanopia (blue-blind)
#007C81
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #1870a1;
/* rgb */ color: rgb(24, 112, 161);
/* oklch */ color: oklch(52.0% 0.110 239.6);
Tailwind
colors: {
  custom: {
    50: '#6e98bd',
    500: '#1870a1',
    950: '#000000',
  },
}
SCSS
$custom: #1870a1;
$custom-light: #6e98bd;
$custom-dark: #000000;
JSON
{
  "hex": "#1870a1",
  "rgb": {
    "r": 24,
    "g": 112,
    "b": 161
  },
  "hsl": {
    "h": 201.46,
    "s": 74.054,
    "l": 36.275
  },
  "oklch": {
    "l": 0.52004,
    "c": 0.10957,
    "h": 239.6
  },
  "luminance": 0.14356
}

Semantic roles & 50–950 ramp

primary
#1870A1
secondary
#C7794E
accent
#7937F1
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090D12
muted
#7B7E81

Preview Lab

Preview with #1870A1

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

Preview Lab → · Contrast checker → · Palette generator →

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