#1F76A6#1F76A6

#1F76A6 is a mid, moderate cyan. Relative luminance 0.160; OKLCH L 53.9% C 0.109 H 238.6°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#1F76A6
RGBrgb(31, 118, 166)
HSLhsl(201, 69%, 39%)
HSVhsv(201, 81%, 65%)
CMYKcmyk(81.3%, 28.9%, 0%, 34.9%)
CIE-LABlab(46.97, -7.86, -32.76)
CIE-LCHlch(46.97, 33.69, 256.50°)
OKLaboklab(53.9% -0.0566 -0.0927)
OKLCHoklch(53.9% 0.109 238.6)
XYZxyz(13.9237, 15.9996, 38.4234)
Luminance0.1600 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F76A6 #A64F1F
analogous
#1FA692 #1F76A6 #1F33A6
triadic
#1F76A6 #A61F76 #76A61F
tetradic
#1F76A6 #921FA6 #A64F1F #33A61F
square
#1F76A6 #921FA6 #A64F1F #33A61F
split-complementary
#1F76A6 #A61F33 #A6921F
monochromatic
#0C2D3F #155172 #1F76A6 #2B9AD7 #5EB3E1

Accessibility & contrast

On white

5.00
#1F76A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#1F76A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F76A6
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F76A6#FFFFFF#000000##FFFFFF
##1F76A61.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f76a6;
/* rgb */ color: rgb(31, 118, 166);
/* oklch */ color: oklch(53.9% 0.109 238.6);
Tailwind
colors: {
  custom: {
    50: '#719dc0',
    500: '#1f76a6',
    950: '#000000',
  },
}
SCSS
$custom: #1f76a6;
$custom-light: #719dc0;
$custom-dark: #000000;
JSON
{
  "hex": "#1f76a6",
  "rgb": {
    "r": 31,
    "g": 118,
    "b": 166
  },
  "hsl": {
    "h": 201.333,
    "s": 68.528,
    "l": 38.627
  },
  "oklch": {
    "l": 0.53899,
    "c": 0.10862,
    "h": 238.6
  },
  "luminance": 0.16001
}

Semantic roles & 50–950 ramp

primary
#1F76A6
secondary
#C5815B
accent
#7B3CEB
background
#F7F9FB
surface
#EDF2F7
border
#C8CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #1F76A6

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

Preview Lab → · Contrast checker → · Palette generator →

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