#1F6C8B#1F6C8B

#1F6C8B is a mid, moderate cyan. Relative luminance 0.129; OKLCH L 50.0% C 0.087 H 229.6°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#1F6C8B
RGBrgb(31, 108, 139)
HSLhsl(197, 64%, 33%)
HSVhsv(197, 78%, 55%)
CMYKcmyk(77.7%, 22.3%, 0%, 45.5%)
CIE-LABlab(42.58, -11.94, -23.63)
CIE-LCHlch(42.58, 26.48, 243.20°)
OKLaboklab(49.99% -0.0565 -0.0664)
OKLCHoklch(49.99% 0.087 229.6)
XYZxyz(10.5859, 12.8792, 26.3491)
Luminance0.1288 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F6C8B #8B3E1F
analogous
#1F8B74 #1F6C8B #1F368B
triadic
#1F6C8B #8B1F6C #6C8B1F
tetradic
#1F6C8B #741F8B #8B3E1F #368B1F
square
#1F6C8B #741F8B #8B3E1F #368B1F
split-complementary
#1F6C8B #8B1F36 #8B741F
monochromatic
#091E27 #144559 #1F6C8B #2A93BD #4DB0D7

Accessibility & contrast

On white

5.87
#1F6C8B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#1F6C8B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F6C8B
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F6C8B#FFFFFF#000000##FFFFFF
##1F6C8B1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C6A8D
Deuteranopia (green-blind)
#4E608B
Tritanopia (blue-blind)
#007576
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #1f6c8b;
/* rgb */ color: rgb(31, 108, 139);
/* oklch */ color: oklch(50.0% 0.087 229.6);
Tailwind
colors: {
  custom: {
    50: '#6c96ad',
    500: '#1f6c8b',
    950: '#000000',
  },
}
SCSS
$custom: #1f6c8b;
$custom-light: #6c96ad;
$custom-dark: #000000;
JSON
{
  "hex": "#1f6c8b",
  "rgb": {
    "r": 31,
    "g": 108,
    "b": 139
  },
  "hsl": {
    "h": 197.222,
    "s": 63.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.49987,
    "c": 0.08717,
    "h": 229.6
  },
  "luminance": 0.12881
}

Semantic roles & 50–950 ramp

primary
#1F6C8B
secondary
#BA6B4C
accent
#7141E7
background
#F7F9FA
surface
#EDF1F4
border
#C8CBCE
text
#080D10
muted
#7B7E7F

Preview Lab

Preview with #1F6C8B

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

Preview Lab → · Contrast checker → · Palette generator →

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