#1F7287#1F7287

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

Color values

HEX#1F7287
RGBrgb(31, 114, 135)
HSLhsl(192, 63%, 33%)
HSVhsv(192, 77%, 53%)
CMYKcmyk(77%, 15.6%, 0%, 47.1%)
CIE-LABlab(44.34, -16.76, -18.53)
CIE-LCHlch(44.34, 24.98, 227.87°)
OKLaboklab(51.34% -0.0643 -0.0518)
OKLCHoklch(51.34% 0.083 218.8)
XYZxyz(10.9537, 14.0739, 25.0562)
Luminance0.1407 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7287 #87341F
analogous
#1F8768 #1F7287 #1F3E87
triadic
#1F7287 #871F72 #72871F
tetradic
#1F7287 #681F87 #87341F #3E871F
square
#1F7287 #681F87 #87341F #3E871F
split-complementary
#1F7287 #871F3E #87681F
monochromatic
#081E23 #144855 #1F7287 #2A9CB9 #4BBAD6

Accessibility & contrast

On white

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

On black

3.81
#1F7287 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##1F7287#FFFFFF#000000##FFFFFF
##1F72871.005.503.815.50
#FFFFFF5.501.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#656F88
Deuteranopia (green-blind)
#576487
Tritanopia (blue-blind)
#007979
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #1f7287;
/* rgb */ color: rgb(31, 114, 135);
/* oklch */ color: oklch(51.3% 0.083 218.8);
Tailwind
colors: {
  custom: {
    50: '#6c9aaa',
    500: '#1f7287',
    950: '#000000',
  },
}
SCSS
$custom: #1f7287;
$custom-light: #6c9aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7287",
  "rgb": {
    "r": 31,
    "g": 114,
    "b": 135
  },
  "hsl": {
    "h": 192.115,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.51341,
    "c": 0.08255,
    "h": 218.8
  },
  "luminance": 0.14075
}

Semantic roles & 50–950 ramp

primary
#1F7287
secondary
#B8604A
accent
#6342E6
background
#F6F9FA
surface
#ECF2F4
border
#C7CCCE
text
#080E10
muted
#7A7E7F

Preview Lab

Preview with #1F7287

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

Preview Lab → · Contrast checker → · Palette generator →

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