#1F6C8A#1F6C8A

#1F6C8A is a mid, moderate cyan. Relative luminance 0.129; OKLCH L 49.9% C 0.086 H 228.8°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#1F6C8A
RGBrgb(31, 108, 138)
HSLhsl(197, 63%, 33%)
HSVhsv(197, 78%, 54%)
CMYKcmyk(77.5%, 21.7%, 0%, 45.9%)
CIE-LABlab(42.54, -12.30, -23.10)
CIE-LCHlch(42.54, 26.17, 241.97°)
OKLaboklab(49.94% -0.0568 -0.0649)
OKLCHoklch(49.94% 0.086 228.8)
XYZxyz(10.5132, 12.8502, 25.9661)
Luminance0.1285 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F6C8A #8A3D1F
analogous
#1F8A72 #1F6C8A #1F378A
triadic
#1F6C8A #8A1F6C #6C8A1F
tetradic
#1F6C8A #721F8A #8A3D1F #378A1F
square
#1F6C8A #721F8A #8A3D1F #378A1F
split-complementary
#1F6C8A #8A1F37 #8A721F
monochromatic
#091E26 #144558 #1F6C8A #2A93BC #4CB0D7

Accessibility & contrast

On white

5.88
#1F6C8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#1F6C8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F6C8A
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F6C8A#FFFFFF#000000##FFFFFF
##1F6C8A1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C6A8B
Deuteranopia (green-blind)
#4E608A
Tritanopia (blue-blind)
#007476
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #1f6c8a;
/* rgb */ color: rgb(31, 108, 138);
/* oklch */ color: oklch(49.9% 0.086 228.8);
Tailwind
colors: {
  custom: {
    50: '#6c96ac',
    500: '#1f6c8a',
    950: '#000000',
  },
}
SCSS
$custom: #1f6c8a;
$custom-light: #6c96ac;
$custom-dark: #000000;
JSON
{
  "hex": "#1f6c8a",
  "rgb": {
    "r": 31,
    "g": 108,
    "b": 138
  },
  "hsl": {
    "h": 196.822,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.49938,
    "c": 0.08626,
    "h": 228.8
  },
  "luminance": 0.12851
}

Semantic roles & 50–950 ramp

primary
#1F6C8A
secondary
#BA6A4B
accent
#7041E6
background
#F6F9FA
surface
#ECF1F4
border
#C7CBCE
text
#080D10
muted
#7A7E7F

Preview Lab

Preview with #1F6C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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