#1F768A#1F768A

#1F768A is a mid, moderate cyan. Relative luminance 0.151; OKLCH L 52.5% C 0.084 H 217.0°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#1F768A
RGBrgb(31, 118, 138)
HSLhsl(191, 63%, 33%)
HSVhsv(191, 78%, 54%)
CMYKcmyk(77.5%, 14.5%, 0%, 45.9%)
CIE-LABlab(45.75, -17.93, -18.16)
CIE-LCHlch(45.75, 25.51, 225.37°)
OKLaboklab(52.51% -0.0672 -0.0507)
OKLCHoklch(52.51% 0.084 217)
XYZxyz(11.6290, 15.0817, 26.3380)
Luminance0.1508 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F768A #8A331F
analogous
#1F8A68 #1F768A #1F408A
triadic
#1F768A #8A1F76 #768A1F
tetradic
#1F768A #681F8A #8A331F #408A1F
square
#1F768A #681F8A #8A331F #408A1F
split-complementary
#1F768A #8A1F40 #8A681F
monochromatic
#092126 #144B58 #1F768A #2AA1BC #4CBDD7

Accessibility & contrast

On white

5.23
#1F768A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #1F768A
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F768A#FFFFFF#000000##FFFFFF
##1F768A1.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#69728B
Deuteranopia (green-blind)
#5A688A
Tritanopia (blue-blind)
#007D7C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #1f768a;
/* rgb */ color: rgb(31, 118, 138);
/* oklch */ color: oklch(52.5% 0.084 217.0);
Tailwind
colors: {
  custom: {
    50: '#6d9dac',
    500: '#1f768a',
    950: '#000000',
  },
}
SCSS
$custom: #1f768a;
$custom-light: #6d9dac;
$custom-dark: #000000;
JSON
{
  "hex": "#1f768a",
  "rgb": {
    "r": 31,
    "g": 118,
    "b": 138
  },
  "hsl": {
    "h": 191.215,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.52512,
    "c": 0.08418,
    "h": 217
  },
  "luminance": 0.15083
}

Semantic roles & 50–950 ramp

primary
#1F768A
secondary
#BA604B
accent
#6041E6
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E10
muted
#7B7E7F

Preview Lab

Preview with #1F768A

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

Preview Lab → · Contrast checker → · Palette generator →

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