#1F77A9#1F77A9

#1F77A9 is a mid, moderate cyan. Relative luminance 0.164; OKLCH L 54.3% C 0.111 H 239.4°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#1F77A9
RGBrgb(31, 119, 169)
HSLhsl(202, 69%, 39%)
HSVhsv(202, 82%, 66%)
CMYKcmyk(81.7%, 29.6%, 0%, 33.7%)
CIE-LABlab(47.43, -7.34, -33.80)
CIE-LCHlch(47.43, 34.58, 257.75°)
OKLaboklab(54.31% -0.0565 -0.0957)
OKLCHoklch(54.31% 0.111 239.4)
XYZxyz(14.3205, 16.3478, 39.9291)
Luminance0.1635 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F77A9 #A9511F
analogous
#1FA996 #1F77A9 #1F32A9
triadic
#1F77A9 #A91F77 #77A91F
tetradic
#1F77A9 #961FA9 #A9511F #32A91F
square
#1F77A9 #961FA9 #A9511F #32A91F
split-complementary
#1F77A9 #A91F32 #A9961F
monochromatic
#0C2E42 #165375 #1F77A9 #2D9AD8 #60B3E2

Accessibility & contrast

On white

4.92
#1F77A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#1F77A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F77A9
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F77A9#FFFFFF#000000##FFFFFF
##1F77A91.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F77AB
Deuteranopia (green-blind)
#4D6BA8
Tritanopia (blue-blind)
#008489
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #1f77a9;
/* rgb */ color: rgb(31, 119, 169);
/* oklch */ color: oklch(54.3% 0.111 239.4);
Tailwind
colors: {
  custom: {
    50: '#729ec3',
    500: '#1f77a9',
    950: '#000000',
  },
}
SCSS
$custom: #1f77a9;
$custom-light: #729ec3;
$custom-dark: #000000;
JSON
{
  "hex": "#1f77a9",
  "rgb": {
    "r": 31,
    "g": 119,
    "b": 169
  },
  "hsl": {
    "h": 201.739,
    "s": 69,
    "l": 39.216
  },
  "oklch": {
    "l": 0.54306,
    "c": 0.11117,
    "h": 239.4
  },
  "luminance": 0.1635
}

Semantic roles & 50–950 ramp

primary
#1F77A9
secondary
#C7835D
accent
#7C3CEC
background
#F7F9FC
surface
#EDF2F8
border
#C8CCD1
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #1F77A9

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

Preview Lab → · Contrast checker → · Palette generator →

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