#1F7288#1F7288

#1F7288 is a mid, moderate cyan. Relative luminance 0.141; OKLCH L 51.4% C 0.083 H 219.8°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#1F7288
RGBrgb(31, 114, 136)
HSLhsl(193, 63%, 33%)
HSVhsv(193, 77%, 53%)
CMYKcmyk(77.2%, 16.2%, 0%, 46.7%)
CIE-LABlab(44.38, -16.41, -19.06)
CIE-LCHlch(44.38, 25.15, 229.27°)
OKLaboklab(51.39% -0.0639 -0.0533)
OKLCHoklch(51.39% 0.083 219.8)
XYZxyz(11.0245, 14.1022, 25.4287)
Luminance0.1410 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7288 #88351F
analogous
#1F8869 #1F7288 #1F3E88
triadic
#1F7288 #881F72 #72881F
tetradic
#1F7288 #691F88 #88351F #3E881F
square
#1F7288 #691F88 #88351F #3E881F
split-complementary
#1F7288 #881F3E #88691F
monochromatic
#081E24 #144856 #1F7288 #2A9CBA #4BB9D6

Accessibility & contrast

On white

5.50
#1F7288 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#1F7288 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7288
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7288#FFFFFF#000000##FFFFFF
##1F72881.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#646F89
Deuteranopia (green-blind)
#566488
Tritanopia (blue-blind)
#007979
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #1f7288;
/* rgb */ color: rgb(31, 114, 136);
/* oklch */ color: oklch(51.4% 0.083 219.8);
Tailwind
colors: {
  custom: {
    50: '#6c9aaa',
    500: '#1f7288',
    950: '#000000',
  },
}
SCSS
$custom: #1f7288;
$custom-light: #6c9aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7288",
  "rgb": {
    "r": 31,
    "g": 114,
    "b": 136
  },
  "hsl": {
    "h": 192.571,
    "s": 62.874,
    "l": 32.745
  },
  "oklch": {
    "l": 0.51386,
    "c": 0.08319,
    "h": 219.8
  },
  "luminance": 0.14104
}

Semantic roles & 50–950 ramp

primary
#1F7288
secondary
#B9614A
accent
#6442E6
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E10
muted
#7B7E7F

Preview Lab

Preview with #1F7288

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

Preview Lab → · Contrast checker → · Palette generator →

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