#1F7DA7#1F7DA7

#1F7DA7 is a mid, moderate cyan. Relative luminance 0.177; OKLCH L 55.7% C 0.105 H 233.3°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#1F7DA7
RGBrgb(31, 125, 167)
HSLhsl(199, 69%, 39%)
HSVhsv(199, 81%, 65%)
CMYKcmyk(81.4%, 25.1%, 0%, 34.5%)
CIE-LABlab(49.19, -11.56, -29.88)
CIE-LCHlch(49.19, 32.04, 248.85°)
OKLaboklab(55.68% -0.0629 -0.0843)
OKLCHoklch(55.68% 0.105 233.3)
XYZxyz(14.8709, 17.7467, 39.1934)
Luminance0.1775 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7DA7 #A7491F
analogous
#1FA78D #1F7DA7 #1F39A7
triadic
#1F7DA7 #A71F7D #7DA71F
tetradic
#1F7DA7 #8D1FA7 #A7491F #39A71F
square
#1F7DA7 #8D1FA7 #A7491F #39A71F
split-complementary
#1F7DA7 #A71F39 #A78D1F
monochromatic
#0C3040 #155673 #1F7DA7 #2BA3D8 #5FB9E1

Accessibility & contrast

On white

4.62
#1F7DA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#1F7DA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7DA7
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7DA7#FFFFFF#000000##FFFFFF
##1F7DA71.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#687CA9
Deuteranopia (green-blind)
#566FA6
Tritanopia (blue-blind)
#00888B
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #1f7da7;
/* rgb */ color: rgb(31, 125, 167);
/* oklch */ color: oklch(55.7% 0.105 233.3);
Tailwind
colors: {
  custom: {
    50: '#72a2c1',
    500: '#1f7da7',
    950: '#000000',
  },
}
SCSS
$custom: #1f7da7;
$custom-light: #72a2c1;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7da7",
  "rgb": {
    "r": 31,
    "g": 125,
    "b": 167
  },
  "hsl": {
    "h": 198.529,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.55676,
    "c": 0.10515,
    "h": 233.3
  },
  "luminance": 0.17749
}

Semantic roles & 50–950 ramp

primary
#1F7DA7
secondary
#C67D5C
accent
#723CEC
background
#F7F9FB
surface
#EDF2F7
border
#C8CCD0
text
#090F12
muted
#7B7E81

Preview Lab

Preview with #1F7DA7

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

Preview Lab → · Contrast checker → · Palette generator →

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