#1F7AA0#1F7AA0

#1F7AA0 is a mid, moderate cyan. Relative luminance 0.167; OKLCH L 54.6% C 0.100 H 231.3°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#1F7AA0
RGBrgb(31, 122, 160)
HSLhsl(198, 68%, 37%)
HSVhsv(198, 81%, 63%)
CMYKcmyk(80.6%, 23.7%, 0%, 37.3%)
CIE-LABlab(47.94, -12.38, -27.74)
CIE-LCHlch(47.94, 30.38, 245.95°)
OKLaboklab(54.58% -0.0625 -0.0781)
OKLCHoklch(54.58% 0.1 231.3)
XYZxyz(13.8672, 16.7467, 35.7525)
Luminance0.1675 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7AA0 #A0451F
analogous
#1FA085 #1F7AA0 #1F3AA0
triadic
#1F7AA0 #A01F7A #7AA01F
tetradic
#1F7AA0 #851FA0 #A0451F #3AA01F
square
#1F7AA0 #851FA0 #A0451F #3AA01F
split-complementary
#1F7AA0 #A01F3A #A0851F
monochromatic
#0B2C39 #15536D #1F7AA0 #29A1D3 #5AB8DF

Accessibility & contrast

On white

4.83
#1F7AA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#1F7AA0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7AA0
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7AA0#FFFFFF#000000##FFFFFF
##1F7AA01.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6778A2
Deuteranopia (green-blind)
#566C9F
Tritanopia (blue-blind)
#008487
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #1f7aa0;
/* rgb */ color: rgb(31, 122, 160);
/* oklch */ color: oklch(54.6% 0.100 231.3);
Tailwind
colors: {
  custom: {
    50: '#71a0bc',
    500: '#1f7aa0',
    950: '#000000',
  },
}
SCSS
$custom: #1f7aa0;
$custom-light: #71a0bc;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7aa0",
  "rgb": {
    "r": 31,
    "g": 122,
    "b": 160
  },
  "hsl": {
    "h": 197.674,
    "s": 67.539,
    "l": 37.451
  },
  "oklch": {
    "l": 0.54576,
    "c": 0.10007,
    "h": 231.3
  },
  "luminance": 0.16748
}

Semantic roles & 50–950 ramp

primary
#1F7AA0
secondary
#C37758
accent
#703DEA
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #1F7AA0

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

Preview Lab → · Contrast checker → · Palette generator →

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