#1F80A8#1F80A8

#1F80A8 is a mid, moderate cyan. Relative luminance 0.186; OKLCH L 56.5% C 0.105 H 231.3°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#1F80A8
RGBrgb(31, 128, 168)
HSLhsl(198, 69%, 39%)
HSVhsv(198, 82%, 66%)
CMYKcmyk(81.5%, 23.8%, 0%, 34.1%)
CIE-LABlab(50.16, -12.90, -28.94)
CIE-LCHlch(50.16, 31.69, 245.97°)
OKLaboklab(56.47% -0.0654 -0.0815)
OKLCHoklch(56.47% 0.105 231.3)
XYZxyz(15.3492, 18.5549, 39.8107)
Luminance0.1856 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F80A8 #A8471F
analogous
#1FA88C #1F80A8 #1F3CA8
triadic
#1F80A8 #A81F80 #80A81F
tetradic
#1F80A8 #8C1FA8 #A8471F #3CA81F
square
#1F80A8 #8C1FA8 #A8471F #3CA81F
split-complementary
#1F80A8 #A81F3C #A88C1F
monochromatic
#0C3141 #155974 #1F80A8 #2CA6D8 #60BCE2

Accessibility & contrast

On white

4.46
#1F80A8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#1F80A8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F80A8
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F80A8#FFFFFF#000000##000000
##1F80A81.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C7EAA
Deuteranopia (green-blind)
#5A72A7
Tritanopia (blue-blind)
#008B8D
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #1f80a8;
/* rgb */ color: rgb(31, 128, 168);
/* oklch */ color: oklch(56.5% 0.105 231.3);
Tailwind
colors: {
  custom: {
    50: '#72a4c2',
    500: '#1f80a8',
    950: '#000000',
  },
}
SCSS
$custom: #1f80a8;
$custom-light: #72a4c2;
$custom-dark: #000000;
JSON
{
  "hex": "#1f80a8",
  "rgb": {
    "r": 31,
    "g": 128,
    "b": 168
  },
  "hsl": {
    "h": 197.518,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.56469,
    "c": 0.10451,
    "h": 231.3
  },
  "luminance": 0.18557
}

Semantic roles & 50–950 ramp

primary
#1F80A8
secondary
#C67B5D
accent
#6F3CEC
background
#F7FAFB
surface
#EEF4F7
border
#C9CED0
text
#090F12
muted
#7B7F81

Preview Lab

Preview with #1F80A8

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

Preview Lab → · Contrast checker → · Palette generator →

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