#1F76A7#1F76A7

#1F76A7 is a mid, moderate cyan. Relative luminance 0.160; OKLCH L 54.0% C 0.110 H 239.1°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#1F76A7
RGBrgb(31, 118, 167)
HSLhsl(202, 69%, 39%)
HSVhsv(202, 81%, 65%)
CMYKcmyk(81.4%, 29.3%, 0%, 34.5%)
CIE-LABlab(47.02, -7.49, -33.27)
CIE-LCHlch(47.02, 34.10, 257.31°)
OKLaboklab(53.95% -0.0563 -0.0942)
OKLCHoklch(53.95% 0.11 239.1)
XYZxyz(14.0158, 16.0365, 38.9084)
Luminance0.1604 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F76A7 #A7501F
analogous
#1FA794 #1F76A7 #1F32A7
triadic
#1F76A7 #A71F76 #76A71F
tetradic
#1F76A7 #941FA7 #A7501F #32A71F
square
#1F76A7 #941FA7 #A7501F #32A71F
split-complementary
#1F76A7 #A71F32 #A7941F
monochromatic
#0C2D40 #155273 #1F76A7 #2B9AD8 #5FB2E1

Accessibility & contrast

On white

4.99
#1F76A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#1F76A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F76A7
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F76A7#FFFFFF#000000##FFFFFF
##1F76A71.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F76A9
Deuteranopia (green-blind)
#4C6AA6
Tritanopia (blue-blind)
#008287
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #1f76a7;
/* rgb */ color: rgb(31, 118, 167);
/* oklch */ color: oklch(54.0% 0.110 239.1);
Tailwind
colors: {
  custom: {
    50: '#729dc1',
    500: '#1f76a7',
    950: '#000000',
  },
}
SCSS
$custom: #1f76a7;
$custom-light: #729dc1;
$custom-dark: #000000;
JSON
{
  "hex": "#1f76a7",
  "rgb": {
    "r": 31,
    "g": 118,
    "b": 167
  },
  "hsl": {
    "h": 201.618,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.53953,
    "c": 0.10971,
    "h": 239.1
  },
  "luminance": 0.16038
}

Semantic roles & 50–950 ramp

primary
#1F76A7
secondary
#C6825C
accent
#7B3CEC
background
#F7F9FB
surface
#EDF2F7
border
#C8CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #1F76A7

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

Preview Lab → · Contrast checker → · Palette generator →

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