#1F7AA8#1F7AA8

#1F7AA8 is a mid, moderate cyan. Relative luminance 0.170; OKLCH L 55.0% C 0.108 H 236.5°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#1F7AA8
RGBrgb(31, 122, 168)
HSLhsl(200, 69%, 39%)
HSVhsv(200, 82%, 66%)
CMYKcmyk(81.5%, 27.4%, 0%, 34.1%)
CIE-LABlab(48.30, -9.46, -31.84)
CIE-LCHlch(48.30, 33.22, 253.45°)
OKLaboklab(54.99% -0.0597 -0.09)
OKLCHoklch(54.99% 0.108 236.5)
XYZxyz(14.5897, 17.0357, 39.5575)
Luminance0.1704 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7AA8 #A84D1F
analogous
#1FA892 #1F7AA8 #1F36A8
triadic
#1F7AA8 #A81F7A #7AA81F
tetradic
#1F7AA8 #921FA8 #A84D1F #36A81F
square
#1F7AA8 #921FA8 #A84D1F #36A81F
split-complementary
#1F7AA8 #A81F36 #A8921F
monochromatic
#0C2F41 #155474 #1F7AA8 #2C9ED8 #60B6E2

Accessibility & contrast

On white

4.76
#1F7AA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#1F7AA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7AA8
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7AA8#FFFFFF#000000##FFFFFF
##1F7AA81.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#647AAA
Deuteranopia (green-blind)
#516DA7
Tritanopia (blue-blind)
#00868A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #1f7aa8;
/* rgb */ color: rgb(31, 122, 168);
/* oklch */ color: oklch(55.0% 0.108 236.5);
Tailwind
colors: {
  custom: {
    50: '#72a0c2',
    500: '#1f7aa8',
    950: '#000000',
  },
}
SCSS
$custom: #1f7aa8;
$custom-light: #72a0c2;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7aa8",
  "rgb": {
    "r": 31,
    "g": 122,
    "b": 168
  },
  "hsl": {
    "h": 200.146,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.54988,
    "c": 0.10799,
    "h": 236.5
  },
  "luminance": 0.17038
}

Semantic roles & 50–950 ramp

primary
#1F7AA8
secondary
#C6805D
accent
#773CEC
background
#F7F9FB
surface
#EDF2F7
border
#C8CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #1F7AA8

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

Preview Lab → · Contrast checker → · Palette generator →

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