#1B5181#1B5181

#1B5181 is a dark, moderate cyan. Relative luminance 0.077; OKLCH L 42.5% C 0.098 H 249.1°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#1B5181
RGBrgb(27, 81, 129)
HSLhsl(208, 65%, 31%)
HSVhsv(208, 79%, 51%)
CMYKcmyk(79.1%, 37.2%, 0%, 49.4%)
CIE-LABlab(33.35, 0.34, -32.02)
CIE-LCHlch(33.35, 32.02, 270.60°)
OKLaboklab(42.48% -0.0347 -0.0912)
OKLCHoklch(42.48% 0.098 249.1)
XYZxyz(7.3554, 7.7020, 21.8636)
Luminance0.0770 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B5181 #814B1B
analogous
#1B817E #1B5181 #1B1E81
triadic
#1B5181 #811B51 #51811B
tetradic
#1B5181 #7E1B81 #814B1B #1E811B
square
#1B5181 #7E1B81 #814B1B #1E811B
split-complementary
#1B5181 #811B1E #817E1B
monochromatic
#06111C #10314E #1B5181 #2671B4 #3F90D7

Accessibility & contrast

On white

8.27
#1B5181 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#1B5181 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B5181
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B5181#FFFFFF#000000##FFFFFF
##1B51811.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5483
Deuteranopia (green-blind)
#2C4A80
Tritanopia (blue-blind)
#005C63
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #1b5181;
/* rgb */ color: rgb(27, 81, 129);
/* oklch */ color: oklch(42.5% 0.098 249.1);
Tailwind
colors: {
  custom: {
    50: '#6781a6',
    500: '#1b5181',
    950: '#000000',
  },
}
SCSS
$custom: #1b5181;
$custom-light: #6781a6;
$custom-dark: #000000;
JSON
{
  "hex": "#1b5181",
  "rgb": {
    "r": 27,
    "g": 81,
    "b": 129
  },
  "hsl": {
    "h": 208.235,
    "s": 65.385,
    "l": 30.588
  },
  "oklch": {
    "l": 0.4248,
    "c": 0.09755,
    "h": 249.1
  },
  "luminance": 0.07703
}

Semantic roles & 50–950 ramp

primary
#1B5181
secondary
#B57943
accent
#8F3FE8
background
#F6F7FA
surface
#EBEEF4
border
#C6C9CE
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #1B5181

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

Preview Lab → · Contrast checker → · Palette generator →

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