#1B5782#1B5782

#1B5782 is a dark, moderate cyan. Relative luminance 0.087; OKLCH L 44.0% C 0.093 H 244.3°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#1B5782
RGBrgb(27, 87, 130)
HSLhsl(205, 66%, 31%)
HSVhsv(205, 79%, 51%)
CMYKcmyk(79.2%, 33.1%, 0%, 49%)
CIE-LABlab(35.32, -3.12, -29.53)
CIE-LCHlch(35.32, 29.69, 263.97°)
OKLaboklab(44.05% -0.0404 -0.0838)
OKLCHoklch(44.05% 0.093 244.3)
XYZxyz(7.8879, 8.6602, 22.3706)
Luminance0.0866 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B5782 #82461B
analogous
#1B8279 #1B5782 #1B2382
triadic
#1B5782 #821B57 #57821B
tetradic
#1B5782 #791B82 #82461B #23821B
square
#1B5782 #791B82 #82461B #23821B
split-complementary
#1B5782 #821B23 #82791B
monochromatic
#06131D #10354F #1B5782 #2679B5 #4098D7

Accessibility & contrast

On white

7.69
#1B5782 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#1B5782 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B5782
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B5782#FFFFFF#000000##FFFFFF
##1B57821.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435884
Deuteranopia (green-blind)
#354F81
Tritanopia (blue-blind)
#006166
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #1b5782;
/* rgb */ color: rgb(27, 87, 130);
/* oklch */ color: oklch(44.0% 0.093 244.3);
Tailwind
colors: {
  custom: {
    50: '#6886a6',
    500: '#1b5782',
    950: '#000000',
  },
}
SCSS
$custom: #1b5782;
$custom-light: #6886a6;
$custom-dark: #000000;
JSON
{
  "hex": "#1b5782",
  "rgb": {
    "r": 27,
    "g": 87,
    "b": 130
  },
  "hsl": {
    "h": 205.049,
    "s": 65.605,
    "l": 30.784
  },
  "oklch": {
    "l": 0.44047,
    "c": 0.09299,
    "h": 244.3
  },
  "luminance": 0.08661
}

Semantic roles & 50–950 ramp

primary
#1B5782
secondary
#B67343
accent
#863FE9
background
#F6F8FA
surface
#EBEFF4
border
#C6CACE
text
#070B0F
muted
#7A7C7F

Preview Lab

Preview with #1B5782

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

Preview Lab → · Contrast checker → · Palette generator →

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