#1F768C#1F768C

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

Color values

HEX#1F768C
RGBrgb(31, 118, 140)
HSLhsl(192, 64%, 34%)
HSVhsv(192, 78%, 55%)
CMYKcmyk(77.9%, 15.7%, 0%, 45.1%)
CIE-LABlab(45.83, -17.23, -19.22)
CIE-LCHlch(45.83, 25.82, 228.12°)
OKLaboklab(52.6% -0.0664 -0.0537)
OKLCHoklch(52.6% 0.085 219)
XYZxyz(11.7751, 15.1402, 27.1076)
Luminance0.1514 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F768C #8C351F
analogous
#1F8C6B #1F768C #1F3F8C
triadic
#1F768C #8C1F76 #768C1F
tetradic
#1F768C #6B1F8C #8C351F #3F8C1F
square
#1F768C #6B1F8C #8C351F #3F8C1F
split-complementary
#1F768C #8C1F3F #8C6B1F
monochromatic
#092228 #144C5A #1F768C #2AA0BE #4EBCD8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F768C#FFFFFF#000000##FFFFFF
##1F768C1.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)
#68738D
Deuteranopia (green-blind)
#5A688C
Tritanopia (blue-blind)
#007D7D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #1f768c;
/* rgb */ color: rgb(31, 118, 140);
/* oklch */ color: oklch(52.6% 0.085 219.0);
Tailwind
colors: {
  custom: {
    50: '#6d9dad',
    500: '#1f768c',
    950: '#000000',
  },
}
SCSS
$custom: #1f768c;
$custom-light: #6d9dad;
$custom-dark: #000000;
JSON
{
  "hex": "#1f768c",
  "rgb": {
    "r": 31,
    "g": 118,
    "b": 140
  },
  "hsl": {
    "h": 192.11,
    "s": 63.743,
    "l": 33.529
  },
  "oklch": {
    "l": 0.52602,
    "c": 0.08538,
    "h": 219
  },
  "luminance": 0.15142
}

Semantic roles & 50–950 ramp

primary
#1F768C
secondary
#BB634C
accent
#6241E7
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E10
muted
#7B7E7F

Preview Lab

Preview with #1F768C

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

Preview Lab → · Contrast checker → · Palette generator →

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