#1B384C#1B384C

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

Color values

HEX#1B384C
RGBrgb(27, 56, 76)
HSLhsl(204, 48%, 20%)
HSVhsv(204, 64%, 30%)
CMYKcmyk(64.5%, 26.3%, 0%, 70.2%)
CIE-LABlab(22.24, -3.89, -15.54)
CIE-LCHlch(22.24, 16.02, 255.96°)
OKLaboklab(32.79% -0.0244 -0.0435)
OKLCHoklch(32.79% 0.05 240.7)
XYZxyz(3.1702, 3.5829, 7.3606)
Luminance0.0358 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B384C #4C2F1B
analogous
#1B4C47 #1B384C #1B1F4C
triadic
#1B384C #4C1B38 #384C1B
tetradic
#1B384C #471B4C #4C2F1B #1F4C1B
square
#1B384C #471B4C #4C2F1B #1F4C1B
split-complementary
#1B384C #4C1B1F #4C471B
monochromatic
#081117 #0B171F #1B384C #2B5979 #3B7BA6

Accessibility & contrast

On white

12.23
#1B384C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B384C
12.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B384C#FFFFFF#000000##FFFFFF
##1B384C1.0012.231.7212.23
#FFFFFF12.231.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F384D
Deuteranopia (green-blind)
#28334C
Tritanopia (blue-blind)
#003D3F
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1b384c;
/* rgb */ color: rgb(27, 56, 76);
/* oklch */ color: oklch(32.8% 0.050 240.7);
Tailwind
colors: {
  custom: {
    50: '#5c6e7e',
    500: '#1b384c',
    950: '#000000',
  },
}
SCSS
$custom: #1b384c;
$custom-light: #5c6e7e;
$custom-dark: #000000;
JSON
{
  "hex": "#1b384c",
  "rgb": {
    "r": 27,
    "g": 56,
    "b": 76
  },
  "hsl": {
    "h": 204.49,
    "s": 47.573,
    "l": 20.196
  },
  "oklch": {
    "l": 0.32787,
    "c": 0.04992,
    "h": 240.7
  },
  "luminance": 0.03583
}

Semantic roles & 50–950 ramp

primary
#1B384C
secondary
#825B41
accent
#8851D7
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04070A
muted
#797A7C

Preview Lab

Preview with #1B384C

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

Preview Lab → · Contrast checker → · Palette generator →

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