#1F7597#1F7597

#1F7597 is a mid, moderate cyan. Relative luminance 0.152; OKLCH L 52.9% C 0.094 H 229.6°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#1F7597
RGBrgb(31, 117, 151)
HSLhsl(197, 66%, 36%)
HSVhsv(197, 79%, 59%)
CMYKcmyk(79.5%, 22.5%, 0%, 40.8%)
CIE-LABlab(45.97, -12.78, -25.51)
CIE-LCHlch(45.97, 28.53, 243.40°)
OKLaboklab(52.87% -0.061 -0.0717)
OKLCHoklch(52.87% 0.094 229.6)
XYZxyz(12.5100, 15.2467, 31.5557)
Luminance0.1525 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7597 #97411F
analogous
#1F977D #1F7597 #1F3997
triadic
#1F7597 #971F75 #75971F
tetradic
#1F7597 #7D1F97 #97411F #39971F
square
#1F7597 #7D1F97 #97411F #39971F
split-complementary
#1F7597 #971F39 #977D1F
monochromatic
#0A2631 #154E64 #1F7597 #299CCA #54B6DC

Accessibility & contrast

On white

5.19
#1F7597 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#1F7597 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7597
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7597#FFFFFF#000000##FFFFFF
##1F75971.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#637399
Deuteranopia (green-blind)
#546897
Tritanopia (blue-blind)
#007E80
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #1f7597;
/* rgb */ color: rgb(31, 117, 151);
/* oklch */ color: oklch(52.9% 0.094 229.6);
Tailwind
colors: {
  custom: {
    50: '#6f9cb5',
    500: '#1f7597',
    950: '#000000',
  },
}
SCSS
$custom: #1f7597;
$custom-light: #6f9cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7597",
  "rgb": {
    "r": 31,
    "g": 117,
    "b": 151
  },
  "hsl": {
    "h": 197,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.52871,
    "c": 0.09415,
    "h": 229.6
  },
  "luminance": 0.15248
}

Semantic roles & 50–950 ramp

primary
#1F7597
secondary
#BF7152
accent
#6F3FE9
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#080E11
muted
#7B7E80

Preview Lab

Preview with #1F7597

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

Preview Lab → · Contrast checker → · Palette generator →

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