#1F71A9#1F71A9

#1F71A9 is a mid, moderate cyan. Relative luminance 0.150; OKLCH L 52.8% C 0.116 H 243.9°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#1F71A9
RGBrgb(31, 113, 169)
HSLhsl(204, 69%, 39%)
HSVhsv(204, 82%, 66%)
CMYKcmyk(81.7%, 33.1%, 0%, 33.7%)
CIE-LABlab(45.59, -3.75, -36.70)
CIE-LCHlch(45.59, 36.89, 264.16°)
OKLaboklab(52.85% -0.051 -0.1043)
OKLCHoklch(52.85% 0.116 243.9)
XYZxyz(13.6288, 14.9645, 39.6985)
Luminance0.1497 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F71A9 #A9571F
analogous
#1FA99C #1F71A9 #1F2CA9
triadic
#1F71A9 #A91F71 #71A91F
tetradic
#1F71A9 #9C1FA9 #A9571F #2CA91F
square
#1F71A9 #9C1FA9 #A9571F #2CA91F
split-complementary
#1F71A9 #A91F2C #A99C1F
monochromatic
#0C2C42 #164E75 #1F71A9 #2D93D8 #60ADE2

Accessibility & contrast

On white

5.26
#1F71A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#1F71A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F71A9
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F71A9#FFFFFF#000000##FFFFFF
##1F71A91.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5773AB
Deuteranopia (green-blind)
#4366A8
Tritanopia (blue-blind)
#007F85
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #1f71a9;
/* rgb */ color: rgb(31, 113, 169);
/* oklch */ color: oklch(52.8% 0.116 243.9);
Tailwind
colors: {
  custom: {
    50: '#7299c3',
    500: '#1f71a9',
    950: '#000000',
  },
}
SCSS
$custom: #1f71a9;
$custom-light: #7299c3;
$custom-dark: #000000;
JSON
{
  "hex": "#1f71a9",
  "rgb": {
    "r": 31,
    "g": 113,
    "b": 169
  },
  "hsl": {
    "h": 204.348,
    "s": 69,
    "l": 39.216
  },
  "oklch": {
    "l": 0.52848,
    "c": 0.11607,
    "h": 243.9
  },
  "luminance": 0.14966
}

Semantic roles & 50–950 ramp

primary
#1F71A9
secondary
#C7885D
accent
#833CEC
background
#F7F9FC
surface
#EDF2F8
border
#C8CCD1
text
#090D12
muted
#7B7E81

Preview Lab

Preview with #1F71A9

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

Preview Lab → · Contrast checker → · Palette generator →

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