#1F6F9C#1F6F9C

#1F6F9C is a mid, moderate cyan. Relative luminance 0.141; OKLCH L 51.6% C 0.103 H 238.8°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#1F6F9C
RGBrgb(31, 111, 156)
HSLhsl(202, 67%, 37%)
HSVhsv(202, 80%, 61%)
CMYKcmyk(80.1%, 28.8%, 0%, 38.8%)
CIE-LABlab(44.32, -7.44, -31.04)
CIE-LCHlch(44.32, 31.92, 256.52°)
OKLaboklab(51.63% -0.0533 -0.0878)
OKLCHoklch(51.63% 0.103 238.8)
XYZxyz(12.2479, 14.0590, 33.5142)
Luminance0.1406 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F6F9C #9C4C1F
analogous
#1F9C8B #1F6F9C #1F319C
triadic
#1F6F9C #9C1F6F #6F9C1F
tetradic
#1F6F9C #8B1F9C #9C4C1F #319C1F
square
#1F6F9C #8B1F9C #9C4C1F #319C1F
split-complementary
#1F6F9C #9C1F31 #9C8B1F
monochromatic
#0B2636 #154B69 #1F6F9C #2993CF #58ADDE

Accessibility & contrast

On white

5.51
#1F6F9C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#1F6F9C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F6F9C
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F6F9C#FFFFFF#000000##FFFFFF
##1F6F9C1.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A6F9E
Deuteranopia (green-blind)
#49649B
Tritanopia (blue-blind)
#007A7F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #1f6f9c;
/* rgb */ color: rgb(31, 111, 156);
/* oklch */ color: oklch(51.6% 0.103 238.8);
Tailwind
colors: {
  custom: {
    50: '#6f98b9',
    500: '#1f6f9c',
    950: '#000000',
  },
}
SCSS
$custom: #1f6f9c;
$custom-light: #6f98b9;
$custom-dark: #000000;
JSON
{
  "hex": "#1f6f9c",
  "rgb": {
    "r": 31,
    "g": 111,
    "b": 156
  },
  "hsl": {
    "h": 201.6,
    "s": 66.845,
    "l": 36.667
  },
  "oklch": {
    "l": 0.51631,
    "c": 0.10272,
    "h": 238.8
  },
  "luminance": 0.1406
}

Semantic roles & 50–950 ramp

primary
#1F6F9C
secondary
#C17C55
accent
#7C3EEA
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090D11
muted
#7B7E80

Preview Lab

Preview with #1F6F9C

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

Preview Lab → · Contrast checker → · Palette generator →

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