#1B5166#1B5166

#1B5166 is a dark, moderate cyan. Relative luminance 0.071; OKLCH L 40.9% C 0.066 H 227.6°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#1B5166
RGBrgb(27, 81, 102)
HSLhsl(197, 58%, 25%)
HSVhsv(197, 74%, 40%)
CMYKcmyk(73.5%, 20.6%, 0%, 60%)
CIE-LABlab(31.98, -10.06, -17.32)
CIE-LCHlch(31.98, 20.03, 239.86°)
OKLaboklab(40.94% -0.0442 -0.0485)
OKLCHoklch(40.94% 0.066 227.6)
XYZxyz(5.7917, 7.0765, 13.6285)
Luminance0.0708 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B5166 #66301B
analogous
#1B6655 #1B5166 #1B2B66
triadic
#1B5166 #661B51 #51661B
tetradic
#1B5166 #551B66 #66301B #2B661B
square
#1B5166 #551B66 #66301B #2B661B
split-complementary
#1B5166 #661B2B #66551B
monochromatic
#061318 #0E2B36 #1B5166 #287796 #359EC7

Accessibility & contrast

On white

8.69
#1B5166 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#1B5166 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B5166
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B5166#FFFFFF#000000##FFFFFF
##1B51661.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464F67
Deuteranopia (green-blind)
#3C4866
Tritanopia (blue-blind)
#005758
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #1b5166;
/* rgb */ color: rgb(27, 81, 102);
/* oklch */ color: oklch(40.9% 0.066 227.6);
Tailwind
colors: {
  custom: {
    50: '#628191',
    500: '#1b5166',
    950: '#000000',
  },
}
SCSS
$custom: #1b5166;
$custom-light: #628191;
$custom-dark: #000000;
JSON
{
  "hex": "#1b5166",
  "rgb": {
    "r": 27,
    "g": 81,
    "b": 102
  },
  "hsl": {
    "h": 196.8,
    "s": 58.14,
    "l": 25.294
  },
  "oklch": {
    "l": 0.40941,
    "c": 0.06564,
    "h": 227.6
  },
  "luminance": 0.07077
}

Semantic roles & 50–950 ramp

primary
#1B5166
secondary
#9B5B41
accent
#7246E1
background
#F6F7F8
surface
#EBEEF0
border
#C6C9CB
text
#060A0C
muted
#7A7C7D

Preview Lab

Preview with #1B5166

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

Preview Lab → · Contrast checker → · Palette generator →

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