#1F6B8A#1F6B8A

#1F6B8A is a mid, moderate cyan. Relative luminance 0.126; OKLCH L 49.7% C 0.087 H 229.9°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#1F6B8A
RGBrgb(31, 107, 138)
HSLhsl(197, 63%, 33%)
HSVhsv(197, 78%, 54%)
CMYKcmyk(77.5%, 22.5%, 0%, 45.9%)
CIE-LABlab(42.22, -11.72, -23.60)
CIE-LCHlch(42.22, 26.35, 243.59°)
OKLaboklab(49.68% -0.0558 -0.0663)
OKLCHoklch(49.68% 0.087 229.9)
XYZxyz(10.4084, 12.6404, 25.9311)
Luminance0.1264 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F6B8A #8A3E1F
analogous
#1F8A73 #1F6B8A #1F358A
triadic
#1F6B8A #8A1F6B #6B8A1F
tetradic
#1F6B8A #731F8A #8A3E1F #358A1F
square
#1F6B8A #731F8A #8A3E1F #358A1F
split-complementary
#1F6B8A #8A1F35 #8A731F
monochromatic
#091E26 #144458 #1F6B8A #2A92BC #4CAFD7

Accessibility & contrast

On white

5.95
#1F6B8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#1F6B8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F6B8A
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F6B8A#FFFFFF#000000##FFFFFF
##1F6B8A1.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B698C
Deuteranopia (green-blind)
#4D5F8A
Tritanopia (blue-blind)
#007475
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #1f6b8a;
/* rgb */ color: rgb(31, 107, 138);
/* oklch */ color: oklch(49.7% 0.087 229.9);
Tailwind
colors: {
  custom: {
    50: '#6c95ac',
    500: '#1f6b8a',
    950: '#000000',
  },
}
SCSS
$custom: #1f6b8a;
$custom-light: #6c95ac;
$custom-dark: #000000;
JSON
{
  "hex": "#1f6b8a",
  "rgb": {
    "r": 31,
    "g": 107,
    "b": 138
  },
  "hsl": {
    "h": 197.383,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.49682,
    "c": 0.08668,
    "h": 229.9
  },
  "luminance": 0.12642
}

Semantic roles & 50–950 ramp

primary
#1F6B8A
secondary
#BA6B4B
accent
#7141E6
background
#F6F9FA
surface
#ECF1F4
border
#C7CBCE
text
#080D10
muted
#7A7E7F

Preview Lab

Preview with #1F6B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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