#1F6978#1F6978

#1F6978 is a mid, moderate cyan. Relative luminance 0.118; OKLCH L 48.3% C 0.074 H 214.2°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#1F6978
RGBrgb(31, 105, 120)
HSLhsl(190, 59%, 30%)
HSVhsv(190, 74%, 47%)
CMYKcmyk(74.2%, 12.5%, 0%, 52.9%)
CIE-LABlab(40.82, -16.95, -14.89)
CIE-LCHlch(40.82, 22.56, 221.30°)
OKLaboklab(48.31% -0.0611 -0.0415)
OKLCHoklch(48.31% 0.074 214.2)
XYZxyz(9.0054, 11.7495, 19.5589)
Luminance0.1175 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F6978 #782E1F
analogous
#1F785A #1F6978 #1F3D78
triadic
#1F6978 #781F69 #69781F
tetradic
#1F6978 #5A1F78 #782E1F #3D781F
square
#1F6978 #5A1F78 #782E1F #3D781F
split-complementary
#1F6978 #781F3D #785A1F
monochromatic
#061518 #123E47 #1F6978 #2C94A9 #43B7CE

Accessibility & contrast

On white

6.27
#1F6978 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#1F6978 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F6978
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F6978#FFFFFF#000000##FFFFFF
##1F69781.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E6579
Deuteranopia (green-blind)
#525C78
Tritanopia (blue-blind)
#006F6E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #1f6978;
/* rgb */ color: rgb(31, 105, 120);
/* oklch */ color: oklch(48.3% 0.074 214.2);
Tailwind
colors: {
  custom: {
    50: '#69949f',
    500: '#1f6978',
    950: '#000000',
  },
}
SCSS
$custom: #1f6978;
$custom-light: #69949f;
$custom-dark: #000000;
JSON
{
  "hex": "#1f6978",
  "rgb": {
    "r": 31,
    "g": 105,
    "b": 120
  },
  "hsl": {
    "h": 190.112,
    "s": 58.94,
    "l": 29.608
  },
  "oklch": {
    "l": 0.48309,
    "c": 0.07386,
    "h": 214.2
  },
  "luminance": 0.11751
}

Semantic roles & 50–950 ramp

primary
#1F6978
secondary
#AB5847
accent
#6046E2
background
#F6F9F9
surface
#ECF1F2
border
#C7CBCC
text
#070D0E
muted
#7A7E7E

Preview Lab

Preview with #1F6978

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

Preview Lab → · Contrast checker → · Palette generator →

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