#1F7AA6#1F7AA6

#1F7AA6 is a mid, moderate cyan. Relative luminance 0.170; OKLCH L 54.9% C 0.106 H 235.3°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#1F7AA6
RGBrgb(31, 122, 166)
HSLhsl(200, 69%, 39%)
HSVhsv(200, 81%, 65%)
CMYKcmyk(81.3%, 26.5%, 0%, 34.9%)
CIE-LABlab(48.21, -10.20, -30.82)
CIE-LCHlch(48.21, 32.46, 251.69°)
OKLaboklab(54.88% -0.0604 -0.087)
OKLCHoklch(54.88% 0.106 235.3)
XYZxyz(14.4048, 16.9618, 38.5837)
Luminance0.1696 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7AA6 #A64B1F
analogous
#1FA68E #1F7AA6 #1F36A6
triadic
#1F7AA6 #A61F7A #7AA61F
tetradic
#1F7AA6 #8E1FA6 #A64B1F #36A61F
square
#1F7AA6 #8E1FA6 #A64B1F #36A61F
split-complementary
#1F7AA6 #A61F36 #A68E1F
monochromatic
#0C2E3F #155472 #1F7AA6 #2B9FD7 #5EB6E1

Accessibility & contrast

On white

4.78
#1F7AA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#1F7AA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7AA6
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7AA6#FFFFFF#000000##FFFFFF
##1F7AA61.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6579A8
Deuteranopia (green-blind)
#536DA5
Tritanopia (blue-blind)
#008589
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #1f7aa6;
/* rgb */ color: rgb(31, 122, 166);
/* oklch */ color: oklch(54.9% 0.106 235.3);
Tailwind
colors: {
  custom: {
    50: '#72a0c0',
    500: '#1f7aa6',
    950: '#000000',
  },
}
SCSS
$custom: #1f7aa6;
$custom-light: #72a0c0;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7aa6",
  "rgb": {
    "r": 31,
    "g": 122,
    "b": 166
  },
  "hsl": {
    "h": 199.556,
    "s": 68.528,
    "l": 38.627
  },
  "oklch": {
    "l": 0.54883,
    "c": 0.10593,
    "h": 235.3
  },
  "luminance": 0.16964
}

Semantic roles & 50–950 ramp

primary
#1F7AA6
secondary
#C57E5B
accent
#753CEB
background
#F7F9FB
surface
#EDF2F7
border
#C8CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #1F7AA6

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

Preview Lab → · Contrast checker → · Palette generator →

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