#1F6E8A#1F6E8A

#1F6E8A is a mid, moderate cyan. Relative luminance 0.133; OKLCH L 50.4% C 0.086 H 226.5°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#1F6E8A
RGBrgb(31, 110, 138)
HSLhsl(196, 63%, 33%)
HSVhsv(196, 78%, 54%)
CMYKcmyk(77.5%, 20.3%, 0%, 45.9%)
CIE-LABlab(43.18, -13.45, -22.11)
CIE-LCHlch(43.18, 25.88, 238.69°)
OKLaboklab(50.45% -0.0589 -0.062)
OKLCHoklch(50.45% 0.086 226.5)
XYZxyz(10.7266, 13.2769, 26.0372)
Luminance0.1328 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F6E8A #8A3B1F
analogous
#1F8A70 #1F6E8A #1F388A
triadic
#1F6E8A #8A1F6E #6E8A1F
tetradic
#1F6E8A #701F8A #8A3B1F #388A1F
square
#1F6E8A #701F8A #8A3B1F #388A1F
split-complementary
#1F6E8A #8A1F38 #8A701F
monochromatic
#091E26 #144658 #1F6E8A #2A96BC #4CB3D7

Accessibility & contrast

On white

5.74
#1F6E8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#1F6E8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F6E8A
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F6E8A#FFFFFF#000000##FFFFFF
##1F6E8A1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F6C8B
Deuteranopia (green-blind)
#51618A
Tritanopia (blue-blind)
#007677
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #1f6e8a;
/* rgb */ color: rgb(31, 110, 138);
/* oklch */ color: oklch(50.4% 0.086 226.5);
Tailwind
colors: {
  custom: {
    50: '#6c97ac',
    500: '#1f6e8a',
    950: '#000000',
  },
}
SCSS
$custom: #1f6e8a;
$custom-light: #6c97ac;
$custom-dark: #000000;
JSON
{
  "hex": "#1f6e8a",
  "rgb": {
    "r": 31,
    "g": 110,
    "b": 138
  },
  "hsl": {
    "h": 195.701,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.5045,
    "c": 0.08554,
    "h": 226.5
  },
  "luminance": 0.13278
}

Semantic roles & 50–950 ramp

primary
#1F6E8A
secondary
#BA684B
accent
#6D41E6
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080D10
muted
#7B7E7F

Preview Lab

Preview with #1F6E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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