#1F768D#1F768D

#1F768D is a mid, moderate cyan. Relative luminance 0.152; OKLCH L 52.6% C 0.086 H 219.9°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#1F768D
RGBrgb(31, 118, 141)
HSLhsl(193, 64%, 34%)
HSVhsv(193, 78%, 55%)
CMYKcmyk(78%, 16.3%, 0%, 44.7%)
CIE-LABlab(45.87, -16.89, -19.75)
CIE-LCHlch(45.87, 25.99, 229.47°)
OKLaboklab(52.65% -0.0659 -0.0552)
OKLCHoklch(52.65% 0.086 219.9)
XYZxyz(11.8492, 15.1698, 27.4977)
Luminance0.1517 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F768D #8D361F
analogous
#1F8D6D #1F768D #1F3F8D
triadic
#1F768D #8D1F76 #768D1F
tetradic
#1F768D #6D1F8D #8D361F #3F8D1F
square
#1F768D #6D1F8D #8D361F #3F8D1F
split-complementary
#1F768D #8D1F3F #8D6D1F
monochromatic
#092229 #144C5B #1F768D #2AA0BF #4EBBD8

Accessibility & contrast

On white

5.21
#1F768D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#1F768D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F768D
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F768D#FFFFFF#000000##FFFFFF
##1F768D1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#68738E
Deuteranopia (green-blind)
#59688D
Tritanopia (blue-blind)
#007E7D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #1f768d;
/* rgb */ color: rgb(31, 118, 141);
/* oklch */ color: oklch(52.6% 0.086 219.9);
Tailwind
colors: {
  custom: {
    50: '#6d9dae',
    500: '#1f768d',
    950: '#000000',
  },
}
SCSS
$custom: #1f768d;
$custom-light: #6d9dae;
$custom-dark: #000000;
JSON
{
  "hex": "#1f768d",
  "rgb": {
    "r": 31,
    "g": 118,
    "b": 141
  },
  "hsl": {
    "h": 192.545,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.52648,
    "c": 0.08603,
    "h": 219.9
  },
  "luminance": 0.15171
}

Semantic roles & 50–950 ramp

primary
#1F768D
secondary
#BB644D
accent
#6441E7
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E10
muted
#7B7E7F

Preview Lab

Preview with #1F768D

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

Preview Lab → · Contrast checker → · Palette generator →

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