#1F7599#1F7599

#1F7599 is a mid, moderate cyan. Relative luminance 0.153; OKLCH L 53.0% C 0.096 H 231.1°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#1F7599
RGBrgb(31, 117, 153)
HSLhsl(198, 66%, 36%)
HSVhsv(198, 80%, 60%)
CMYKcmyk(79.7%, 23.5%, 0%, 40%)
CIE-LABlab(46.06, -12.05, -26.55)
CIE-LCHlch(46.06, 29.16, 245.58°)
OKLaboklab(52.97% -0.0602 -0.0747)
OKLCHoklch(52.97% 0.096 231.1)
XYZxyz(12.6738, 15.3122, 32.4184)
Luminance0.1531 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7599 #99431F
analogous
#1F9980 #1F7599 #1F3899
triadic
#1F7599 #991F75 #75991F
tetradic
#1F7599 #801F99 #99431F #38991F
square
#1F7599 #801F99 #99431F #38991F
split-complementary
#1F7599 #991F38 #99801F
monochromatic
#0A2733 #154E66 #1F7599 #299CCC #56B5DD

Accessibility & contrast

On white

5.17
#1F7599 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#1F7599 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7599
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7599#FFFFFF#000000##FFFFFF
##1F75991.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#63749B
Deuteranopia (green-blind)
#536898
Tritanopia (blue-blind)
#007F81
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #1f7599;
/* rgb */ color: rgb(31, 117, 153);
/* oklch */ color: oklch(53.0% 0.096 231.1);
Tailwind
colors: {
  custom: {
    50: '#6f9cb7',
    500: '#1f7599',
    950: '#000000',
  },
}
SCSS
$custom: #1f7599;
$custom-light: #6f9cb7;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7599",
  "rgb": {
    "r": 31,
    "g": 117,
    "b": 153
  },
  "hsl": {
    "h": 197.705,
    "s": 66.304,
    "l": 36.078
  },
  "oklch": {
    "l": 0.52971,
    "c": 0.09599,
    "h": 231.1
  },
  "luminance": 0.15314
}

Semantic roles & 50–950 ramp

primary
#1F7599
secondary
#C07454
accent
#713FE9
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#080E11
muted
#7B7E80

Preview Lab

Preview with #1F7599

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

Preview Lab → · Contrast checker → · Palette generator →

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