#1E71A7#1E71A7

#1E71A7 is a mid, moderate cyan. Relative luminance 0.149; OKLCH L 52.7% C 0.114 H 242.8°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#1E71A7
RGBrgb(30, 113, 167)
HSLhsl(204, 70%, 39%)
HSVhsv(204, 82%, 65%)
CMYKcmyk(82%, 32.3%, 0%, 34.5%)
CIE-LABlab(45.46, -4.61, -35.72)
CIE-LCHlch(45.46, 36.02, 262.65°)
OKLaboklab(52.71% -0.052 -0.1014)
OKLCHoklch(52.71% 0.114 242.8)
XYZxyz(13.4129, 14.8746, 38.7159)
Luminance0.1488 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E71A7 #A7541E
analogous
#1EA798 #1E71A7 #1E2CA7
triadic
#1E71A7 #A71E71 #71A71E
tetradic
#1E71A7 #981EA7 #A7541E #2CA71E
square
#1E71A7 #981EA7 #A7541E #2CA71E
split-complementary
#1E71A7 #A71E2C #A7981E
monochromatic
#0B2B3F #154E73 #1E71A7 #2A94D9 #5DAEE2

Accessibility & contrast

On white

5.28
#1E71A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #1E71A7
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E71A7#FFFFFF#000000##FFFFFF
##1E71A71.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5872A9
Deuteranopia (green-blind)
#4566A6
Tritanopia (blue-blind)
#007E84
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #1e71a7;
/* rgb */ color: rgb(30, 113, 167);
/* oklch */ color: oklch(52.7% 0.114 242.8);
Tailwind
colors: {
  custom: {
    50: '#7199c1',
    500: '#1e71a7',
    950: '#000000',
  },
}
SCSS
$custom: #1e71a7;
$custom-light: #7199c1;
$custom-dark: #000000;
JSON
{
  "hex": "#1e71a7",
  "rgb": {
    "r": 30,
    "g": 113,
    "b": 167
  },
  "hsl": {
    "h": 203.65,
    "s": 69.543,
    "l": 38.627
  },
  "oklch": {
    "l": 0.52711,
    "c": 0.114,
    "h": 242.8
  },
  "luminance": 0.14876
}

Semantic roles & 50–950 ramp

primary
#1E71A7
secondary
#C6855B
accent
#813BEC
background
#F7F9FB
surface
#EDF2F7
border
#C8CCD0
text
#090D12
muted
#7B7E81

Preview Lab

Preview with #1E71A7

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

Preview Lab → · Contrast checker → · Palette generator →

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