#1F6F9D#1F6F9D

#1F6F9D is a mid, moderate cyan. Relative luminance 0.141; OKLCH L 51.7% C 0.104 H 239.3°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#1F6F9D
RGBrgb(31, 111, 157)
HSLhsl(202, 67%, 37%)
HSVhsv(202, 80%, 62%)
CMYKcmyk(80.3%, 29.3%, 0%, 38.4%)
CIE-LABlab(44.37, -7.07, -31.56)
CIE-LCHlch(44.37, 32.34, 257.38°)
OKLaboklab(51.69% -0.053 -0.0893)
OKLCHoklch(51.69% 0.104 239.3)
XYZxyz(12.3329, 14.0930, 33.9620)
Luminance0.1409 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F6F9D #9D4D1F
analogous
#1F9D8C #1F6F9D #1F309D
triadic
#1F6F9D #9D1F6F #6F9D1F
tetradic
#1F6F9D #8C1F9D #9D4D1F #309D1F
square
#1F6F9D #8C1F9D #9D4D1F #309D1F
split-complementary
#1F6F9D #9D1F30 #9D8C1F
monochromatic
#0B2737 #154B6A #1F6F9D #2993D0 #58ADDE

Accessibility & contrast

On white

5.50
#1F6F9D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#1F6F9D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F6F9D
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F6F9D#FFFFFF#000000##FFFFFF
##1F6F9D1.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#596F9F
Deuteranopia (green-blind)
#48649C
Tritanopia (blue-blind)
#007B7F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #1f6f9d;
/* rgb */ color: rgb(31, 111, 157);
/* oklch */ color: oklch(51.7% 0.104 239.3);
Tailwind
colors: {
  custom: {
    50: '#6f98ba',
    500: '#1f6f9d',
    950: '#000000',
  },
}
SCSS
$custom: #1f6f9d;
$custom-light: #6f98ba;
$custom-dark: #000000;
JSON
{
  "hex": "#1f6f9d",
  "rgb": {
    "r": 31,
    "g": 111,
    "b": 157
  },
  "hsl": {
    "h": 201.905,
    "s": 67.021,
    "l": 36.863
  },
  "oklch": {
    "l": 0.51685,
    "c": 0.10383,
    "h": 239.3
  },
  "luminance": 0.14095
}

Semantic roles & 50–950 ramp

primary
#1F6F9D
secondary
#C27D56
accent
#7D3EEA
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090D11
muted
#7B7E80

Preview Lab

Preview with #1F6F9D

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

Preview Lab → · Contrast checker → · Palette generator →

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