#1F678A#1F678A

#1F678A is a mid, moderate cyan. Relative luminance 0.118; OKLCH L 48.7% C 0.089 H 234.3°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#1F678A
RGBrgb(31, 103, 138)
HSLhsl(200, 63%, 33%)
HSVhsv(200, 78%, 54%)
CMYKcmyk(77.5%, 25.4%, 0%, 45.9%)
CIE-LABlab(40.94, -9.37, -25.59)
CIE-LCHlch(40.94, 27.25, 249.88°)
OKLaboklab(48.66% -0.0517 -0.0721)
OKLCHoklch(48.66% 0.089 234.3)
XYZxyz(10.0009, 11.8256, 25.7953)
Luminance0.1183 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F678A #8A421F
analogous
#1F8A77 #1F678A #1F318A
triadic
#1F678A #8A1F67 #678A1F
tetradic
#1F678A #771F8A #8A421F #318A1F
square
#1F678A #771F8A #8A421F #318A1F
split-complementary
#1F678A #8A1F31 #8A771F
monochromatic
#091C26 #144258 #1F678A #2A8CBC #4CAAD7

Accessibility & contrast

On white

6.24
#1F678A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#1F678A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F678A
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F678A#FFFFFF#000000##FFFFFF
##1F678A1.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#56668C
Deuteranopia (green-blind)
#475C89
Tritanopia (blue-blind)
#007073
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #1f678a;
/* rgb */ color: rgb(31, 103, 138);
/* oklch */ color: oklch(48.7% 0.089 234.3);
Tailwind
colors: {
  custom: {
    50: '#6b92ac',
    500: '#1f678a',
    950: '#000000',
  },
}
SCSS
$custom: #1f678a;
$custom-light: #6b92ac;
$custom-dark: #000000;
JSON
{
  "hex": "#1f678a",
  "rgb": {
    "r": 31,
    "g": 103,
    "b": 138
  },
  "hsl": {
    "h": 199.626,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.48662,
    "c": 0.08872,
    "h": 234.3
  },
  "luminance": 0.11827
}

Semantic roles & 50–950 ramp

primary
#1F678A
secondary
#BA6F4B
accent
#7741E6
background
#F6F8FA
surface
#ECF0F4
border
#C7CBCE
text
#080D10
muted
#7A7D7F

Preview Lab

Preview with #1F678A

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

Preview Lab → · Contrast checker → · Palette generator →

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