#1B404C#1B404C

#1B404C is a dark, muted cyan. Relative luminance 0.044; OKLCH L 35.0% C 0.047 H 221.9°. Best body text is #FFFFFF at 11.14:1 contrast (WCAG AA passes).

Color values

HEX#1B404C
RGBrgb(27, 64, 76)
HSLhsl(195, 48%, 20%)
HSVhsv(195, 64%, 30%)
CMYKcmyk(64.5%, 15.8%, 0%, 70.2%)
CIE-LABlab(25.02, -9.05, -11.26)
CIE-LCHlch(25.02, 14.45, 231.22°)
OKLaboklab(35% -0.0349 -0.0313)
OKLCHoklch(35% 0.047 221.9)
XYZxyz(3.5894, 4.4213, 7.5003)
Luminance0.0442 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B404C #4C271B
analogous
#1B4C3F #1B404C #1B274C
triadic
#1B404C #4C1B40 #404C1B
tetradic
#1B404C #3F1B4C #4C271B #274C1B
square
#1B404C #3F1B4C #4C271B #274C1B
split-complementary
#1B404C #4C1B27 #4C3F1B
monochromatic
#081317 #0B1A1F #1B404C #2B6679 #3B8CA6

Accessibility & contrast

On white

11.14
#1B404C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#1B404C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B404C
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B404C#FFFFFF#000000##FFFFFF
##1B404C1.0011.141.8811.14
#FFFFFF11.141.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393E4D
Deuteranopia (green-blind)
#32394C
Tritanopia (blue-blind)
#004444
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #1b404c;
/* rgb */ color: rgb(27, 64, 76);
/* oklch */ color: oklch(35.0% 0.047 221.9);
Tailwind
colors: {
  custom: {
    50: '#5d747e',
    500: '#1b404c',
    950: '#000000',
  },
}
SCSS
$custom: #1b404c;
$custom-light: #5d747e;
$custom-dark: #000000;
JSON
{
  "hex": "#1b404c",
  "rgb": {
    "r": 27,
    "g": 64,
    "b": 76
  },
  "hsl": {
    "h": 194.694,
    "s": 47.573,
    "l": 20.196
  },
  "oklch": {
    "l": 0.34996,
    "c": 0.04688,
    "h": 221.9
  },
  "luminance": 0.04422
}

Semantic roles & 50–950 ramp

primary
#1B404C
secondary
#825141
accent
#7251D7
background
#F5F7F7
surface
#E9EDEE
border
#C5C8C9
text
#040809
muted
#797B7B

Preview Lab

Preview with #1B404C

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

Preview Lab → · Contrast checker → · Palette generator →

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