#1F7896#1F7896

#1F7896 is a mid, moderate cyan. Relative luminance 0.159; OKLCH L 53.6% C 0.092 H 225.7°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#1F7896
RGBrgb(31, 120, 150)
HSLhsl(195, 66%, 35%)
HSVhsv(195, 79%, 59%)
CMYKcmyk(79.3%, 20%, 0%, 41.2%)
CIE-LABlab(46.88, -14.83, -23.52)
CIE-LCHlch(46.88, 27.80, 237.76°)
OKLaboklab(53.58% -0.0644 -0.066)
OKLCHoklch(53.58% 0.092 225.7)
XYZxyz(12.7843, 15.9247, 31.2482)
Luminance0.1593 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7896 #963D1F
analogous
#1F9678 #1F7896 #1F3C96
triadic
#1F7896 #961F78 #78961F
tetradic
#1F7896 #781F96 #963D1F #3C961F
square
#1F7896 #781F96 #963D1F #3C961F
split-complementary
#1F7896 #961F3C #96781F
monochromatic
#0A2731 #154F63 #1F7896 #29A1C9 #54B9DC

Accessibility & contrast

On white

5.02
#1F7896 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#1F7896 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7896
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7896#FFFFFF#000000##FFFFFF
##1F78961.005.024.195.02
#FFFFFF5.021.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#687598
Deuteranopia (green-blind)
#586A96
Tritanopia (blue-blind)
#008182
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #1f7896;
/* rgb */ color: rgb(31, 120, 150);
/* oklch */ color: oklch(53.6% 0.092 225.7);
Tailwind
colors: {
  custom: {
    50: '#6f9fb5',
    500: '#1f7896',
    950: '#000000',
  },
}
SCSS
$custom: #1f7896;
$custom-light: #6f9fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7896",
  "rgb": {
    "r": 31,
    "g": 120,
    "b": 150
  },
  "hsl": {
    "h": 195.126,
    "s": 65.746,
    "l": 35.49
  },
  "oklch": {
    "l": 0.53581,
    "c": 0.09218,
    "h": 225.7
  },
  "luminance": 0.15926
}

Semantic roles & 50–950 ramp

primary
#1F7896
secondary
#BF6D52
accent
#6A3FE9
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#080E11
muted
#7B7E80

Preview Lab

Preview with #1F7896

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

Preview Lab → · Contrast checker → · Palette generator →

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