#1F6D8A#1F6D8A

#1F6D8A is a mid, moderate cyan. Relative luminance 0.131; OKLCH L 50.2% C 0.086 H 227.6°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#1F6D8A
RGBrgb(31, 109, 138)
HSLhsl(196, 63%, 33%)
HSVhsv(196, 78%, 54%)
CMYKcmyk(77.5%, 21%, 0%, 45.9%)
CIE-LABlab(42.86, -12.88, -22.60)
CIE-LCHlch(42.86, 26.01, 240.33°)
OKLaboklab(50.19% -0.0579 -0.0635)
OKLCHoklch(50.19% 0.086 227.6)
XYZxyz(10.6193, 13.0623, 26.0014)
Luminance0.1306 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F6D8A #8A3C1F
analogous
#1F8A71 #1F6D8A #1F378A
triadic
#1F6D8A #8A1F6D #6D8A1F
tetradic
#1F6D8A #711F8A #8A3C1F #378A1F
square
#1F6D8A #711F8A #8A3C1F #378A1F
split-complementary
#1F6D8A #8A1F37 #8A711F
monochromatic
#091E26 #144658 #1F6D8A #2A94BC #4CB1D7

Accessibility & contrast

On white

5.81
#1F6D8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#1F6D8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F6D8A
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F6D8A#FFFFFF#000000##FFFFFF
##1F6D8A1.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f6d8a;
/* rgb */ color: rgb(31, 109, 138);
/* oklch */ color: oklch(50.2% 0.086 227.6);
Tailwind
colors: {
  custom: {
    50: '#6c96ac',
    500: '#1f6d8a',
    950: '#000000',
  },
}
SCSS
$custom: #1f6d8a;
$custom-light: #6c96ac;
$custom-dark: #000000;
JSON
{
  "hex": "#1f6d8a",
  "rgb": {
    "r": 31,
    "g": 109,
    "b": 138
  },
  "hsl": {
    "h": 196.262,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.50194,
    "c": 0.08588,
    "h": 227.6
  },
  "luminance": 0.13064
}

Semantic roles & 50–950 ramp

primary
#1F6D8A
secondary
#BA694B
accent
#6E41E6
background
#F6F9FA
surface
#ECF2F4
border
#C7CCCE
text
#080D10
muted
#7A7E7F

Preview Lab

Preview with #1F6D8A

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

Preview Lab → · Contrast checker → · Palette generator →

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