#1F7596#1F7596

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

Color values

HEX#1F7596
RGBrgb(31, 117, 150)
HSLhsl(197, 66%, 35%)
HSVhsv(197, 79%, 59%)
CMYKcmyk(79.3%, 22%, 0%, 41.2%)
CIE-LABlab(45.93, -13.14, -24.99)
CIE-LCHlch(45.93, 28.23, 242.27°)
OKLaboklab(52.82% -0.0613 -0.0702)
OKLCHoklch(52.82% 0.093 228.9)
XYZxyz(12.4291, 15.2144, 31.1298)
Luminance0.1522 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7596 #96401F
analogous
#1F967C #1F7596 #1F3996
triadic
#1F7596 #961F75 #75961F
tetradic
#1F7596 #7C1F96 #96401F #39961F
square
#1F7596 #7C1F96 #96401F #39961F
split-complementary
#1F7596 #961F39 #967C1F
monochromatic
#0A2631 #154D63 #1F7596 #299DC9 #54B6DC

Accessibility & contrast

On white

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

On black

4.04
#1F7596 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##1F7596#FFFFFF#000000##FFFFFF
##1F75961.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f7596;
/* rgb */ color: rgb(31, 117, 150);
/* oklch */ color: oklch(52.8% 0.093 228.9);
Tailwind
colors: {
  custom: {
    50: '#6e9cb5',
    500: '#1f7596',
    950: '#000000',
  },
}
SCSS
$custom: #1f7596;
$custom-light: #6e9cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7596",
  "rgb": {
    "r": 31,
    "g": 117,
    "b": 150
  },
  "hsl": {
    "h": 196.639,
    "s": 65.746,
    "l": 35.49
  },
  "oklch": {
    "l": 0.52822,
    "c": 0.09326,
    "h": 228.9
  },
  "luminance": 0.15216
}

Semantic roles & 50–950 ramp

primary
#1F7596
secondary
#BF7052
accent
#6E3FE9
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#080E11
muted
#7B7E80

Preview Lab

Preview with #1F7596

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

Preview Lab → · Contrast checker → · Palette generator →

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