#1F7793#1F7793

#1F7793 is a mid, moderate cyan. Relative luminance 0.156; OKLCH L 53.2% C 0.090 H 224.3°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#1F7793
RGBrgb(31, 119, 147)
HSLhsl(194, 65%, 35%)
HSVhsv(194, 79%, 58%)
CMYKcmyk(78.9%, 19%, 0%, 42.4%)
CIE-LABlab(46.43, -15.34, -22.43)
CIE-LCHlch(46.43, 27.17, 235.64°)
OKLaboklab(53.18% -0.0645 -0.0629)
OKLCHoklch(53.18% 0.09 224.3)
XYZxyz(12.4262, 15.5900, 29.9524)
Luminance0.1559 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7793 #933B1F
analogous
#1F9375 #1F7793 #1F3D93
triadic
#1F7793 #931F77 #77931F
tetradic
#1F7793 #751F93 #933B1F #3D931F
square
#1F7793 #751F93 #933B1F #3D931F
split-complementary
#1F7793 #931F3D #93751F
monochromatic
#0A252E #144E60 #1F7793 #2AA0C6 #52BADA

Accessibility & contrast

On white

5.10
#1F7793 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#1F7793 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7793
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7793#FFFFFF#000000##FFFFFF
##1F77931.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#677494
Deuteranopia (green-blind)
#586993
Tritanopia (blue-blind)
#007F80
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #1f7793;
/* rgb */ color: rgb(31, 119, 147);
/* oklch */ color: oklch(53.2% 0.090 224.3);
Tailwind
colors: {
  custom: {
    50: '#6e9eb2',
    500: '#1f7793',
    950: '#000000',
  },
}
SCSS
$custom: #1f7793;
$custom-light: #6e9eb2;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7793",
  "rgb": {
    "r": 31,
    "g": 119,
    "b": 147
  },
  "hsl": {
    "h": 194.483,
    "s": 65.169,
    "l": 34.902
  },
  "oklch": {
    "l": 0.53184,
    "c": 0.09011,
    "h": 224.3
  },
  "luminance": 0.15592
}

Semantic roles & 50–950 ramp

primary
#1F7793
secondary
#BE6B50
accent
#6840E8
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#080E11
muted
#7B7E80

Preview Lab

Preview with #1F7793

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

Preview Lab → · Contrast checker → · Palette generator →

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