#1872A1#1872A1

#1872A1 is a mid, moderate cyan. Relative luminance 0.148; OKLCH L 52.5% C 0.108 H 238.0°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#1872A1
RGBrgb(24, 114, 161)
HSLhsl(201, 74%, 36%)
HSVhsv(201, 85%, 63%)
CMYKcmyk(85.1%, 29.2%, 0%, 36.9%)
CIE-LABlab(45.36, -8.03, -32.37)
CIE-LCHlch(45.36, 33.35, 256.06°)
OKLaboklab(52.5% -0.0572 -0.0917)
OKLCHoklch(52.5% 0.108 238)
XYZxyz(12.8244, 14.8004, 35.8921)
Luminance0.1480 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1872A1 #A14718
analogous
#18A18C #1872A1 #182EA1
triadic
#1872A1 #A11872 #72A118
tetradic
#1872A1 #8C18A1 #A14718 #2EA118
square
#1872A1 #8C18A1 #A14718 #2EA118
split-complementary
#1872A1 #A1182E #A18C18
monochromatic
#082736 #104C6C #1872A1 #2098D6 #4FB1E5

Accessibility & contrast

On white

5.30
#1872A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#1872A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1872A1
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1872A1#FFFFFF#000000##FFFFFF
##1872A11.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B72A3
Deuteranopia (green-blind)
#4966A0
Tritanopia (blue-blind)
#007E82
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #1872a1;
/* rgb */ color: rgb(24, 114, 161);
/* oklch */ color: oklch(52.5% 0.108 238.0);
Tailwind
colors: {
  custom: {
    50: '#6f9abd',
    500: '#1872a1',
    950: '#000000',
  },
}
SCSS
$custom: #1872a1;
$custom-light: #6f9abd;
$custom-dark: #000000;
JSON
{
  "hex": "#1872a1",
  "rgb": {
    "r": 24,
    "g": 114,
    "b": 161
  },
  "hsl": {
    "h": 200.584,
    "s": 74.054,
    "l": 36.275
  },
  "oklch": {
    "l": 0.52499,
    "c": 0.10807,
    "h": 238
  },
  "luminance": 0.14802
}

Semantic roles & 50–950 ramp

primary
#1872A1
secondary
#C7774E
accent
#7737F1
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #1872A1

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

Preview Lab → · Contrast checker → · Palette generator →

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