#1F708E#1F708E

#1F708E is a mid, moderate cyan. Relative luminance 0.138; OKLCH L 51.2% C 0.088 H 227.7°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#1F708E
RGBrgb(31, 112, 142)
HSLhsl(196, 64%, 34%)
HSVhsv(196, 78%, 56%)
CMYKcmyk(78.2%, 21.1%, 0%, 44.3%)
CIE-LABlab(43.99, -13.16, -23.24)
CIE-LCHlch(43.99, 26.71, 240.48°)
OKLaboklab(51.16% -0.0594 -0.0653)
OKLCHoklch(51.16% 0.088 227.7)
XYZxyz(11.2397, 13.8313, 27.6633)
Luminance0.1383 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F708E #8E3D1F
analogous
#1F8E75 #1F708E #1F398E
triadic
#1F708E #8E1F70 #708E1F
tetradic
#1F708E #751F8E #8E3D1F #398E1F
square
#1F708E #751F8E #8E3D1F #398E1F
split-complementary
#1F708E #8E1F39 #8E751F
monochromatic
#09212A #14485C #1F708E #2A98C0 #4FB3D9

Accessibility & contrast

On white

5.58
#1F708E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#1F708E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F708E
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F708E#FFFFFF#000000##FFFFFF
##1F708E1.005.583.775.58
#FFFFFF5.581.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#606E8F
Deuteranopia (green-blind)
#51638E
Tritanopia (blue-blind)
#00797A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #1f708e;
/* rgb */ color: rgb(31, 112, 142);
/* oklch */ color: oklch(51.2% 0.088 227.7);
Tailwind
colors: {
  custom: {
    50: '#6d99af',
    500: '#1f708e',
    950: '#000000',
  },
}
SCSS
$custom: #1f708e;
$custom-light: #6d99af;
$custom-dark: #000000;
JSON
{
  "hex": "#1f708e",
  "rgb": {
    "r": 31,
    "g": 112,
    "b": 142
  },
  "hsl": {
    "h": 196.216,
    "s": 64.162,
    "l": 33.922
  },
  "oklch": {
    "l": 0.51158,
    "c": 0.08824,
    "h": 227.7
  },
  "luminance": 0.13833
}

Semantic roles & 50–950 ramp

primary
#1F708E
secondary
#BB6B4D
accent
#6E41E7
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080D10
muted
#7B7E7F

Preview Lab

Preview with #1F708E

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

Preview Lab → · Contrast checker → · Palette generator →

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