#1B5780#1B5780

#1B5780 is a dark, moderate cyan. Relative luminance 0.086; OKLCH L 43.9% C 0.090 H 243.1°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#1B5780
RGBrgb(27, 87, 128)
HSLhsl(204, 65%, 30%)
HSVhsv(204, 79%, 50%)
CMYKcmyk(78.9%, 32%, 0%, 49.8%)
CIE-LABlab(35.22, -3.90, -28.47)
CIE-LCHlch(35.22, 28.73, 262.20°)
OKLaboklab(43.93% -0.041 -0.0807)
OKLCHoklch(43.93% 0.091 243.1)
XYZxyz(7.7550, 8.6070, 21.6705)
Luminance0.0861 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B5780 #80441B
analogous
#1B8076 #1B5780 #1B2580
triadic
#1B5780 #801B57 #57801B
tetradic
#1B5780 #761B80 #80441B #25801B
square
#1B5780 #761B80 #80441B #25801B
split-complementary
#1B5780 #801B25 #80761B
monochromatic
#06121B #10354D #1B5780 #2679B3 #3F99D6

Accessibility & contrast

On white

7.72
#1B5780 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#1B5780 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B5780
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B5780#FFFFFF#000000##FFFFFF
##1B57801.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445882
Deuteranopia (green-blind)
#364F7F
Tritanopia (blue-blind)
#006166
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #1b5780;
/* rgb */ color: rgb(27, 87, 128);
/* oklch */ color: oklch(43.9% 0.090 243.1);
Tailwind
colors: {
  custom: {
    50: '#6786a5',
    500: '#1b5780',
    950: '#000000',
  },
}
SCSS
$custom: #1b5780;
$custom-light: #6786a5;
$custom-dark: #000000;
JSON
{
  "hex": "#1b5780",
  "rgb": {
    "r": 27,
    "g": 87,
    "b": 128
  },
  "hsl": {
    "h": 204.356,
    "s": 65.161,
    "l": 30.392
  },
  "oklch": {
    "l": 0.43929,
    "c": 0.0905,
    "h": 243.1
  },
  "luminance": 0.08608
}

Semantic roles & 50–950 ramp

primary
#1B5780
secondary
#B47143
accent
#8440E8
background
#F6F8FA
surface
#EBEFF4
border
#C6CACE
text
#070B0F
muted
#7A7C7F

Preview Lab

Preview with #1B5780

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

Preview Lab → · Contrast checker → · Palette generator →

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