#1E71A8#1E71A8

#1E71A8 is a mid, moderate cyan. Relative luminance 0.149; OKLCH L 52.8% C 0.115 H 243.3°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#1E71A8
RGBrgb(30, 113, 168)
HSLhsl(204, 70%, 39%)
HSVhsv(204, 82%, 66%)
CMYKcmyk(82.1%, 32.7%, 0%, 34.1%)
CIE-LABlab(45.51, -4.23, -36.23)
CIE-LCHlch(45.51, 36.47, 263.34°)
OKLaboklab(52.77% -0.0517 -0.1029)
OKLCHoklch(52.77% 0.115 243.3)
XYZxyz(13.5057, 14.9118, 39.2046)
Luminance0.1491 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E71A8 #A8551E
analogous
#1EA89A #1E71A8 #1E2CA8
triadic
#1E71A8 #A81E71 #71A81E
tetradic
#1E71A8 #9A1EA8 #A8551E #2CA81E
square
#1E71A8 #9A1EA8 #A8551E #2CA81E
split-complementary
#1E71A8 #A81E2C #A89A1E
monochromatic
#0B2B40 #154E74 #1E71A8 #2A93D9 #5EAEE2

Accessibility & contrast

On white

5.27
#1E71A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#1E71A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1E71A8
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E71A8#FFFFFF#000000##FFFFFF
##1E71A81.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5773AA
Deuteranopia (green-blind)
#4466A7
Tritanopia (blue-blind)
#007F85
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #1e71a8;
/* rgb */ color: rgb(30, 113, 168);
/* oklch */ color: oklch(52.8% 0.115 243.3);
Tailwind
colors: {
  custom: {
    50: '#7199c2',
    500: '#1e71a8',
    950: '#000000',
  },
}
SCSS
$custom: #1e71a8;
$custom-light: #7199c2;
$custom-dark: #000000;
JSON
{
  "hex": "#1e71a8",
  "rgb": {
    "r": 30,
    "g": 113,
    "b": 168
  },
  "hsl": {
    "h": 203.913,
    "s": 69.697,
    "l": 38.824
  },
  "oklch": {
    "l": 0.52768,
    "c": 0.11517,
    "h": 243.3
  },
  "luminance": 0.14913
}

Semantic roles & 50–950 ramp

primary
#1E71A8
secondary
#C7865B
accent
#823BED
background
#F7F9FB
surface
#EDF2F7
border
#C8CCD0
text
#090D12
muted
#7B7E81

Preview Lab

Preview with #1E71A8

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

Preview Lab → · Contrast checker → · Palette generator →

#1E71A8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva