#155171#155171

#155171 is a dark, moderate cyan. Relative luminance 0.072; OKLCH L 41.4% C 0.080 H 237.2°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#155171
RGBrgb(21, 81, 113)
HSLhsl(201, 69%, 26%)
HSVhsv(201, 81%, 44%)
CMYKcmyk(81.4%, 28.3%, 0%, 55.7%)
CIE-LABlab(32.34, -6.74, -23.69)
CIE-LCHlch(32.34, 24.63, 254.11°)
OKLaboklab(41.35% -0.0432 -0.0669)
OKLCHoklch(41.35% 0.08 237.2)
XYZxyz(6.2311, 7.2358, 16.6878)
Luminance0.0724 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#155171 #713515
analogous
#157163 #155171 #152371
triadic
#155171 #711551 #517115
tetradic
#155171 #631571 #713515 #237115
square
#155171 #631571 #713515 #237115
split-complementary
#155171 #711523 #716315
monochromatic
#05121A #0B2C3D #155171 #1F76A5 #299BD7

Accessibility & contrast

On white

8.58
#155171 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#155171 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #155171
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##155171#FFFFFF#000000##FFFFFF
##1551711.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425172
Deuteranopia (green-blind)
#354870
Tritanopia (blue-blind)
#00595C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #155171;
/* rgb */ color: rgb(21, 81, 113);
/* oklch */ color: oklch(41.4% 0.080 237.2);
Tailwind
colors: {
  custom: {
    50: '#62819a',
    500: '#155171',
    950: '#000000',
  },
}
SCSS
$custom: #155171;
$custom-light: #62819a;
$custom-dark: #000000;
JSON
{
  "hex": "#155171",
  "rgb": {
    "r": 21,
    "g": 81,
    "b": 113
  },
  "hsl": {
    "h": 200.87,
    "s": 68.657,
    "l": 26.275
  },
  "oklch": {
    "l": 0.41351,
    "c": 0.07965,
    "h": 237.2
  },
  "luminance": 0.07237
}

Semantic roles & 50–950 ramp

primary
#155171
secondary
#A7603B
accent
#793CEB
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#060A0E
muted
#7A7C7E

Preview Lab

Preview with #155171

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

Preview Lab → · Contrast checker → · Palette generator →

#155171 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva