#1F768B#1F768B

#1F768B is a mid, moderate cyan. Relative luminance 0.151; OKLCH L 52.6% C 0.085 H 218.0°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#1F768B
RGBrgb(31, 118, 139)
HSLhsl(192, 64%, 33%)
HSVhsv(192, 78%, 55%)
CMYKcmyk(77.7%, 15.1%, 0%, 45.5%)
CIE-LABlab(45.79, -17.58, -18.69)
CIE-LCHlch(45.79, 25.66, 226.75°)
OKLaboklab(52.56% -0.0668 -0.0522)
OKLCHoklch(52.56% 0.085 218)
XYZxyz(11.7017, 15.1108, 26.7210)
Luminance0.1511 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F768B #8B341F
analogous
#1F8B6A #1F768B #1F408B
triadic
#1F768B #8B1F76 #768B1F
tetradic
#1F768B #6A1F8B #8B341F #408B1F
square
#1F768B #6A1F8B #8B341F #408B1F
split-complementary
#1F768B #8B1F40 #8B6A1F
monochromatic
#092127 #144C59 #1F768B #2AA0BD #4DBCD7

Accessibility & contrast

On white

5.22
#1F768B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#1F768B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F768B
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F768B#FFFFFF#000000##FFFFFF
##1F768B1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#69728C
Deuteranopia (green-blind)
#5A688B
Tritanopia (blue-blind)
#007D7D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #1f768b;
/* rgb */ color: rgb(31, 118, 139);
/* oklch */ color: oklch(52.6% 0.085 218.0);
Tailwind
colors: {
  custom: {
    50: '#6d9dad',
    500: '#1f768b',
    950: '#000000',
  },
}
SCSS
$custom: #1f768b;
$custom-light: #6d9dad;
$custom-dark: #000000;
JSON
{
  "hex": "#1f768b",
  "rgb": {
    "r": 31,
    "g": 118,
    "b": 139
  },
  "hsl": {
    "h": 191.667,
    "s": 63.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.52557,
    "c": 0.08477,
    "h": 218
  },
  "luminance": 0.15112
}

Semantic roles & 50–950 ramp

primary
#1F768B
secondary
#BA614C
accent
#6141E7
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E10
muted
#7B7E7F

Preview Lab

Preview with #1F768B

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

Preview Lab → · Contrast checker → · Palette generator →

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