#1F6797#1F6797

#1F6797 is a mid, moderate cyan. Relative luminance 0.122; OKLCH L 49.4% C 0.103 H 242.8°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#1F6797
RGBrgb(31, 103, 151)
HSLhsl(204, 66%, 36%)
HSVhsv(204, 79%, 59%)
CMYKcmyk(79.5%, 31.8%, 0%, 40.8%)
CIE-LABlab(41.57, -4.50, -32.39)
CIE-LCHlch(41.57, 32.70, 262.10°)
OKLaboklab(49.37% -0.0472 -0.0918)
OKLCHoklch(49.37% 0.103 242.8)
XYZxyz(10.9991, 12.2248, 31.0521)
Luminance0.1223 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F6797 #974F1F
analogous
#1F978B #1F6797 #1F2B97
triadic
#1F6797 #971F67 #67971F
tetradic
#1F6797 #8B1F97 #974F1F #2B971F
square
#1F6797 #8B1F97 #974F1F #2B971F
split-complementary
#1F6797 #971F2B #978B1F
monochromatic
#0A2231 #154464 #1F6797 #298ACA #54A6DC

Accessibility & contrast

On white

6.10
#1F6797 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#1F6797 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F6797
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F6797#FFFFFF#000000##FFFFFF
##1F67971.006.103.456.10
#FFFFFF6.101.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#516899
Deuteranopia (green-blind)
#405D96
Tritanopia (blue-blind)
#007378
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #1f6797;
/* rgb */ color: rgb(31, 103, 151);
/* oklch */ color: oklch(49.4% 0.103 242.8);
Tailwind
colors: {
  custom: {
    50: '#6e92b6',
    500: '#1f6797',
    950: '#000000',
  },
}
SCSS
$custom: #1f6797;
$custom-light: #6e92b6;
$custom-dark: #000000;
JSON
{
  "hex": "#1f6797",
  "rgb": {
    "r": 31,
    "g": 103,
    "b": 151
  },
  "hsl": {
    "h": 204,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.49373,
    "c": 0.10326,
    "h": 242.8
  },
  "luminance": 0.12226
}

Semantic roles & 50–950 ramp

primary
#1F6797
secondary
#BF7E52
accent
#833FE9
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#080C11
muted
#7B7D80

Preview Lab

Preview with #1F6797

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

Preview Lab → · Contrast checker → · Palette generator →

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