#1F7799#1F7799

#1F7799 is a mid, moderate cyan. Relative luminance 0.158; OKLCH L 53.5% C 0.095 H 229.1°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#1F7799
RGBrgb(31, 119, 153)
HSLhsl(197, 66%, 36%)
HSVhsv(197, 80%, 60%)
CMYKcmyk(79.7%, 22.2%, 0%, 40%)
CIE-LABlab(46.69, -13.20, -25.57)
CIE-LCHlch(46.69, 28.78, 242.71°)
OKLaboklab(53.47% -0.0622 -0.0719)
OKLCHoklch(53.47% 0.095 229.1)
XYZxyz(12.9093, 15.7833, 32.4969)
Luminance0.1578 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7799 #99411F
analogous
#1F997E #1F7799 #1F3A99
triadic
#1F7799 #991F77 #77991F
tetradic
#1F7799 #7E1F99 #99411F #3A991F
square
#1F7799 #7E1F99 #99411F #3A991F
split-complementary
#1F7799 #991F3A #997E1F
monochromatic
#0A2833 #154F66 #1F7799 #299FCC #56B7DD

Accessibility & contrast

On white

5.05
#1F7799 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#1F7799 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7799
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7799#FFFFFF#000000##FFFFFF
##1F77991.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#65759B
Deuteranopia (green-blind)
#556A99
Tritanopia (blue-blind)
#008082
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #1f7799;
/* rgb */ color: rgb(31, 119, 153);
/* oklch */ color: oklch(53.5% 0.095 229.1);
Tailwind
colors: {
  custom: {
    50: '#6f9eb7',
    500: '#1f7799',
    950: '#000000',
  },
}
SCSS
$custom: #1f7799;
$custom-light: #6f9eb7;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7799",
  "rgb": {
    "r": 31,
    "g": 119,
    "b": 153
  },
  "hsl": {
    "h": 196.721,
    "s": 66.304,
    "l": 36.078
  },
  "oklch": {
    "l": 0.53475,
    "c": 0.09508,
    "h": 229.1
  },
  "luminance": 0.15785
}

Semantic roles & 50–950 ramp

primary
#1F7799
secondary
#C07254
accent
#6E3FE9
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #1F7799

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

Preview Lab → · Contrast checker → · Palette generator →

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