#1B5981#1B5981

#1B5981 is a dark, moderate cyan. Relative luminance 0.090; OKLCH L 44.5% C 0.090 H 241.7°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#1B5981
RGBrgb(27, 89, 129)
HSLhsl(204, 65%, 31%)
HSVhsv(204, 79%, 51%)
CMYKcmyk(79.1%, 31%, 0%, 49.4%)
CIE-LABlab(35.91, -4.76, -27.99)
CIE-LCHlch(35.91, 28.39, 260.34°)
OKLaboklab(44.5% -0.0427 -0.0793)
OKLCHoklch(44.5% 0.09 241.7)
XYZxyz(7.9853, 8.9618, 22.0736)
Luminance0.0896 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B5981 #81431B
analogous
#1B8176 #1B5981 #1B2681
triadic
#1B5981 #811B59 #59811B
tetradic
#1B5981 #761B81 #81431B #26811B
square
#1B5981 #761B81 #81431B #26811B
split-complementary
#1B5981 #811B26 #81761B
monochromatic
#06131C #10364E #1B5981 #267CB4 #3F9CD7

Accessibility & contrast

On white

7.52
#1B5981 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#1B5981 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B5981
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B5981#FFFFFF#000000##FFFFFF
##1B59811.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465A83
Deuteranopia (green-blind)
#385080
Tritanopia (blue-blind)
#006367
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #1b5981;
/* rgb */ color: rgb(27, 89, 129);
/* oklch */ color: oklch(44.5% 0.090 241.7);
Tailwind
colors: {
  custom: {
    50: '#6887a6',
    500: '#1b5981',
    950: '#000000',
  },
}
SCSS
$custom: #1b5981;
$custom-light: #6887a6;
$custom-dark: #000000;
JSON
{
  "hex": "#1b5981",
  "rgb": {
    "r": 27,
    "g": 89,
    "b": 129
  },
  "hsl": {
    "h": 203.529,
    "s": 65.385,
    "l": 30.588
  },
  "oklch": {
    "l": 0.44495,
    "c": 0.09003,
    "h": 241.7
  },
  "luminance": 0.08963
}

Semantic roles & 50–950 ramp

primary
#1B5981
secondary
#B57043
accent
#823FE8
background
#F6F8FA
surface
#EBEFF4
border
#C6CACE
text
#070B0F
muted
#7A7C7F

Preview Lab

Preview with #1B5981

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

Preview Lab → · Contrast checker → · Palette generator →

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