#1F7699#1F7699

#1F7699 is a mid, moderate cyan. Relative luminance 0.155; OKLCH L 53.2% C 0.096 H 230.1°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#1F7699
RGBrgb(31, 118, 153)
HSLhsl(197, 66%, 36%)
HSVhsv(197, 80%, 60%)
CMYKcmyk(79.7%, 22.9%, 0%, 40%)
CIE-LABlab(46.37, -12.63, -26.06)
CIE-LCHlch(46.37, 28.96, 244.15°)
OKLaboklab(53.22% -0.0612 -0.0733)
OKLCHoklch(53.22% 0.096 230.1)
XYZxyz(12.7909, 15.5465, 32.4575)
Luminance0.1555 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7699 #99421F
analogous
#1F997F #1F7699 #1F3999
triadic
#1F7699 #991F76 #76991F
tetradic
#1F7699 #7F1F99 #99421F #39991F
square
#1F7699 #7F1F99 #99421F #39991F
split-complementary
#1F7699 #991F39 #997F1F
monochromatic
#0A2833 #154F66 #1F7699 #299DCC #56B6DD

Accessibility & contrast

On white

5.11
#1F7699 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#1F7699 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7699
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7699#FFFFFF#000000##FFFFFF
##1F76991.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#64749B
Deuteranopia (green-blind)
#546998
Tritanopia (blue-blind)
#008082
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #1f7699;
/* rgb */ color: rgb(31, 118, 153);
/* oklch */ color: oklch(53.2% 0.096 230.1);
Tailwind
colors: {
  custom: {
    50: '#6f9db7',
    500: '#1f7699',
    950: '#000000',
  },
}
SCSS
$custom: #1f7699;
$custom-light: #6f9db7;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7699",
  "rgb": {
    "r": 31,
    "g": 118,
    "b": 153
  },
  "hsl": {
    "h": 197.213,
    "s": 66.304,
    "l": 36.078
  },
  "oklch": {
    "l": 0.53223,
    "c": 0.09552,
    "h": 230.1
  },
  "luminance": 0.15548
}

Semantic roles & 50–950 ramp

primary
#1F7699
secondary
#C07354
accent
#703FE9
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #1F7699

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

Preview Lab → · Contrast checker → · Palette generator →

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