#1B5789#1B5789

#1B5789 is a dark, moderate cyan. Relative luminance 0.089; OKLCH L 44.5% C 0.102 H 248.0°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#1B5789
RGBrgb(27, 87, 137)
HSLhsl(207, 67%, 32%)
HSVhsv(207, 80%, 54%)
CMYKcmyk(80.3%, 36.5%, 0%, 46.3%)
CIE-LABlab(35.70, -0.37, -33.21)
CIE-LCHlch(35.70, 33.21, 269.36°)
OKLaboklab(44.47% -0.0382 -0.0945)
OKLCHoklch(44.47% 0.102 248)
XYZxyz(8.3738, 8.8545, 24.9298)
Luminance0.0886 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B5789 #894D1B
analogous
#1B8984 #1B5789 #1B2089
triadic
#1B5789 #891B57 #57891B
tetradic
#1B5789 #841B89 #894D1B #20891B
square
#1B5789 #841B89 #894D1B #20891B
split-complementary
#1B5789 #891B20 #89841B
monochromatic
#071623 #113756 #1B5789 #2577BC #4496DA

Accessibility & contrast

On white

7.58
#1B5789 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#1B5789 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B5789
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B5789#FFFFFF#000000##FFFFFF
##1B57891.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40598B
Deuteranopia (green-blind)
#304F88
Tritanopia (blue-blind)
#006369
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #1b5789;
/* rgb */ color: rgb(27, 87, 137);
/* oklch */ color: oklch(44.5% 0.102 248.0);
Tailwind
colors: {
  custom: {
    50: '#6986ac',
    500: '#1b5789',
    950: '#000000',
  },
}
SCSS
$custom: #1b5789;
$custom-light: #6986ac;
$custom-dark: #000000;
JSON
{
  "hex": "#1b5789",
  "rgb": {
    "r": 27,
    "g": 87,
    "b": 137
  },
  "hsl": {
    "h": 207.273,
    "s": 67.073,
    "l": 32.157
  },
  "oklch": {
    "l": 0.44472,
    "c": 0.10196,
    "h": 248
  },
  "luminance": 0.08856
}

Semantic roles & 50–950 ramp

primary
#1B5789
secondary
#BC7A44
accent
#8C3EEA
background
#F6F8FA
surface
#ECEFF4
border
#C7CACE
text
#070B10
muted
#7A7C7F

Preview Lab

Preview with #1B5789

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

Preview Lab → · Contrast checker → · Palette generator →

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