#1F7790#1F7790

#1F7790 is a mid, moderate cyan. Relative luminance 0.155; OKLCH L 53.0% C 0.088 H 221.6°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#1F7790
RGBrgb(31, 119, 144)
HSLhsl(193, 65%, 34%)
HSVhsv(193, 78%, 56%)
CMYKcmyk(78.5%, 17.4%, 0%, 43.5%)
CIE-LABlab(46.31, -16.39, -20.85)
CIE-LCHlch(46.31, 26.52, 231.83°)
OKLaboklab(53.04% -0.0657 -0.0584)
OKLCHoklch(53.04% 0.088 221.6)
XYZxyz(12.1938, 15.4971, 28.7287)
Luminance0.1550 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7790 #90381F
analogous
#1F9071 #1F7790 #1F3F90
triadic
#1F7790 #901F77 #77901F
tetradic
#1F7790 #711F90 #90381F #3F901F
square
#1F7790 #711F90 #90381F #3F901F
split-complementary
#1F7790 #901F3F #90711F
monochromatic
#09242B #144D5E #1F7790 #2AA1C2 #50BBD9

Accessibility & contrast

On white

5.12
#1F7790 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#1F7790 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7790
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7790#FFFFFF#000000##FFFFFF
##1F77901.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#687491
Deuteranopia (green-blind)
#596990
Tritanopia (blue-blind)
#007F7F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #1f7790;
/* rgb */ color: rgb(31, 119, 144);
/* oklch */ color: oklch(53.0% 0.088 221.6);
Tailwind
colors: {
  custom: {
    50: '#6e9eb0',
    500: '#1f7790',
    950: '#000000',
  },
}
SCSS
$custom: #1f7790;
$custom-light: #6e9eb0;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7790",
  "rgb": {
    "r": 31,
    "g": 119,
    "b": 144
  },
  "hsl": {
    "h": 193.274,
    "s": 64.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.53043,
    "c": 0.08791,
    "h": 221.6
  },
  "luminance": 0.15499
}

Semantic roles & 50–950 ramp

primary
#1F7790
secondary
#BC674E
accent
#6540E8
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E10
muted
#7B7E7F

Preview Lab

Preview with #1F7790

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

Preview Lab → · Contrast checker → · Palette generator →

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