#1B404F#1B404F

#1B404F is a dark, muted cyan. Relative luminance 0.045; OKLCH L 35.1% C 0.049 H 227.3°. Best body text is #FFFFFF at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#1B404F
RGBrgb(27, 64, 79)
HSLhsl(197, 49%, 21%)
HSVhsv(197, 66%, 31%)
CMYKcmyk(65.8%, 19%, 0%, 69%)
CIE-LABlab(25.15, -7.97, -13.04)
CIE-LCHlch(25.15, 15.28, 238.55°)
OKLaboklab(35.14% -0.0336 -0.0363)
OKLCHoklch(35.14% 0.049 227.3)
XYZxyz(3.6961, 4.4640, 8.0625)
Luminance0.0446 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B404F #4F2A1B
analogous
#1B4F44 #1B404F #1B264F
triadic
#1B404F #4F1B40 #404F1B
tetradic
#1B404F #441B4F #4F2A1B #264F1B
square
#1B404F #441B4F #4F2A1B #264F1B
split-complementary
#1B404F #4F1B26 #4F441B
monochromatic
#081217 #0B1B21 #1B404F #2B657D #3A8AAA

Accessibility & contrast

On white

11.09
#1B404F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#1B404F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B404F
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B404F#FFFFFF#000000##FFFFFF
##1B404F1.0011.091.8911.09
#FFFFFF11.091.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383F50
Deuteranopia (green-blind)
#31394F
Tritanopia (blue-blind)
#004445
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #1b404f;
/* rgb */ color: rgb(27, 64, 79);
/* oklch */ color: oklch(35.1% 0.049 227.3);
Tailwind
colors: {
  custom: {
    50: '#5d7480',
    500: '#1b404f',
    950: '#000000',
  },
}
SCSS
$custom: #1b404f;
$custom-light: #5d7480;
$custom-dark: #000000;
JSON
{
  "hex": "#1b404f",
  "rgb": {
    "r": 27,
    "g": 64,
    "b": 79
  },
  "hsl": {
    "h": 197.308,
    "s": 49.057,
    "l": 20.784
  },
  "oklch": {
    "l": 0.35145,
    "c": 0.04946,
    "h": 227.3
  },
  "luminance": 0.04464
}

Semantic roles & 50–950 ramp

primary
#1B404F
secondary
#855541
accent
#774FD9
background
#F5F7F7
surface
#E9EDEE
border
#C5C8C9
text
#04080A
muted
#797B7C

Preview Lab

Preview with #1B404F

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

Preview Lab → · Contrast checker → · Palette generator →

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