#1F7DA1#1F7DA1

#1F7DA1 is a mid, moderate cyan. Relative luminance 0.175; OKLCH L 55.4% C 0.100 H 229.2°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#1F7DA1
RGBrgb(31, 125, 161)
HSLhsl(197, 68%, 38%)
HSVhsv(197, 81%, 63%)
CMYKcmyk(80.7%, 22.4%, 0%, 36.9%)
CIE-LABlab(48.92, -13.72, -26.80)
CIE-LCHlch(48.92, 30.11, 242.89°)
OKLaboklab(55.38% -0.0651 -0.0754)
OKLCHoklch(55.38% 0.1 229.2)
XYZxyz(14.3291, 17.5300, 36.3397)
Luminance0.1753 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7DA1 #A1431F
analogous
#1FA184 #1F7DA1 #1F3CA1
triadic
#1F7DA1 #A11F7D #7DA11F
tetradic
#1F7DA1 #841FA1 #A1431F #3CA11F
square
#1F7DA1 #841FA1 #A1431F #3CA11F
split-complementary
#1F7DA1 #A11F3C #A1841F
monochromatic
#0B2D3A #15556E #1F7DA1 #29A5D4 #5BBBDF

Accessibility & contrast

On white

4.66
#1F7DA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#1F7DA1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7DA1
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7DA1#FFFFFF#000000##FFFFFF
##1F7DA11.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A7BA3
Deuteranopia (green-blind)
#596FA0
Tritanopia (blue-blind)
#008789
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #1f7da1;
/* rgb */ color: rgb(31, 125, 161);
/* oklch */ color: oklch(55.4% 0.100 229.2);
Tailwind
colors: {
  custom: {
    50: '#71a2bd',
    500: '#1f7da1',
    950: '#000000',
  },
}
SCSS
$custom: #1f7da1;
$custom-light: #71a2bd;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7da1",
  "rgb": {
    "r": 31,
    "g": 125,
    "b": 161
  },
  "hsl": {
    "h": 196.615,
    "s": 67.708,
    "l": 37.647
  },
  "oklch": {
    "l": 0.55375,
    "c": 0.09959,
    "h": 229.2
  },
  "luminance": 0.17532
}

Semantic roles & 50–950 ramp

primary
#1F7DA1
secondary
#C47658
accent
#6D3DEB
background
#F7FAFB
surface
#EDF3F6
border
#C8CDD0
text
#090F12
muted
#7B7F81

Preview Lab

Preview with #1F7DA1

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

Preview Lab → · Contrast checker → · Palette generator →

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