#1F768E#1F768E

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

Color values

HEX#1F768E
RGBrgb(31, 118, 142)
HSLhsl(193, 64%, 34%)
HSVhsv(193, 78%, 56%)
CMYKcmyk(78.2%, 16.9%, 0%, 44.3%)
CIE-LABlab(45.91, -16.54, -20.28)
CIE-LCHlch(45.91, 26.17, 230.81°)
OKLaboklab(52.69% -0.0655 -0.0567)
OKLCHoklch(52.69% 0.087 220.9)
XYZxyz(11.9239, 15.1997, 27.8913)
Luminance0.1520 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F768E #8E371F
analogous
#1F8E6F #1F768E #1F3F8E
triadic
#1F768E #8E1F76 #768E1F
tetradic
#1F768E #6F1F8E #8E371F #3F8E1F
square
#1F768E #6F1F8E #8E371F #3F8E1F
split-complementary
#1F768E #8E1F3F #8E6F1F
monochromatic
#09232A #144C5C #1F768E #2AA0C0 #4FBBD9

Accessibility & contrast

On white

5.20
#1F768E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#1F768E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F768E
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F768E#FFFFFF#000000##FFFFFF
##1F768E1.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f768e;
/* rgb */ color: rgb(31, 118, 142);
/* oklch */ color: oklch(52.7% 0.087 220.9);
Tailwind
colors: {
  custom: {
    50: '#6d9daf',
    500: '#1f768e',
    950: '#000000',
  },
}
SCSS
$custom: #1f768e;
$custom-light: #6d9daf;
$custom-dark: #000000;
JSON
{
  "hex": "#1f768e",
  "rgb": {
    "r": 31,
    "g": 118,
    "b": 142
  },
  "hsl": {
    "h": 192.973,
    "s": 64.162,
    "l": 33.922
  },
  "oklch": {
    "l": 0.52694,
    "c": 0.0867,
    "h": 220.9
  },
  "luminance": 0.15201
}

Semantic roles & 50–950 ramp

primary
#1F768E
secondary
#BB654D
accent
#6541E7
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E10
muted
#7B7E7F

Preview Lab

Preview with #1F768E

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

Preview Lab → · Contrast checker → · Palette generator →

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