#1B3751#1B3751

#1B3751 is a dark, muted cyan. Relative luminance 0.036; OKLCH L 32.8% C 0.058 H 248.3°. Best body text is #FFFFFF at 12.27:1 contrast (WCAG AA passes).

Color values

HEX#1B3751
RGBrgb(27, 55, 81)
HSLhsl(209, 50%, 21%)
HSVhsv(209, 67%, 32%)
CMYKcmyk(66.7%, 32.1%, 0%, 68.2%)
CIE-LABlab(22.16, -1.31, -19.00)
CIE-LCHlch(22.16, 19.04, 266.06°)
OKLaboklab(32.81% -0.0213 -0.0535)
OKLCHoklch(32.81% 0.058 248.3)
XYZxyz(3.3028, 3.5592, 8.2959)
Luminance0.0356 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3751 #51351B
analogous
#1B5150 #1B3751 #1B1C51
triadic
#1B3751 #511B37 #37511B
tetradic
#1B3751 #501B51 #51351B #1C511B
square
#1B3751 #501B51 #51351B #1C511B
split-complementary
#1B3751 #511B1C #51501B
monochromatic
#081017 #0C1823 #1B3751 #2A567F #3A75AD

Accessibility & contrast

On white

12.27
#1B3751 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#1B3751 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3751
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3751#FFFFFF#000000##FFFFFF
##1B37511.0012.271.7112.27
#FFFFFF12.271.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C3852
Deuteranopia (green-blind)
#253350
Tritanopia (blue-blind)
#003D40
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1b3751;
/* rgb */ color: rgb(27, 55, 81);
/* oklch */ color: oklch(32.8% 0.058 248.3);
Tailwind
colors: {
  custom: {
    50: '#5d6d82',
    500: '#1b3751',
    950: '#000000',
  },
}
SCSS
$custom: #1b3751;
$custom-light: #5d6d82;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3751",
  "rgb": {
    "r": 27,
    "g": 55,
    "b": 81
  },
  "hsl": {
    "h": 208.889,
    "s": 50,
    "l": 21.176
  },
  "oklch": {
    "l": 0.32806,
    "c": 0.05759,
    "h": 248.3
  },
  "luminance": 0.03559
}

Semantic roles & 50–950 ramp

primary
#1B3751
secondary
#876341
accent
#914EDA
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04070A
muted
#797A7C

Preview Lab

Preview with #1B3751

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

Preview Lab → · Contrast checker → · Palette generator →

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