#1F7188#1F7188

#1F7188 is a mid, moderate cyan. Relative luminance 0.139; OKLCH L 51.1% C 0.083 H 221.0°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#1F7188
RGBrgb(31, 113, 136)
HSLhsl(193, 63%, 33%)
HSVhsv(193, 77%, 53%)
CMYKcmyk(77.2%, 16.9%, 0%, 46.7%)
CIE-LABlab(44.06, -15.85, -19.56)
CIE-LCHlch(44.06, 25.18, 230.97°)
OKLaboklab(51.13% -0.0628 -0.0547)
OKLCHoklch(51.13% 0.083 221)
XYZxyz(10.9123, 13.8778, 25.3913)
Luminance0.1388 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7188 #88361F
analogous
#1F886A #1F7188 #1F3C88
triadic
#1F7188 #881F71 #71881F
tetradic
#1F7188 #6A1F88 #88361F #3C881F
square
#1F7188 #6A1F88 #88361F #3C881F
split-complementary
#1F7188 #881F3C #886A1F
monochromatic
#081E24 #144856 #1F7188 #2A9ABA #4BB8D6

Accessibility & contrast

On white

5.56
#1F7188 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#1F7188 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7188
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7188#FFFFFF#000000##FFFFFF
##1F71881.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#636E89
Deuteranopia (green-blind)
#556488
Tritanopia (blue-blind)
#007878
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #1f7188;
/* rgb */ color: rgb(31, 113, 136);
/* oklch */ color: oklch(51.1% 0.083 221.0);
Tailwind
colors: {
  custom: {
    50: '#6c9aaa',
    500: '#1f7188',
    950: '#000000',
  },
}
SCSS
$custom: #1f7188;
$custom-light: #6c9aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7188",
  "rgb": {
    "r": 31,
    "g": 113,
    "b": 136
  },
  "hsl": {
    "h": 193.143,
    "s": 62.874,
    "l": 32.745
  },
  "oklch": {
    "l": 0.51128,
    "c": 0.08331,
    "h": 221
  },
  "luminance": 0.13879
}

Semantic roles & 50–950 ramp

primary
#1F7188
secondary
#B9624A
accent
#6642E6
background
#F6F9FA
surface
#ECF2F4
border
#C7CCCE
text
#080E10
muted
#7A7E7F

Preview Lab

Preview with #1F7188

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

Preview Lab → · Contrast checker → · Palette generator →

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