#1F7286#1F7286

#1F7286 is a mid, moderate cyan. Relative luminance 0.140; OKLCH L 51.3% C 0.082 H 217.8°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#1F7286
RGBrgb(31, 114, 134)
HSLhsl(192, 62%, 32%)
HSVhsv(192, 77%, 53%)
CMYKcmyk(76.9%, 14.9%, 0%, 47.5%)
CIE-LABlab(44.30, -17.11, -17.99)
CIE-LCHlch(44.30, 24.83, 226.44°)
OKLaboklab(51.3% -0.0647 -0.0502)
OKLCHoklch(51.3% 0.082 217.8)
XYZxyz(10.8836, 14.0459, 24.6871)
Luminance0.1405 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7286 #86331F
analogous
#1F8666 #1F7286 #1F3F86
triadic
#1F7286 #861F72 #72861F
tetradic
#1F7286 #661F86 #86331F #3F861F
square
#1F7286 #661F86 #86331F #3F861F
split-complementary
#1F7286 #861F3F #86661F
monochromatic
#081D23 #144854 #1F7286 #2A9CB8 #4ABAD5

Accessibility & contrast

On white

5.51
#1F7286 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #1F7286
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7286#FFFFFF#000000##FFFFFF
##1F72861.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#656F87
Deuteranopia (green-blind)
#576486
Tritanopia (blue-blind)
#007978
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #1f7286;
/* rgb */ color: rgb(31, 114, 134);
/* oklch */ color: oklch(51.3% 0.082 217.8);
Tailwind
colors: {
  custom: {
    50: '#6c9aa9',
    500: '#1f7286',
    950: '#000000',
  },
}
SCSS
$custom: #1f7286;
$custom-light: #6c9aa9;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7286",
  "rgb": {
    "r": 31,
    "g": 114,
    "b": 134
  },
  "hsl": {
    "h": 191.65,
    "s": 62.424,
    "l": 32.353
  },
  "oklch": {
    "l": 0.51295,
    "c": 0.08193,
    "h": 217.8
  },
  "luminance": 0.14047
}

Semantic roles & 50–950 ramp

primary
#1F7286
secondary
#B85F49
accent
#6242E5
background
#F6F9FA
surface
#ECF2F4
border
#C7CCCE
text
#080E0F
muted
#7A7E7F

Preview Lab

Preview with #1F7286

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

Preview Lab → · Contrast checker → · Palette generator →

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