#1B3752#1B3752

#1B3752 is a dark, muted cyan. Relative luminance 0.036; OKLCH L 32.9% C 0.059 H 249.3°. Best body text is #FFFFFF at 12.24:1 contrast (WCAG AA passes).

Color values

HEX#1B3752
RGBrgb(27, 55, 82)
HSLhsl(209, 50%, 21%)
HSVhsv(209, 67%, 32%)
CMYKcmyk(67.1%, 32.9%, 0%, 67.8%)
CIE-LABlab(22.21, -0.92, -19.58)
CIE-LCHlch(22.21, 19.60, 267.31°)
OKLaboklab(32.87% -0.0209 -0.0552)
OKLCHoklch(32.87% 0.059 249.3)
XYZxyz(3.3406, 3.5743, 8.4949)
Luminance0.0357 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3752 #52361B
analogous
#1B5252 #1B3752 #1B1C52
triadic
#1B3752 #521B37 #37521B
tetradic
#1B3752 #521B52 #52361B #1C521B
square
#1B3752 #521B52 #52361B #1C521B
split-complementary
#1B3752 #521B1C #52521B
monochromatic
#080F17 #0C1824 #1B3752 #2A5680 #3975AE

Accessibility & contrast

On white

12.24
#1B3752 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#1B3752 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3752
12.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3752#FFFFFF#000000##FFFFFF
##1B37521.0012.241.7212.24
#FFFFFF12.241.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B3853
Deuteranopia (green-blind)
#243351
Tritanopia (blue-blind)
#003D41
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1b3752;
/* rgb */ color: rgb(27, 55, 82);
/* oklch */ color: oklch(32.9% 0.059 249.3);
Tailwind
colors: {
  custom: {
    50: '#5d6d82',
    500: '#1b3752',
    950: '#000000',
  },
}
SCSS
$custom: #1b3752;
$custom-light: #5d6d82;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3752",
  "rgb": {
    "r": 27,
    "g": 55,
    "b": 82
  },
  "hsl": {
    "h": 209.455,
    "s": 50.459,
    "l": 21.373
  },
  "oklch": {
    "l": 0.32866,
    "c": 0.05904,
    "h": 249.3
  },
  "luminance": 0.03575
}

Semantic roles & 50–950 ramp

primary
#1B3752
secondary
#886441
accent
#934EDA
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04070A
muted
#797A7C

Preview Lab

Preview with #1B3752

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

Preview Lab → · Contrast checker → · Palette generator →

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