#1F7598#1F7598

#1F7598 is a mid, moderate cyan. Relative luminance 0.153; OKLCH L 52.9% C 0.095 H 230.4°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#1F7598
RGBrgb(31, 117, 152)
HSLhsl(197, 66%, 36%)
HSVhsv(197, 80%, 60%)
CMYKcmyk(79.6%, 23%, 0%, 40.4%)
CIE-LABlab(46.01, -12.42, -26.03)
CIE-LCHlch(46.01, 28.84, 244.50°)
OKLaboklab(52.92% -0.0606 -0.0732)
OKLCHoklch(52.92% 0.095 230.4)
XYZxyz(12.5915, 15.2793, 31.9853)
Luminance0.1528 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7598 #98421F
analogous
#1F987E #1F7598 #1F3998
triadic
#1F7598 #981F75 #75981F
tetradic
#1F7598 #7E1F98 #98421F #39981F
square
#1F7598 #7E1F98 #98421F #39981F
split-complementary
#1F7598 #981F39 #987E1F
monochromatic
#0A2732 #154E65 #1F7598 #299CCB #55B5DC

Accessibility & contrast

On white

5.18
#1F7598 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #1F7598
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7598#FFFFFF#000000##FFFFFF
##1F75981.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#63739A
Deuteranopia (green-blind)
#536897
Tritanopia (blue-blind)
#007F81
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #1f7598;
/* rgb */ color: rgb(31, 117, 152);
/* oklch */ color: oklch(52.9% 0.095 230.4);
Tailwind
colors: {
  custom: {
    50: '#6f9cb6',
    500: '#1f7598',
    950: '#000000',
  },
}
SCSS
$custom: #1f7598;
$custom-light: #6f9cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7598",
  "rgb": {
    "r": 31,
    "g": 117,
    "b": 152
  },
  "hsl": {
    "h": 197.355,
    "s": 66.12,
    "l": 35.882
  },
  "oklch": {
    "l": 0.52921,
    "c": 0.09507,
    "h": 230.4
  },
  "luminance": 0.15281
}

Semantic roles & 50–950 ramp

primary
#1F7598
secondary
#C07253
accent
#703FE9
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#080E11
muted
#7B7E80

Preview Lab

Preview with #1F7598

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

Preview Lab → · Contrast checker → · Palette generator →

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