#1F7082#1F7082

#1F7082 is a mid, moderate cyan. Relative luminance 0.135; OKLCH L 50.6% C 0.080 H 216.1°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#1F7082
RGBrgb(31, 112, 130)
HSLhsl(191, 61%, 32%)
HSVhsv(191, 76%, 51%)
CMYKcmyk(76.2%, 13.8%, 0%, 49%)
CIE-LABlab(43.49, -17.39, -16.83)
CIE-LCHlch(43.49, 24.20, 224.07°)
OKLaboklab(50.59% -0.0643 -0.047)
OKLCHoklch(50.59% 0.08 216.1)
XYZxyz(10.3868, 13.4901, 23.1712)
Luminance0.1349 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7082 #82311F
analogous
#1F8263 #1F7082 #1F3F82
triadic
#1F7082 #821F70 #70821F
tetradic
#1F7082 #631F82 #82311F #3F821F
square
#1F7082 #631F82 #82311F #3F821F
split-complementary
#1F7082 #821F3F #82631F
monochromatic
#071B1F #134551 #1F7082 #2B9BB3 #48BAD3

Accessibility & contrast

On white

5.68
#1F7082 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#1F7082 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7082
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7082#FFFFFF#000000##FFFFFF
##1F70821.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#646C83
Deuteranopia (green-blind)
#566282
Tritanopia (blue-blind)
#007676
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #1f7082;
/* rgb */ color: rgb(31, 112, 130);
/* oklch */ color: oklch(50.6% 0.080 216.1);
Tailwind
colors: {
  custom: {
    50: '#6b99a6',
    500: '#1f7082',
    950: '#000000',
  },
}
SCSS
$custom: #1f7082;
$custom-light: #6b99a6;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7082",
  "rgb": {
    "r": 31,
    "g": 112,
    "b": 130
  },
  "hsl": {
    "h": 190.909,
    "s": 61.491,
    "l": 31.569
  },
  "oklch": {
    "l": 0.50594,
    "c": 0.07963,
    "h": 216.1
  },
  "luminance": 0.13491
}

Semantic roles & 50–950 ramp

primary
#1F7082
secondary
#B55C48
accent
#6143E5
background
#F6F9FA
surface
#ECF2F4
border
#C7CCCE
text
#080E0F
muted
#7A7E7F

Preview Lab

Preview with #1F7082

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

Preview Lab → · Contrast checker → · Palette generator →

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