#1F7891#1F7891

#1F7891 is a mid, moderate cyan. Relative luminance 0.158; OKLCH L 53.3% C 0.088 H 221.4°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#1F7891
RGBrgb(31, 120, 145)
HSLhsl(193, 65%, 35%)
HSVhsv(193, 79%, 57%)
CMYKcmyk(78.6%, 17.2%, 0%, 43.1%)
CIE-LABlab(46.67, -16.60, -20.89)
CIE-LCHlch(46.67, 26.68, 231.53°)
OKLaboklab(53.35% -0.0664 -0.0585)
OKLCHoklch(53.35% 0.088 221.4)
XYZxyz(12.3902, 15.7671, 29.1729)
Luminance0.1577 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7891 #91381F
analogous
#1F9171 #1F7891 #1F3F91
triadic
#1F7891 #911F78 #78911F
tetradic
#1F7891 #711F91 #91381F #3F911F
square
#1F7891 #711F91 #91381F #3F911F
split-complementary
#1F7891 #911F3F #91711F
monochromatic
#09252C #144E5F #1F7891 #2AA2C3 #51BCDA

Accessibility & contrast

On white

5.06
#1F7891 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#1F7891 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7891
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7891#FFFFFF#000000##FFFFFF
##1F78911.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#697592
Deuteranopia (green-blind)
#5A6A91
Tritanopia (blue-blind)
#008080
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #1f7891;
/* rgb */ color: rgb(31, 120, 145);
/* oklch */ color: oklch(53.3% 0.088 221.4);
Tailwind
colors: {
  custom: {
    50: '#6e9fb1',
    500: '#1f7891',
    950: '#000000',
  },
}
SCSS
$custom: #1f7891;
$custom-light: #6e9fb1;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7891",
  "rgb": {
    "r": 31,
    "g": 120,
    "b": 145
  },
  "hsl": {
    "h": 193.158,
    "s": 64.773,
    "l": 34.51
  },
  "oklch": {
    "l": 0.53346,
    "c": 0.08844,
    "h": 221.4
  },
  "luminance": 0.15769
}

Semantic roles & 50–950 ramp

primary
#1F7891
secondary
#BD674F
accent
#6540E8
background
#F7F9FA
surface
#EDF2F5
border
#C8CCCF
text
#080E10
muted
#7B7E7F

Preview Lab

Preview with #1F7891

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

Preview Lab → · Contrast checker → · Palette generator →

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