#1F7789#1F7789

#1F7789 is a mid, moderate cyan. Relative luminance 0.153; OKLCH L 52.7% C 0.084 H 214.8°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#1F7789
RGBrgb(31, 119, 137)
HSLhsl(190, 63%, 33%)
HSVhsv(190, 77%, 54%)
CMYKcmyk(77.4%, 13.1%, 0%, 46.3%)
CIE-LABlab(46.03, -18.81, -17.13)
CIE-LCHlch(46.03, 25.45, 222.32°)
OKLaboklab(52.73% -0.0687 -0.0478)
OKLCHoklch(52.73% 0.084 214.8)
XYZxyz(11.6753, 15.2897, 25.9979)
Luminance0.1529 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7789 #89311F
analogous
#1F8966 #1F7789 #1F4289
triadic
#1F7789 #891F77 #77891F
tetradic
#1F7789 #661F89 #89311F #42891F
square
#1F7789 #661F89 #89311F #42891F
split-complementary
#1F7789 #891F42 #89661F
monochromatic
#082025 #144C57 #1F7789 #2AA2BB #4CBFD6

Accessibility & contrast

On white

5.17
#1F7789 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#1F7789 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7789
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7789#FFFFFF#000000##FFFFFF
##1F77891.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A738A
Deuteranopia (green-blind)
#5C6889
Tritanopia (blue-blind)
#007E7D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #1f7789;
/* rgb */ color: rgb(31, 119, 137);
/* oklch */ color: oklch(52.7% 0.084 214.8);
Tailwind
colors: {
  custom: {
    50: '#6d9eab',
    500: '#1f7789',
    950: '#000000',
  },
}
SCSS
$custom: #1f7789;
$custom-light: #6d9eab;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7789",
  "rgb": {
    "r": 31,
    "g": 119,
    "b": 137
  },
  "hsl": {
    "h": 190.189,
    "s": 63.095,
    "l": 32.941
  },
  "oklch": {
    "l": 0.52726,
    "c": 0.08366,
    "h": 214.8
  },
  "luminance": 0.15291
}

Semantic roles & 50–950 ramp

primary
#1F7789
secondary
#B95D4B
accent
#5E42E6
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E10
muted
#7B7E7F

Preview Lab

Preview with #1F7789

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

Preview Lab → · Contrast checker → · Palette generator →

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