#1F7A98#1F7A98

#1F7A98 is a mid, moderate cyan. Relative luminance 0.165; OKLCH L 54.2% C 0.093 H 225.3°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#1F7A98
RGBrgb(31, 122, 152)
HSLhsl(195, 66%, 36%)
HSVhsv(195, 80%, 60%)
CMYKcmyk(79.6%, 19.7%, 0%, 40.4%)
CIE-LABlab(47.59, -15.24, -23.58)
CIE-LCHlch(47.59, 28.08, 237.12°)
OKLaboklab(54.18% -0.0656 -0.0662)
OKLCHoklch(54.18% 0.093 225.3)
XYZxyz(13.1898, 16.4758, 32.1847)
Luminance0.1648 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7A98 #983D1F
analogous
#1F9879 #1F7A98 #1F3D98
triadic
#1F7A98 #981F7A #7A981F
tetradic
#1F7A98 #791F98 #983D1F #3D981F
square
#1F7A98 #791F98 #983D1F #3D981F
split-complementary
#1F7A98 #981F3D #98791F
monochromatic
#0A2832 #155165 #1F7A98 #29A3CB #55BBDC

Accessibility & contrast

On white

4.89
#1F7A98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#1F7A98 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7A98
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7A98#FFFFFF#000000##FFFFFF
##1F7A981.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#69779A
Deuteranopia (green-blind)
#596C98
Tritanopia (blue-blind)
#008384
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #1f7a98;
/* rgb */ color: rgb(31, 122, 152);
/* oklch */ color: oklch(54.2% 0.093 225.3);
Tailwind
colors: {
  custom: {
    50: '#6fa0b6',
    500: '#1f7a98',
    950: '#000000',
  },
}
SCSS
$custom: #1f7a98;
$custom-light: #6fa0b6;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7a98",
  "rgb": {
    "r": 31,
    "g": 122,
    "b": 152
  },
  "hsl": {
    "h": 194.876,
    "s": 66.12,
    "l": 35.882
  },
  "oklch": {
    "l": 0.54184,
    "c": 0.09316,
    "h": 225.3
  },
  "luminance": 0.16477
}

Semantic roles & 50–950 ramp

primary
#1F7A98
secondary
#C06E53
accent
#693FE9
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #1F7A98

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

Preview Lab → · Contrast checker → · Palette generator →

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