#1F7FA1#1F7FA1

#1F7FA1 is a mid, moderate cyan. Relative luminance 0.180; OKLCH L 55.9% C 0.099 H 227.3°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#1F7FA1
RGBrgb(31, 127, 161)
HSLhsl(196, 68%, 38%)
HSVhsv(196, 81%, 63%)
CMYKcmyk(80.7%, 21.1%, 0%, 36.9%)
CIE-LABlab(49.55, -14.84, -25.83)
CIE-LCHlch(49.55, 29.79, 240.11°)
OKLaboklab(55.88% -0.067 -0.0726)
OKLCHoklch(55.88% 0.099 227.3)
XYZxyz(14.5848, 18.0415, 36.4250)
Luminance0.1804 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7FA1 #A1411F
analogous
#1FA182 #1F7FA1 #1F3EA1
triadic
#1F7FA1 #A11F7F #7FA11F
tetradic
#1F7FA1 #821FA1 #A1411F #3EA11F
square
#1F7FA1 #821FA1 #A1411F #3EA11F
split-complementary
#1F7FA1 #A11F3E #A1821F
monochromatic
#0B2E3A #15576E #1F7FA1 #29A7D4 #5BBDDF

Accessibility & contrast

On white

4.56
#1F7FA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#1F7FA1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F7FA1
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7FA1#FFFFFF#000000##000000
##1F7FA11.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D7DA3
Deuteranopia (green-blind)
#5C70A1
Tritanopia (blue-blind)
#00898A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #1f7fa1;
/* rgb */ color: rgb(31, 127, 161);
/* oklch */ color: oklch(55.9% 0.099 227.3);
Tailwind
colors: {
  custom: {
    50: '#71a4bd',
    500: '#1f7fa1',
    950: '#000000',
  },
}
SCSS
$custom: #1f7fa1;
$custom-light: #71a4bd;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7fa1",
  "rgb": {
    "r": 31,
    "g": 127,
    "b": 161
  },
  "hsl": {
    "h": 195.692,
    "s": 67.708,
    "l": 37.647
  },
  "oklch": {
    "l": 0.55875,
    "c": 0.09879,
    "h": 227.3
  },
  "luminance": 0.18043
}

Semantic roles & 50–950 ramp

primary
#1F7FA1
secondary
#C47458
accent
#6B3DEB
background
#F7FAFB
surface
#EDF4F6
border
#C8CED0
text
#090F12
muted
#7B7F81

Preview Lab

Preview with #1F7FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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