#1B5381#1B5381

#1B5381 is a dark, moderate cyan. Relative luminance 0.080; OKLCH L 43.0% C 0.096 H 247.4°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#1B5381
RGBrgb(27, 83, 129)
HSLhsl(207, 65%, 31%)
HSVhsv(207, 79%, 51%)
CMYKcmyk(79.1%, 35.7%, 0%, 49.4%)
CIE-LABlab(33.99, -0.96, -31.02)
CIE-LCHlch(33.99, 31.03, 268.23°)
OKLaboklab(42.98% -0.0367 -0.0882)
OKLCHoklch(42.98% 0.096 247.4)
XYZxyz(7.5062, 8.0036, 21.9139)
Luminance0.0800 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B5381 #81491B
analogous
#1B817C #1B5381 #1B2081
triadic
#1B5381 #811B53 #53811B
tetradic
#1B5381 #7C1B81 #81491B #20811B
square
#1B5381 #7C1B81 #81491B #20811B
split-complementary
#1B5381 #811B20 #817C1B
monochromatic
#06121C #10324E #1B5381 #2674B4 #3F93D7

Accessibility & contrast

On white

8.07
#1B5381 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#1B5381 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B5381
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B5381#FFFFFF#000000##FFFFFF
##1B53811.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5583
Deuteranopia (green-blind)
#2F4C80
Tritanopia (blue-blind)
#005E64
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #1b5381;
/* rgb */ color: rgb(27, 83, 129);
/* oklch */ color: oklch(43.0% 0.096 247.4);
Tailwind
colors: {
  custom: {
    50: '#6883a6',
    500: '#1b5381',
    950: '#000000',
  },
}
SCSS
$custom: #1b5381;
$custom-light: #6883a6;
$custom-dark: #000000;
JSON
{
  "hex": "#1b5381",
  "rgb": {
    "r": 27,
    "g": 83,
    "b": 129
  },
  "hsl": {
    "h": 207.059,
    "s": 65.385,
    "l": 30.588
  },
  "oklch": {
    "l": 0.4298,
    "c": 0.09551,
    "h": 247.4
  },
  "luminance": 0.08005
}

Semantic roles & 50–950 ramp

primary
#1B5381
secondary
#B57643
accent
#8C3FE8
background
#F6F7FA
surface
#EBEEF4
border
#C6C9CE
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #1B5381

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

Preview Lab → · Contrast checker → · Palette generator →

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