#1F6A97#1F6A97

#1F6A97 is a mid, moderate cyan. Relative luminance 0.128; OKLCH L 50.1% C 0.101 H 240.2°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#1F6A97
RGBrgb(31, 106, 151)
HSLhsl(203, 66%, 36%)
HSVhsv(203, 79%, 59%)
CMYKcmyk(79.5%, 29.8%, 0%, 40.8%)
CIE-LABlab(42.51, -6.32, -30.91)
CIE-LCHlch(42.51, 31.55, 258.45°)
OKLaboklab(50.12% -0.0501 -0.0875)
OKLCHoklch(50.12% 0.101 240.2)
XYZxyz(11.3028, 12.8324, 31.1533)
Luminance0.1283 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F6A97 #974C1F
analogous
#1F9788 #1F6A97 #1F2E97
triadic
#1F6A97 #971F6A #6A971F
tetradic
#1F6A97 #881F97 #974C1F #2E971F
square
#1F6A97 #881F97 #974C1F #2E971F
split-complementary
#1F6A97 #971F2E #97881F
monochromatic
#0A2331 #154664 #1F6A97 #298ECA #54A9DC

Accessibility & contrast

On white

5.89
#1F6A97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#1F6A97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F6A97
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F6A97#FFFFFF#000000##FFFFFF
##1F6A971.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#556B99
Deuteranopia (green-blind)
#445F96
Tritanopia (blue-blind)
#00757A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #1f6a97;
/* rgb */ color: rgb(31, 106, 151);
/* oklch */ color: oklch(50.1% 0.101 240.2);
Tailwind
colors: {
  custom: {
    50: '#6e94b6',
    500: '#1f6a97',
    950: '#000000',
  },
}
SCSS
$custom: #1f6a97;
$custom-light: #6e94b6;
$custom-dark: #000000;
JSON
{
  "hex": "#1f6a97",
  "rgb": {
    "r": 31,
    "g": 106,
    "b": 151
  },
  "hsl": {
    "h": 202.5,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.50116,
    "c": 0.10085,
    "h": 240.2
  },
  "luminance": 0.12834
}

Semantic roles & 50–950 ramp

primary
#1F6A97
secondary
#BF7B52
accent
#7F3FE9
background
#F7F9FB
surface
#EDF1F6
border
#C8CBD0
text
#080D11
muted
#7B7E80

Preview Lab

Preview with #1F6A97

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

Preview Lab → · Contrast checker → · Palette generator →

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