#1B505F#1B505F

#1B505F is a dark, moderate cyan. Relative luminance 0.068; OKLCH L 40.3% C 0.060 H 220.0°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#1B505F
RGBrgb(27, 80, 95)
HSLhsl(193, 56%, 24%)
HSVhsv(193, 72%, 37%)
CMYKcmyk(71.6%, 15.8%, 0%, 62.7%)
CIE-LABlab(31.34, -12.00, -13.88)
CIE-LCHlch(31.34, 18.35, 229.15°)
OKLaboklab(40.33% -0.0461 -0.0387)
OKLCHoklch(40.33% 0.06 220)
XYZxyz(5.3854, 6.7960, 11.8522)
Luminance0.0680 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B505F #5F2A1B
analogous
#1B5F4C #1B505F #1B2E5F
triadic
#1B505F #5F1B50 #505F1B
tetradic
#1B505F #4C1B5F #5F2A1B #2E5F1B
square
#1B505F #4C1B5F #5F2A1B #2E5F1B
split-complementary
#1B505F #5F1B2E #5F4C1B
monochromatic
#071418 #0D282F #1B505F #29788F #36A0BE

Accessibility & contrast

On white

8.90
#1B505F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#1B505F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B505F
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B505F#FFFFFF#000000##FFFFFF
##1B505F1.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474E60
Deuteranopia (green-blind)
#3D475F
Tritanopia (blue-blind)
#005555
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #1b505f;
/* rgb */ color: rgb(27, 80, 95);
/* oklch */ color: oklch(40.3% 0.060 220.0);
Tailwind
colors: {
  custom: {
    50: '#61818c',
    500: '#1b505f',
    950: '#000000',
  },
}
SCSS
$custom: #1b505f;
$custom-light: #61818c;
$custom-dark: #000000;
JSON
{
  "hex": "#1b505f",
  "rgb": {
    "r": 27,
    "g": 80,
    "b": 95
  },
  "hsl": {
    "h": 193.235,
    "s": 55.738,
    "l": 23.922
  },
  "oklch": {
    "l": 0.40325,
    "c": 0.06017,
    "h": 220
  },
  "luminance": 0.06797
}

Semantic roles & 50–950 ramp

primary
#1B505F
secondary
#955441
accent
#6A49DF
background
#F6F7F8
surface
#EBEEF0
border
#C6C9CB
text
#050A0C
muted
#7A7C7D

Preview Lab

Preview with #1B505F

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

Preview Lab → · Contrast checker → · Palette generator →

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