#1F7A9C#1F7A9C

#1F7A9C is a mid, moderate cyan. Relative luminance 0.166; OKLCH L 54.4% C 0.096 H 228.4°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#1F7A9C
RGBrgb(31, 122, 156)
HSLhsl(196, 67%, 37%)
HSVhsv(196, 80%, 61%)
CMYKcmyk(80.1%, 21.8%, 0%, 38.8%)
CIE-LABlab(47.76, -13.82, -25.67)
CIE-LCHlch(47.76, 29.15, 241.70°)
OKLaboklab(54.38% -0.064 -0.0722)
OKLCHoklch(54.38% 0.096 228.4)
XYZxyz(13.5229, 16.6090, 33.9392)
Luminance0.1661 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7A9C #9C411F
analogous
#1F9C80 #1F7A9C #1F3C9C
triadic
#1F7A9C #9C1F7A #7A9C1F
tetradic
#1F7A9C #801F9C #9C411F #3C9C1F
square
#1F7A9C #801F9C #9C411F #3C9C1F
split-complementary
#1F7A9C #9C1F3C #9C801F
monochromatic
#0B2A36 #155269 #1F7A9C #29A2CF #58B9DE

Accessibility & contrast

On white

4.86
#1F7A9C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#1F7A9C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7A9C
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7A9C#FFFFFF#000000##FFFFFF
##1F7A9C1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#68789E
Deuteranopia (green-blind)
#586C9C
Tritanopia (blue-blind)
#008485
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #1f7a9c;
/* rgb */ color: rgb(31, 122, 156);
/* oklch */ color: oklch(54.4% 0.096 228.4);
Tailwind
colors: {
  custom: {
    50: '#70a0b9',
    500: '#1f7a9c',
    950: '#000000',
  },
}
SCSS
$custom: #1f7a9c;
$custom-light: #70a0b9;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7a9c",
  "rgb": {
    "r": 31,
    "g": 122,
    "b": 156
  },
  "hsl": {
    "h": 196.32,
    "s": 66.845,
    "l": 36.667
  },
  "oklch": {
    "l": 0.54377,
    "c": 0.09647,
    "h": 228.4
  },
  "luminance": 0.16611
}

Semantic roles & 50–950 ramp

primary
#1F7A9C
secondary
#C17355
accent
#6D3EEA
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #1F7A9C

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

Preview Lab → · Contrast checker → · Palette generator →

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