#1786B4#1786B4

#1786B4 is a mid, moderate cyan. Relative luminance 0.205; OKLCH L 58.4% C 0.115 H 232.9°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#1786B4
RGBrgb(23, 134, 180)
HSLhsl(198, 77%, 40%)
HSVhsv(198, 87%, 71%)
CMYKcmyk(87.2%, 25.6%, 0%, 29.4%)
CIE-LABlab(52.43, -12.60, -32.35)
CIE-LCHlch(52.43, 34.71, 248.71°)
OKLaboklab(58.42% -0.0692 -0.0914)
OKLCHoklch(58.42% 0.115 232.9)
XYZxyz(17.1133, 20.5254, 46.2310)
Luminance0.2053 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1786B4 #B44517
analogous
#17B494 #1786B4 #1737B4
triadic
#1786B4 #B41786 #86B417
tetradic
#1786B4 #9417B4 #B44517 #37B417
square
#1786B4 #9417B4 #B44517 #37B417
split-complementary
#1786B4 #B41737 #B49417
monochromatic
#093547 #105E7E #1786B4 #25ABE3 #5BC0EA

Accessibility & contrast

On white

4.11
#1786B4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#1786B4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1786B4
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1786B4#FFFFFF#000000##000000
##1786B41.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F85B6
Deuteranopia (green-blind)
#5B77B3
Tritanopia (blue-blind)
#009296
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #1786b4;
/* rgb */ color: rgb(23, 134, 180);
/* oklch */ color: oklch(58.4% 0.115 232.9);
Tailwind
colors: {
  custom: {
    50: '#73a9ca',
    500: '#1786b4',
    950: '#000000',
  },
}
SCSS
$custom: #1786b4;
$custom-light: #73a9ca;
$custom-dark: #000000;
JSON
{
  "hex": "#1786b4",
  "rgb": {
    "r": 23,
    "g": 134,
    "b": 180
  },
  "hsl": {
    "h": 197.58,
    "s": 77.34,
    "l": 39.804
  },
  "oklch": {
    "l": 0.58417,
    "c": 0.11462,
    "h": 232.9
  },
  "luminance": 0.20528
}

Semantic roles & 50–950 ramp

primary
#1786B4
secondary
#CE7B59
accent
#6C34F4
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A0F13
muted
#7C7F82

Preview Lab

Preview with #1786B4

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

Preview Lab → · Contrast checker → · Palette generator →

#1786B4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva