#1F7191#1F7191

#1F7191 is a mid, moderate cyan. Relative luminance 0.141; OKLCH L 51.6% C 0.090 H 229.1°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#1F7191
RGBrgb(31, 113, 145)
HSLhsl(197, 65%, 35%)
HSVhsv(197, 79%, 57%)
CMYKcmyk(78.6%, 22.1%, 0%, 43.1%)
CIE-LABlab(44.44, -12.65, -24.33)
CIE-LCHlch(44.44, 27.42, 242.53°)
OKLaboklab(51.56% -0.0592 -0.0684)
OKLCHoklch(51.56% 0.09 229.1)
XYZxyz(11.5789, 14.1445, 28.9025)
Luminance0.1415 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7191 #913F1F
analogous
#1F9178 #1F7191 #1F3891
triadic
#1F7191 #911F71 #71911F
tetradic
#1F7191 #781F91 #913F1F #38911F
square
#1F7191 #781F91 #913F1F #38911F
split-complementary
#1F7191 #911F38 #91781F
monochromatic
#09222C #144A5F #1F7191 #2A98C3 #51B3DA

Accessibility & contrast

On white

5.48
#1F7191 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#1F7191 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7191
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7191#FFFFFF#000000##FFFFFF
##1F71911.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#606F93
Deuteranopia (green-blind)
#516491
Tritanopia (blue-blind)
#007A7C
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #1f7191;
/* rgb */ color: rgb(31, 113, 145);
/* oklch */ color: oklch(51.6% 0.090 229.1);
Tailwind
colors: {
  custom: {
    50: '#6d99b1',
    500: '#1f7191',
    950: '#000000',
  },
}
SCSS
$custom: #1f7191;
$custom-light: #6d99b1;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7191",
  "rgb": {
    "r": 31,
    "g": 113,
    "b": 145
  },
  "hsl": {
    "h": 196.842,
    "s": 64.773,
    "l": 34.51
  },
  "oklch": {
    "l": 0.5156,
    "c": 0.09048,
    "h": 229.1
  },
  "luminance": 0.14146
}

Semantic roles & 50–950 ramp

primary
#1F7191
secondary
#BD6E4F
accent
#6F40E8
background
#F7F9FA
surface
#EDF2F5
border
#C8CCCF
text
#080E10
muted
#7B7E7F

Preview Lab

Preview with #1F7191

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

Preview Lab → · Contrast checker → · Palette generator →

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