#1F7791#1F7791

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

Color values

HEX#1F7791
RGBrgb(31, 119, 145)
HSLhsl(194, 65%, 35%)
HSVhsv(194, 79%, 57%)
CMYKcmyk(78.6%, 17.9%, 0%, 43.1%)
CIE-LABlab(46.35, -16.04, -21.38)
CIE-LCHlch(46.35, 26.73, 233.12°)
OKLaboklab(53.09% -0.0653 -0.0599)
OKLCHoklch(53.09% 0.089 222.5)
XYZxyz(12.2706, 15.5278, 29.1330)
Luminance0.1553 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7791 #91391F
analogous
#1F9172 #1F7791 #1F3E91
triadic
#1F7791 #911F77 #77911F
tetradic
#1F7791 #721F91 #91391F #3E911F
square
#1F7791 #721F91 #91391F #3E911F
split-complementary
#1F7791 #911F3E #91721F
monochromatic
#09242C #144E5F #1F7791 #2AA0C3 #51BADA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F7791#FFFFFF#000000##FFFFFF
##1F77911.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)
#687492
Deuteranopia (green-blind)
#596991
Tritanopia (blue-blind)
#007F7F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #1f7791;
/* rgb */ color: rgb(31, 119, 145);
/* oklch */ color: oklch(53.1% 0.089 222.5);
Tailwind
colors: {
  custom: {
    50: '#6e9eb1',
    500: '#1f7791',
    950: '#000000',
  },
}
SCSS
$custom: #1f7791;
$custom-light: #6e9eb1;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7791",
  "rgb": {
    "r": 31,
    "g": 119,
    "b": 145
  },
  "hsl": {
    "h": 193.684,
    "s": 64.773,
    "l": 34.51
  },
  "oklch": {
    "l": 0.5309,
    "c": 0.08862,
    "h": 222.5
  },
  "luminance": 0.15529
}

Semantic roles & 50–950 ramp

primary
#1F7791
secondary
#BD684F
accent
#6640E8
background
#F7F9FA
surface
#EDF2F5
border
#C8CCCF
text
#080E10
muted
#7B7E7F

Preview Lab

Preview with #1F7791

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

Preview Lab → · Contrast checker → · Palette generator →

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