#1B789D#1B789D

#1B789D is a mid, moderate cyan. Relative luminance 0.161; OKLCH L 53.8% C 0.100 H 230.6°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#1B789D
RGBrgb(27, 120, 157)
HSLhsl(197, 71%, 36%)
HSVhsv(197, 83%, 62%)
CMYKcmyk(82.8%, 23.6%, 0%, 38.4%)
CIE-LABlab(47.10, -12.73, -27.29)
CIE-LCHlch(47.10, 30.11, 244.99°)
OKLaboklab(53.84% -0.0632 -0.0769)
OKLCHoklch(53.84% 0.1 230.6)
XYZxyz(13.2518, 16.0986, 34.3007)
Luminance0.1610 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B789D #9D401B
analogous
#1B9D81 #1B789D #1B379D
triadic
#1B789D #9D1B78 #789D1B
tetradic
#1B789D #811B9D #9D401B #379D1B
square
#1B789D #811B9D #9D401B #379D1B
split-complementary
#1B789D #9D1B37 #9D811B
monochromatic
#092835 #125069 #1B789D #24A0D1 #51B8E1

Accessibility & contrast

On white

4.98
#1B789D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#1B789D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B789D
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B789D#FFFFFF#000000##FFFFFF
##1B789D1.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#65769F
Deuteranopia (green-blind)
#546A9C
Tritanopia (blue-blind)
#008284
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #1b789d;
/* rgb */ color: rgb(27, 120, 157);
/* oklch */ color: oklch(53.8% 0.100 230.6);
Tailwind
colors: {
  custom: {
    50: '#6f9fba',
    500: '#1b789d',
    950: '#000000',
  },
}
SCSS
$custom: #1b789d;
$custom-light: #6f9fba;
$custom-dark: #000000;
JSON
{
  "hex": "#1b789d",
  "rgb": {
    "r": 27,
    "g": 120,
    "b": 157
  },
  "hsl": {
    "h": 197.077,
    "s": 70.652,
    "l": 36.078
  },
  "oklch": {
    "l": 0.53843,
    "c": 0.09953,
    "h": 230.6
  },
  "luminance": 0.161
}

Semantic roles & 50–950 ramp

primary
#1B789D
secondary
#C47150
accent
#6D3AED
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #1B789D

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

Preview Lab → · Contrast checker → · Palette generator →

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