#1F71A1#1F71A1

#1F71A1 is a mid, moderate cyan. Relative luminance 0.147; OKLCH L 52.4% C 0.107 H 239.9°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#1F71A1
RGBrgb(31, 113, 161)
HSLhsl(202, 68%, 38%)
HSVhsv(202, 81%, 63%)
CMYKcmyk(80.7%, 29.8%, 0%, 36.9%)
CIE-LABlab(45.18, -6.76, -32.63)
CIE-LCHlch(45.18, 33.33, 258.29°)
OKLaboklab(52.4% -0.0535 -0.0924)
OKLCHoklch(52.4% 0.107 239.9)
XYZxyz(12.9007, 14.6732, 35.8636)
Luminance0.1467 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F71A1 #A14F1F
analogous
#1FA190 #1F71A1 #1F30A1
triadic
#1F71A1 #A11F71 #71A11F
tetradic
#1F71A1 #901FA1 #A14F1F #30A11F
square
#1F71A1 #901FA1 #A14F1F #30A11F
split-complementary
#1F71A1 #A11F30 #A1901F
monochromatic
#0B293A #154D6E #1F71A1 #2995D4 #5BAFDF

Accessibility & contrast

On white

5.34
#1F71A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#1F71A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F71A1
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F71A1#FFFFFF#000000##FFFFFF
##1F71A11.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f71a1;
/* rgb */ color: rgb(31, 113, 161);
/* oklch */ color: oklch(52.4% 0.107 239.9);
Tailwind
colors: {
  custom: {
    50: '#7099bd',
    500: '#1f71a1',
    950: '#000000',
  },
}
SCSS
$custom: #1f71a1;
$custom-light: #7099bd;
$custom-dark: #000000;
JSON
{
  "hex": "#1f71a1",
  "rgb": {
    "r": 31,
    "g": 113,
    "b": 161
  },
  "hsl": {
    "h": 202.154,
    "s": 67.708,
    "l": 37.647
  },
  "oklch": {
    "l": 0.52398,
    "c": 0.1068,
    "h": 239.9
  },
  "luminance": 0.14675
}

Semantic roles & 50–950 ramp

primary
#1F71A1
secondary
#C48058
accent
#7D3DEB
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #1F71A1

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

Preview Lab → · Contrast checker → · Palette generator →

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