#1F6997#1F6997

#1F6997 is a mid, moderate cyan. Relative luminance 0.126; OKLCH L 49.9% C 0.102 H 241.1°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#1F6997
RGBrgb(31, 105, 151)
HSLhsl(203, 66%, 36%)
HSVhsv(203, 79%, 59%)
CMYKcmyk(79.5%, 30.5%, 0%, 40.8%)
CIE-LABlab(42.20, -5.71, -31.40)
CIE-LCHlch(42.20, 31.92, 259.69°)
OKLaboklab(49.87% -0.0492 -0.0889)
OKLCHoklch(49.87% 0.102 241.1)
XYZxyz(11.2004, 12.6275, 31.1192)
Luminance0.1263 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F6997 #974D1F
analogous
#1F9789 #1F6997 #1F2D97
triadic
#1F6997 #971F69 #69971F
tetradic
#1F6997 #891F97 #974D1F #2D971F
square
#1F6997 #891F97 #974D1F #2D971F
split-complementary
#1F6997 #971F2D #97891F
monochromatic
#0A2231 #154664 #1F6997 #298CCA #54A8DC

Accessibility & contrast

On white

5.96
#1F6997 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #1F6997
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F6997#FFFFFF#000000##FFFFFF
##1F69971.005.963.535.96
#FFFFFF5.961.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#536A99
Deuteranopia (green-blind)
#435F96
Tritanopia (blue-blind)
#007479
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #1f6997;
/* rgb */ color: rgb(31, 105, 151);
/* oklch */ color: oklch(49.9% 0.102 241.1);
Tailwind
colors: {
  custom: {
    50: '#6e93b6',
    500: '#1f6997',
    950: '#000000',
  },
}
SCSS
$custom: #1f6997;
$custom-light: #6e93b6;
$custom-dark: #000000;
JSON
{
  "hex": "#1f6997",
  "rgb": {
    "r": 31,
    "g": 105,
    "b": 151
  },
  "hsl": {
    "h": 203,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.49868,
    "c": 0.10163,
    "h": 241.1
  },
  "luminance": 0.12629
}

Semantic roles & 50–950 ramp

primary
#1F6997
secondary
#BF7C52
accent
#803FE9
background
#F7F9FB
surface
#EDF1F6
border
#C8CBD0
text
#080D11
muted
#7B7E80

Preview Lab

Preview with #1F6997

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

Preview Lab → · Contrast checker → · Palette generator →

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