#1F768F#1F768F

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

Color values

HEX#1F768F
RGBrgb(31, 118, 143)
HSLhsl(193, 64%, 34%)
HSVhsv(193, 78%, 56%)
CMYKcmyk(78.3%, 17.5%, 0%, 43.9%)
CIE-LABlab(45.95, -16.19, -20.81)
CIE-LCHlch(45.95, 26.37, 232.13°)
OKLaboklab(52.74% -0.0651 -0.0583)
OKLCHoklch(52.74% 0.087 221.8)
XYZxyz(11.9994, 15.2299, 28.2885)
Luminance0.1523 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F768F #8F381F
analogous
#1F8F70 #1F768F #1F3E8F
triadic
#1F768F #8F1F76 #768F1F
tetradic
#1F768F #701F8F #8F381F #3E8F1F
square
#1F768F #701F8F #8F381F #3E8F1F
split-complementary
#1F768F #8F1F3E #8F701F
monochromatic
#09232A #144C5D #1F768F #2AA0C1 #4FBAD9

Accessibility & contrast

On white

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

On black

4.05
#1F768F on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##1F768F#FFFFFF#000000##FFFFFF
##1F768F1.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#677390
Deuteranopia (green-blind)
#58688F
Tritanopia (blue-blind)
#007E7E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #1f768f;
/* rgb */ color: rgb(31, 118, 143);
/* oklch */ color: oklch(52.7% 0.087 221.8);
Tailwind
colors: {
  custom: {
    50: '#6d9daf',
    500: '#1f768f',
    950: '#000000',
  },
}
SCSS
$custom: #1f768f;
$custom-light: #6d9daf;
$custom-dark: #000000;
JSON
{
  "hex": "#1f768f",
  "rgb": {
    "r": 31,
    "g": 118,
    "b": 143
  },
  "hsl": {
    "h": 193.393,
    "s": 64.368,
    "l": 34.118
  },
  "oklch": {
    "l": 0.52741,
    "c": 0.08739,
    "h": 221.8
  },
  "luminance": 0.15231
}

Semantic roles & 50–950 ramp

primary
#1F768F
secondary
#BC664E
accent
#6640E7
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E10
muted
#7B7E7F

Preview Lab

Preview with #1F768F

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

Preview Lab → · Contrast checker → · Palette generator →

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