#1F6C8E#1F6C8E

#1F6C8E is a mid, moderate cyan. Relative luminance 0.130; OKLCH L 50.1% C 0.090 H 232.1°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#1F6C8E
RGBrgb(31, 108, 142)
HSLhsl(198, 64%, 34%)
HSVhsv(198, 78%, 56%)
CMYKcmyk(78.2%, 23.9%, 0%, 44.3%)
CIE-LABlab(42.72, -10.85, -25.22)
CIE-LCHlch(42.72, 27.45, 246.73°)
OKLaboklab(50.14% -0.0553 -0.071)
OKLCHoklch(50.14% 0.09 232.1)
XYZxyz(10.8081, 12.9681, 27.5194)
Luminance0.1297 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F6C8E #8E411F
analogous
#1F8E79 #1F6C8E #1F358E
triadic
#1F6C8E #8E1F6C #6C8E1F
tetradic
#1F6C8E #791F8E #8E411F #358E1F
square
#1F6C8E #791F8E #8E411F #358E1F
split-complementary
#1F6C8E #8E1F35 #8E791F
monochromatic
#09202A #14465C #1F6C8E #2A92C0 #4FAED9

Accessibility & contrast

On white

5.84
#1F6C8E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#1F6C8E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F6C8E
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F6C8E#FFFFFF#000000##FFFFFF
##1F6C8E1.005.843.595.84
#FFFFFF5.841.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B6B90
Deuteranopia (green-blind)
#4C608D
Tritanopia (blue-blind)
#007577
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #1f6c8e;
/* rgb */ color: rgb(31, 108, 142);
/* oklch */ color: oklch(50.1% 0.090 232.1);
Tailwind
colors: {
  custom: {
    50: '#6c96af',
    500: '#1f6c8e',
    950: '#000000',
  },
}
SCSS
$custom: #1f6c8e;
$custom-light: #6c96af;
$custom-dark: #000000;
JSON
{
  "hex": "#1f6c8e",
  "rgb": {
    "r": 31,
    "g": 108,
    "b": 142
  },
  "hsl": {
    "h": 198.378,
    "s": 64.162,
    "l": 33.922
  },
  "oklch": {
    "l": 0.50139,
    "c": 0.08999,
    "h": 232.1
  },
  "luminance": 0.12969
}

Semantic roles & 50–950 ramp

primary
#1F6C8E
secondary
#BB6F4D
accent
#7441E7
background
#F7F9FA
surface
#EDF1F4
border
#C8CBCE
text
#080D10
muted
#7B7E7F

Preview Lab

Preview with #1F6C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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