#1B4252#1B4252

#1B4252 is a dark, muted cyan. Relative luminance 0.047; OKLCH L 35.8% C 0.052 H 227.8°. Best body text is #FFFFFF at 10.78:1 contrast (WCAG AA passes).

Color values

HEX#1B4252
RGBrgb(27, 66, 82)
HSLhsl(197, 50%, 21%)
HSVhsv(197, 67%, 32%)
CMYKcmyk(67.1%, 19.5%, 0%, 67.8%)
CIE-LABlab(25.98, -8.14, -13.73)
CIE-LCHlch(25.98, 15.97, 239.34°)
OKLaboklab(35.85% -0.0348 -0.0383)
OKLCHoklch(35.85% 0.052 227.8)
XYZxyz(3.9226, 4.7382, 8.6889)
Luminance0.0474 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4252 #522B1B
analogous
#1B5247 #1B4252 #1B2752
triadic
#1B4252 #521B42 #42521B
tetradic
#1B4252 #471B52 #522B1B #27521B
square
#1B4252 #471B52 #522B1B #27521B
split-complementary
#1B4252 #521B27 #52471B
monochromatic
#081317 #0C1D24 #1B4252 #2A6780 #398CAE

Accessibility & contrast

On white

10.78
#1B4252 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#1B4252 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4252
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4252#FFFFFF#000000##FFFFFF
##1B42521.0010.781.9510.78
#FFFFFF10.781.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4153
Deuteranopia (green-blind)
#323B52
Tritanopia (blue-blind)
#004747
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #1b4252;
/* rgb */ color: rgb(27, 66, 82);
/* oklch */ color: oklch(35.8% 0.052 227.8);
Tailwind
colors: {
  custom: {
    50: '#5e7682',
    500: '#1b4252',
    950: '#000000',
  },
}
SCSS
$custom: #1b4252;
$custom-light: #5e7682;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4252",
  "rgb": {
    "r": 27,
    "g": 66,
    "b": 82
  },
  "hsl": {
    "h": 197.455,
    "s": 50.459,
    "l": 21.373
  },
  "oklch": {
    "l": 0.35848,
    "c": 0.05176,
    "h": 227.8
  },
  "luminance": 0.04739
}

Semantic roles & 50–950 ramp

primary
#1B4252
secondary
#885641
accent
#774EDA
background
#F5F7F7
surface
#E9EDEE
border
#C5C8C9
text
#05080A
muted
#797B7C

Preview Lab

Preview with #1B4252

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

Preview Lab → · Contrast checker → · Palette generator →

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