#1F7991#1F7991

#1F7991 is a mid, moderate cyan. Relative luminance 0.160; OKLCH L 53.6% C 0.088 H 220.3°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#1F7991
RGBrgb(31, 121, 145)
HSLhsl(193, 65%, 35%)
HSVhsv(193, 79%, 57%)
CMYKcmyk(78.6%, 16.6%, 0%, 43.1%)
CIE-LABlab(46.99, -17.15, -20.40)
CIE-LCHlch(46.99, 26.65, 229.95°)
OKLaboklab(53.6% -0.0674 -0.0571)
OKLCHoklch(53.6% 0.088 220.3)
XYZxyz(12.5111, 16.0089, 29.2132)
Luminance0.1601 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7991 #91371F
analogous
#1F9170 #1F7991 #1F4091
triadic
#1F7991 #911F79 #79911F
tetradic
#1F7991 #701F91 #91371F #40911F
square
#1F7991 #701F91 #91371F #40911F
split-complementary
#1F7991 #911F40 #91701F
monochromatic
#09252C #144F5F #1F7991 #2AA3C3 #51BDDA

Accessibility & contrast

On white

5.00
#1F7991 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#1F7991 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7991
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7991#FFFFFF#000000##FFFFFF
##1F79911.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A7692
Deuteranopia (green-blind)
#5B6B91
Tritanopia (blue-blind)
#008181
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #1f7991;
/* rgb */ color: rgb(31, 121, 145);
/* oklch */ color: oklch(53.6% 0.088 220.3);
Tailwind
colors: {
  custom: {
    50: '#6ea0b1',
    500: '#1f7991',
    950: '#000000',
  },
}
SCSS
$custom: #1f7991;
$custom-light: #6ea0b1;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7991",
  "rgb": {
    "r": 31,
    "g": 121,
    "b": 145
  },
  "hsl": {
    "h": 192.632,
    "s": 64.773,
    "l": 34.51
  },
  "oklch": {
    "l": 0.53602,
    "c": 0.08829,
    "h": 220.3
  },
  "luminance": 0.1601
}

Semantic roles & 50–950 ramp

primary
#1F7991
secondary
#BD664F
accent
#6340E8
background
#F7F9FA
surface
#EDF2F5
border
#C8CCCF
text
#080E10
muted
#7B7E7F

Preview Lab

Preview with #1F7991

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

Preview Lab → · Contrast checker → · Palette generator →

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