#1F76A9#1F76A9

#1F76A9 is a mid, moderate cyan. Relative luminance 0.161; OKLCH L 54.1% C 0.112 H 240.2°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#1F76A9
RGBrgb(31, 118, 169)
HSLhsl(202, 69%, 39%)
HSVhsv(202, 82%, 66%)
CMYKcmyk(81.7%, 30.2%, 0%, 33.7%)
CIE-LABlab(47.12, -6.75, -34.28)
CIE-LCHlch(47.12, 34.94, 258.87°)
OKLaboklab(54.06% -0.0556 -0.0971)
OKLCHoklch(54.06% 0.112 240.2)
XYZxyz(14.2021, 16.1110, 39.8896)
Luminance0.1611 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F76A9 #A9521F
analogous
#1FA997 #1F76A9 #1F31A9
triadic
#1F76A9 #A91F76 #76A91F
tetradic
#1F76A9 #971FA9 #A9521F #31A91F
square
#1F76A9 #971FA9 #A9521F #31A91F
split-complementary
#1F76A9 #A91F31 #A9971F
monochromatic
#0C2E42 #165275 #1F76A9 #2D99D8 #60B2E2

Accessibility & contrast

On white

4.97
#1F76A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#1F76A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F76A9
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F76A9#FFFFFF#000000##FFFFFF
##1F76A91.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E77AB
Deuteranopia (green-blind)
#4B6AA8
Tritanopia (blue-blind)
#008388
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #1f76a9;
/* rgb */ color: rgb(31, 118, 169);
/* oklch */ color: oklch(54.1% 0.112 240.2);
Tailwind
colors: {
  custom: {
    50: '#729dc3',
    500: '#1f76a9',
    950: '#000000',
  },
}
SCSS
$custom: #1f76a9;
$custom-light: #729dc3;
$custom-dark: #000000;
JSON
{
  "hex": "#1f76a9",
  "rgb": {
    "r": 31,
    "g": 118,
    "b": 169
  },
  "hsl": {
    "h": 202.174,
    "s": 69,
    "l": 39.216
  },
  "oklch": {
    "l": 0.54062,
    "c": 0.11194,
    "h": 240.2
  },
  "luminance": 0.16113
}

Semantic roles & 50–950 ramp

primary
#1F76A9
secondary
#C7845D
accent
#7D3CEC
background
#F7F9FC
surface
#EDF2F8
border
#C8CCD1
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #1F76A9

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

Preview Lab → · Contrast checker → · Palette generator →

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