#1F6D8D#1F6D8D

#1F6D8D is a mid, moderate cyan. Relative luminance 0.132; OKLCH L 50.3% C 0.089 H 230.2°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#1F6D8D
RGBrgb(31, 109, 141)
HSLhsl(197, 64%, 34%)
HSVhsv(197, 78%, 55%)
CMYKcmyk(78%, 22.7%, 0%, 44.7%)
CIE-LABlab(42.99, -11.79, -24.19)
CIE-LCHlch(42.99, 26.92, 244.02°)
OKLaboklab(50.34% -0.0567 -0.068)
OKLCHoklch(50.34% 0.089 230.2)
XYZxyz(10.8395, 13.1504, 27.1611)
Luminance0.1315 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F6D8D #8D3F1F
analogous
#1F8D76 #1F6D8D #1F368D
triadic
#1F6D8D #8D1F6D #6D8D1F
tetradic
#1F6D8D #761F8D #8D3F1F #368D1F
square
#1F6D8D #761F8D #8D3F1F #368D1F
split-complementary
#1F6D8D #8D1F36 #8D761F
monochromatic
#091F29 #14465B #1F6D8D #2A94BF #4EB0D8

Accessibility & contrast

On white

5.78
#1F6D8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#1F6D8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F6D8D
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F6D8D#FFFFFF#000000##FFFFFF
##1F6D8D1.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D6B8F
Deuteranopia (green-blind)
#4E618D
Tritanopia (blue-blind)
#007678
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #1f6d8d;
/* rgb */ color: rgb(31, 109, 141);
/* oklch */ color: oklch(50.3% 0.089 230.2);
Tailwind
colors: {
  custom: {
    50: '#6c96ae',
    500: '#1f6d8d',
    950: '#000000',
  },
}
SCSS
$custom: #1f6d8d;
$custom-light: #6c96ae;
$custom-dark: #000000;
JSON
{
  "hex": "#1f6d8d",
  "rgb": {
    "r": 31,
    "g": 109,
    "b": 141
  },
  "hsl": {
    "h": 197.455,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.50343,
    "c": 0.08857,
    "h": 230.2
  },
  "luminance": 0.13152
}

Semantic roles & 50–950 ramp

primary
#1F6D8D
secondary
#BB6D4D
accent
#7141E7
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080D10
muted
#7B7E7F

Preview Lab

Preview with #1F6D8D

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

Preview Lab → · Contrast checker → · Palette generator →

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