#1B5281#1B5281

#1B5281 is a dark, moderate cyan. Relative luminance 0.079; OKLCH L 42.7% C 0.097 H 248.3°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#1B5281
RGBrgb(27, 82, 129)
HSLhsl(208, 65%, 31%)
HSVhsv(208, 79%, 51%)
CMYKcmyk(79.1%, 36.4%, 0%, 49.4%)
CIE-LABlab(33.67, -0.31, -31.52)
CIE-LCHlch(33.67, 31.52, 269.43°)
OKLaboklab(42.73% -0.0357 -0.0897)
OKLCHoklch(42.73% 0.097 248.3)
XYZxyz(7.4302, 7.8517, 21.8886)
Luminance0.0785 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B5281 #814A1B
analogous
#1B817D #1B5281 #1B1F81
triadic
#1B5281 #811B52 #52811B
tetradic
#1B5281 #7D1B81 #814A1B #1F811B
square
#1B5281 #7D1B81 #814A1B #1F811B
split-complementary
#1B5281 #811B1F #817D1B
monochromatic
#06121C #10324E #1B5281 #2672B4 #3F91D7

Accessibility & contrast

On white

8.17
#1B5281 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#1B5281 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B5281
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B5281#FFFFFF#000000##FFFFFF
##1B52811.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5483
Deuteranopia (green-blind)
#2D4B80
Tritanopia (blue-blind)
#005D63
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #1b5281;
/* rgb */ color: rgb(27, 82, 129);
/* oklch */ color: oklch(42.7% 0.097 248.3);
Tailwind
colors: {
  custom: {
    50: '#6882a6',
    500: '#1b5281',
    950: '#000000',
  },
}
SCSS
$custom: #1b5281;
$custom-light: #6882a6;
$custom-dark: #000000;
JSON
{
  "hex": "#1b5281",
  "rgb": {
    "r": 27,
    "g": 82,
    "b": 129
  },
  "hsl": {
    "h": 207.647,
    "s": 65.385,
    "l": 30.588
  },
  "oklch": {
    "l": 0.4273,
    "c": 0.09652,
    "h": 248.3
  },
  "luminance": 0.07853
}

Semantic roles & 50–950 ramp

primary
#1B5281
secondary
#B57743
accent
#8D3FE8
background
#F6F7FA
surface
#EBEEF4
border
#C6C9CE
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #1B5281

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

Preview Lab → · Contrast checker → · Palette generator →

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