#1F6F8A#1F6F8A

#1F6F8A is a mid, moderate cyan. Relative luminance 0.135; OKLCH L 50.7% C 0.085 H 225.3°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#1F6F8A
RGBrgb(31, 111, 138)
HSLhsl(195, 63%, 33%)
HSVhsv(195, 78%, 54%)
CMYKcmyk(77.5%, 19.6%, 0%, 45.9%)
CIE-LABlab(43.50, -14.02, -21.61)
CIE-LCHlch(43.50, 25.76, 237.03°)
OKLaboklab(50.71% -0.0599 -0.0606)
OKLCHoklch(50.71% 0.085 225.3)
XYZxyz(10.8351, 13.4939, 26.0734)
Luminance0.1349 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F6F8A #8A3A1F
analogous
#1F8A6F #1F6F8A #1F398A
triadic
#1F6F8A #8A1F6F #6F8A1F
tetradic
#1F6F8A #6F1F8A #8A3A1F #398A1F
square
#1F6F8A #6F1F8A #8A3A1F #398A1F
split-complementary
#1F6F8A #8A1F39 #8A6F1F
monochromatic
#091F26 #144758 #1F6F8A #2A97BC #4CB4D7

Accessibility & contrast

On white

5.68
#1F6F8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#1F6F8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F6F8A
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F6F8A#FFFFFF#000000##FFFFFF
##1F6F8A1.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#606D8B
Deuteranopia (green-blind)
#52628A
Tritanopia (blue-blind)
#007778
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #1f6f8a;
/* rgb */ color: rgb(31, 111, 138);
/* oklch */ color: oklch(50.7% 0.085 225.3);
Tailwind
colors: {
  custom: {
    50: '#6c98ac',
    500: '#1f6f8a',
    950: '#000000',
  },
}
SCSS
$custom: #1f6f8a;
$custom-light: #6c98ac;
$custom-dark: #000000;
JSON
{
  "hex": "#1f6f8a",
  "rgb": {
    "r": 31,
    "g": 111,
    "b": 138
  },
  "hsl": {
    "h": 195.14,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.50707,
    "c": 0.08523,
    "h": 225.3
  },
  "luminance": 0.13495
}

Semantic roles & 50–950 ramp

primary
#1F6F8A
secondary
#BA674B
accent
#6B41E6
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080D10
muted
#7B7E7F

Preview Lab

Preview with #1F6F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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