#1B4152#1B4152

#1B4152 is a dark, muted cyan. Relative luminance 0.046; OKLCH L 35.6% C 0.052 H 229.9°. Best body text is #FFFFFF at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#1B4152
RGBrgb(27, 65, 82)
HSLhsl(199, 50%, 21%)
HSVhsv(199, 67%, 32%)
CMYKcmyk(67.1%, 20.7%, 0%, 67.8%)
CIE-LABlab(25.63, -7.51, -14.26)
CIE-LCHlch(25.63, 16.12, 242.24°)
OKLaboklab(35.57% -0.0335 -0.0398)
OKLCHoklch(35.57% 0.052 229.9)
XYZxyz(3.8647, 4.6224, 8.6696)
Luminance0.0462 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4152 #522C1B
analogous
#1B5248 #1B4152 #1B2652
triadic
#1B4152 #521B41 #41521B
tetradic
#1B4152 #481B52 #522C1B #26521B
square
#1B4152 #481B52 #522C1B #26521B
split-complementary
#1B4152 #521B26 #52481B
monochromatic
#081217 #0C1D24 #1B4152 #2A6580 #398AAE

Accessibility & contrast

On white

10.91
#1B4152 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#1B4152 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4152
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4152#FFFFFF#000000##FFFFFF
##1B41521.0010.911.9210.91
#FFFFFF10.911.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384053
Deuteranopia (green-blind)
#313A52
Tritanopia (blue-blind)
#004647
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #1b4152;
/* rgb */ color: rgb(27, 65, 82);
/* oklch */ color: oklch(35.6% 0.052 229.9);
Tailwind
colors: {
  custom: {
    50: '#5e7582',
    500: '#1b4152',
    950: '#000000',
  },
}
SCSS
$custom: #1b4152;
$custom-light: #5e7582;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4152",
  "rgb": {
    "r": 27,
    "g": 65,
    "b": 82
  },
  "hsl": {
    "h": 198.545,
    "s": 50.459,
    "l": 21.373
  },
  "oklch": {
    "l": 0.35574,
    "c": 0.05207,
    "h": 229.9
  },
  "luminance": 0.04623
}

Semantic roles & 50–950 ramp

primary
#1B4152
secondary
#885741
accent
#794EDA
background
#F5F7F7
surface
#E9EDEE
border
#C5C8C9
text
#05080A
muted
#797B7C

Preview Lab

Preview with #1B4152

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

Preview Lab → · Contrast checker → · Palette generator →

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