#1B3552#1B3552

#1B3552 is a dark, moderate cyan. Relative luminance 0.034; OKLCH L 32.3% C 0.061 H 252.5°. Best body text is #FFFFFF at 12.52:1 contrast (WCAG AA passes).

Color values

HEX#1B3552
RGBrgb(27, 53, 82)
HSLhsl(212, 50%, 21%)
HSVhsv(212, 67%, 32%)
CMYKcmyk(67.1%, 35.4%, 0%, 67.8%)
CIE-LABlab(21.54, 0.45, -20.64)
CIE-LCHlch(21.54, 20.64, 271.26°)
OKLaboklab(32.34% -0.0184 -0.0583)
OKLCHoklch(32.34% 0.061 252.5)
XYZxyz(3.2475, 3.3881, 8.4638)
Luminance0.0339 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3552 #52381B
analogous
#1B5152 #1B3552 #1D1B52
triadic
#1B3552 #521B35 #35521B
tetradic
#1B3552 #521B51 #52381B #1B521D
square
#1B3552 #521B51 #52381B #1B521D
split-complementary
#1B3552 #521D1B #51521B
monochromatic
#080F17 #0C1724 #1B3552 #2A5380 #3971AE

Accessibility & contrast

On white

12.52
#1B3552 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#1B3552 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3552
12.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3552#FFFFFF#000000##FFFFFF
##1B35521.0012.521.6812.52
#FFFFFF12.521.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293753
Deuteranopia (green-blind)
#213151
Tritanopia (blue-blind)
#003C3F
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1b3552;
/* rgb */ color: rgb(27, 53, 82);
/* oklch */ color: oklch(32.3% 0.061 252.5);
Tailwind
colors: {
  custom: {
    50: '#5d6c82',
    500: '#1b3552',
    950: '#000000',
  },
}
SCSS
$custom: #1b3552;
$custom-light: #5d6c82;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3552",
  "rgb": {
    "r": 27,
    "g": 53,
    "b": 82
  },
  "hsl": {
    "h": 211.636,
    "s": 50.459,
    "l": 21.373
  },
  "oklch": {
    "l": 0.32336,
    "c": 0.06115,
    "h": 252.5
  },
  "luminance": 0.03388
}

Semantic roles & 50–950 ramp

primary
#1B3552
secondary
#886641
accent
#984EDA
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04060A
muted
#797A7C

Preview Lab

Preview with #1B3552

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

Preview Lab → · Contrast checker → · Palette generator →

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