#1B5982#1B5982

#1B5982 is a dark, moderate cyan. Relative luminance 0.090; OKLCH L 44.6% C 0.091 H 242.3°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#1B5982
RGBrgb(27, 89, 130)
HSLhsl(204, 66%, 31%)
HSVhsv(204, 79%, 51%)
CMYKcmyk(79.2%, 31.5%, 0%, 49%)
CIE-LABlab(35.96, -4.38, -28.52)
CIE-LCHlch(35.96, 28.85, 261.27°)
OKLaboklab(44.55% -0.0424 -0.0808)
OKLCHoklch(44.55% 0.091 242.3)
XYZxyz(8.0521, 8.9885, 22.4253)
Luminance0.0899 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B5982 #82441B
analogous
#1B8277 #1B5982 #1B2682
triadic
#1B5982 #821B59 #59821B
tetradic
#1B5982 #771B82 #82441B #26821B
square
#1B5982 #771B82 #82441B #26821B
split-complementary
#1B5982 #821B26 #82771B
monochromatic
#06141D #10364F #1B5982 #267CB5 #409BD7

Accessibility & contrast

On white

7.51
#1B5982 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#1B5982 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B5982
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B5982#FFFFFF#000000##FFFFFF
##1B59821.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465A84
Deuteranopia (green-blind)
#385081
Tritanopia (blue-blind)
#006367
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #1b5982;
/* rgb */ color: rgb(27, 89, 130);
/* oklch */ color: oklch(44.6% 0.091 242.3);
Tailwind
colors: {
  custom: {
    50: '#6887a6',
    500: '#1b5982',
    950: '#000000',
  },
}
SCSS
$custom: #1b5982;
$custom-light: #6887a6;
$custom-dark: #000000;
JSON
{
  "hex": "#1b5982",
  "rgb": {
    "r": 27,
    "g": 89,
    "b": 130
  },
  "hsl": {
    "h": 203.883,
    "s": 65.605,
    "l": 30.784
  },
  "oklch": {
    "l": 0.44553,
    "c": 0.09124,
    "h": 242.3
  },
  "luminance": 0.08989
}

Semantic roles & 50–950 ramp

primary
#1B5982
secondary
#B67143
accent
#833FE9
background
#F6F8FA
surface
#EBEFF4
border
#C6CACE
text
#070B0F
muted
#7A7C7F

Preview Lab

Preview with #1B5982

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

Preview Lab → · Contrast checker → · Palette generator →

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