#1F76A8#1F76A8

#1F76A8 is a mid, moderate cyan. Relative luminance 0.161; OKLCH L 54.0% C 0.111 H 239.7°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#1F76A8
RGBrgb(31, 118, 168)
HSLhsl(202, 69%, 39%)
HSVhsv(202, 82%, 66%)
CMYKcmyk(81.5%, 29.8%, 0%, 34.1%)
CIE-LABlab(47.07, -7.12, -33.77)
CIE-LCHlch(47.07, 34.52, 258.10°)
OKLaboklab(54.01% -0.0559 -0.0957)
OKLCHoklch(54.01% 0.111 239.7)
XYZxyz(14.1086, 16.0736, 39.3971)
Luminance0.1608 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F76A8 #A8511F
analogous
#1FA896 #1F76A8 #1F32A8
triadic
#1F76A8 #A81F76 #76A81F
tetradic
#1F76A8 #961FA8 #A8511F #32A81F
square
#1F76A8 #961FA8 #A8511F #32A81F
split-complementary
#1F76A8 #A81F32 #A8961F
monochromatic
#0C2D41 #155274 #1F76A8 #2C99D8 #60B2E2

Accessibility & contrast

On white

4.98
#1F76A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #1F76A8
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F76A8#FFFFFF#000000##FFFFFF
##1F76A81.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f76a8;
/* rgb */ color: rgb(31, 118, 168);
/* oklch */ color: oklch(54.0% 0.111 239.7);
Tailwind
colors: {
  custom: {
    50: '#729dc2',
    500: '#1f76a8',
    950: '#000000',
  },
}
SCSS
$custom: #1f76a8;
$custom-light: #729dc2;
$custom-dark: #000000;
JSON
{
  "hex": "#1f76a8",
  "rgb": {
    "r": 31,
    "g": 118,
    "b": 168
  },
  "hsl": {
    "h": 201.898,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.54007,
    "c": 0.11082,
    "h": 239.7
  },
  "luminance": 0.16075
}

Semantic roles & 50–950 ramp

primary
#1F76A8
secondary
#C6835D
accent
#7C3CEC
background
#F7F9FB
surface
#EDF2F7
border
#C8CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #1F76A8

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

Preview Lab → · Contrast checker → · Palette generator →

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