#1F7792#1F7792

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

Color values

HEX#1F7792
RGBrgb(31, 119, 146)
HSLhsl(194, 65%, 35%)
HSVhsv(194, 79%, 57%)
CMYKcmyk(78.8%, 18.5%, 0%, 42.7%)
CIE-LABlab(46.39, -15.69, -21.91)
CIE-LCHlch(46.39, 26.94, 234.39°)
OKLaboklab(53.14% -0.0649 -0.0614)
OKLCHoklch(53.14% 0.089 223.4)
XYZxyz(12.3480, 15.5588, 29.5409)
Luminance0.1556 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7792 #923A1F
analogous
#1F9274 #1F7792 #1F3E92
triadic
#1F7792 #921F77 #77921F
tetradic
#1F7792 #741F92 #923A1F #3E921F
square
#1F7792 #741F92 #923A1F #3E921F
split-complementary
#1F7792 #921F3E #92741F
monochromatic
#0A252D #144E60 #1F7792 #2AA0C4 #51BADA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F7792#FFFFFF#000000##FFFFFF
##1F77921.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)
#687493
Deuteranopia (green-blind)
#586992
Tritanopia (blue-blind)
#007F80
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #1f7792;
/* rgb */ color: rgb(31, 119, 146);
/* oklch */ color: oklch(53.1% 0.089 223.4);
Tailwind
colors: {
  custom: {
    50: '#6e9eb2',
    500: '#1f7792',
    950: '#000000',
  },
}
SCSS
$custom: #1f7792;
$custom-light: #6e9eb2;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7792",
  "rgb": {
    "r": 31,
    "g": 119,
    "b": 146
  },
  "hsl": {
    "h": 194.087,
    "s": 64.972,
    "l": 34.706
  },
  "oklch": {
    "l": 0.53137,
    "c": 0.08935,
    "h": 223.4
  },
  "luminance": 0.1556
}

Semantic roles & 50–950 ramp

primary
#1F7792
secondary
#BD6950
accent
#6740E8
background
#F7F9FA
surface
#EDF2F5
border
#C8CCCF
text
#080E10
muted
#7B7E7F

Preview Lab

Preview with #1F7792

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

Preview Lab → · Contrast checker → · Palette generator →

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