#1F7387#1F7387

#1F7387 is a mid, moderate cyan. Relative luminance 0.143; OKLCH L 51.6% C 0.083 H 217.6°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#1F7387
RGBrgb(31, 115, 135)
HSLhsl(192, 63%, 33%)
HSVhsv(192, 77%, 53%)
CMYKcmyk(77%, 14.8%, 0%, 47.1%)
CIE-LABlab(44.66, -17.31, -18.03)
CIE-LCHlch(44.66, 25.00, 226.17°)
OKLaboklab(51.6% -0.0653 -0.0504)
OKLCHoklch(51.6% 0.083 217.6)
XYZxyz(11.0671, 14.3007, 25.0940)
Luminance0.1430 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7387 #87331F
analogous
#1F8767 #1F7387 #1F3F87
triadic
#1F7387 #871F73 #73871F
tetradic
#1F7387 #671F87 #87331F #3F871F
square
#1F7387 #671F87 #87331F #3F871F
split-complementary
#1F7387 #871F3F #87671F
monochromatic
#081E23 #144955 #1F7387 #2A9DB9 #4BBBD6

Accessibility & contrast

On white

5.44
#1F7387 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#1F7387 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7387
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7387#FFFFFF#000000##FFFFFF
##1F73871.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#666F88
Deuteranopia (green-blind)
#586587
Tritanopia (blue-blind)
#007A79
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #1f7387;
/* rgb */ color: rgb(31, 115, 135);
/* oklch */ color: oklch(51.6% 0.083 217.6);
Tailwind
colors: {
  custom: {
    50: '#6c9baa',
    500: '#1f7387',
    950: '#000000',
  },
}
SCSS
$custom: #1f7387;
$custom-light: #6c9baa;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7387",
  "rgb": {
    "r": 31,
    "g": 115,
    "b": 135
  },
  "hsl": {
    "h": 191.538,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.516,
    "c": 0.0825,
    "h": 217.6
  },
  "luminance": 0.14302
}

Semantic roles & 50–950 ramp

primary
#1F7387
secondary
#B85F4A
accent
#6242E6
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E10
muted
#7B7E7F

Preview Lab

Preview with #1F7387

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

Preview Lab → · Contrast checker → · Palette generator →

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