#1F6F8B#1F6F8B

#1F6F8B is a mid, moderate cyan. Relative luminance 0.135; OKLCH L 50.8% C 0.086 H 226.2°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#1F6F8B
RGBrgb(31, 111, 139)
HSLhsl(196, 64%, 33%)
HSVhsv(196, 78%, 55%)
CMYKcmyk(77.7%, 20.1%, 0%, 45.5%)
CIE-LABlab(43.54, -13.66, -22.14)
CIE-LCHlch(43.54, 26.02, 238.33°)
OKLaboklab(50.76% -0.0595 -0.0621)
OKLCHoklch(50.76% 0.086 226.2)
XYZxyz(10.9078, 13.5230, 26.4564)
Luminance0.1352 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F6F8B #8B3B1F
analogous
#1F8B71 #1F6F8B #1F398B
triadic
#1F6F8B #8B1F6F #6F8B1F
tetradic
#1F6F8B #711F8B #8B3B1F #398B1F
square
#1F6F8B #711F8B #8B3B1F #398B1F
split-complementary
#1F6F8B #8B1F39 #8B711F
monochromatic
#091F27 #144759 #1F6F8B #2A97BD #4DB3D7

Accessibility & contrast

On white

5.67
#1F6F8B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #1F6F8B
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F6F8B#FFFFFF#000000##FFFFFF
##1F6F8B1.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#606D8C
Deuteranopia (green-blind)
#51628B
Tritanopia (blue-blind)
#007778
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #1f6f8b;
/* rgb */ color: rgb(31, 111, 139);
/* oklch */ color: oklch(50.8% 0.086 226.2);
Tailwind
colors: {
  custom: {
    50: '#6c98ad',
    500: '#1f6f8b',
    950: '#000000',
  },
}
SCSS
$custom: #1f6f8b;
$custom-light: #6c98ad;
$custom-dark: #000000;
JSON
{
  "hex": "#1f6f8b",
  "rgb": {
    "r": 31,
    "g": 111,
    "b": 139
  },
  "hsl": {
    "h": 195.556,
    "s": 63.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.50755,
    "c": 0.08605,
    "h": 226.2
  },
  "luminance": 0.13524
}

Semantic roles & 50–950 ramp

primary
#1F6F8B
secondary
#BA684C
accent
#6C41E7
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080D10
muted
#7B7E7F

Preview Lab

Preview with #1F6F8B

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

Preview Lab → · Contrast checker → · Palette generator →

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