#1F7FA0#1F7FA0

#1F7FA0 is a mid, moderate cyan. Relative luminance 0.180; OKLCH L 55.8% C 0.098 H 226.5°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#1F7FA0
RGBrgb(31, 127, 160)
HSLhsl(195, 68%, 37%)
HSVhsv(195, 81%, 63%)
CMYKcmyk(80.6%, 20.6%, 0%, 37.3%)
CIE-LABlab(49.50, -15.20, -25.31)
CIE-LCHlch(49.50, 29.52, 239.02°)
OKLaboklab(55.83% -0.0674 -0.0711)
OKLCHoklch(55.83% 0.098 226.5)
XYZxyz(14.4970, 18.0063, 35.9624)
Luminance0.1801 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7FA0 #A0401F
analogous
#1FA081 #1F7FA0 #1F3EA0
triadic
#1F7FA0 #A01F7F #7FA01F
tetradic
#1F7FA0 #811FA0 #A0401F #3EA01F
square
#1F7FA0 #811FA0 #A0401F #3EA01F
split-complementary
#1F7FA0 #A01F3E #A0811F
monochromatic
#0B2E39 #15566D #1F7FA0 #29A8D3 #5ABDDF

Accessibility & contrast

On white

4.56
#1F7FA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#1F7FA0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F7FA0
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7FA0#FFFFFF#000000##000000
##1F7FA01.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D7DA2
Deuteranopia (green-blind)
#5C70A0
Tritanopia (blue-blind)
#00898A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #1f7fa0;
/* rgb */ color: rgb(31, 127, 160);
/* oklch */ color: oklch(55.8% 0.098 226.5);
Tailwind
colors: {
  custom: {
    50: '#71a4bc',
    500: '#1f7fa0',
    950: '#000000',
  },
}
SCSS
$custom: #1f7fa0;
$custom-light: #71a4bc;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7fa0",
  "rgb": {
    "r": 31,
    "g": 127,
    "b": 160
  },
  "hsl": {
    "h": 195.349,
    "s": 67.539,
    "l": 37.451
  },
  "oklch": {
    "l": 0.55827,
    "c": 0.09797,
    "h": 226.5
  },
  "luminance": 0.18008
}

Semantic roles & 50–950 ramp

primary
#1F7FA0
secondary
#C37358
accent
#6A3DEA
background
#F7FAFB
surface
#EDF4F6
border
#C8CED0
text
#090F12
muted
#7B7F81

Preview Lab

Preview with #1F7FA0

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

Preview Lab → · Contrast checker → · Palette generator →

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