#155173#155173

#155173 is a dark, moderate cyan. Relative luminance 0.073; OKLCH L 41.5% C 0.082 H 238.8°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#155173
RGBrgb(21, 81, 115)
HSLhsl(202, 69%, 27%)
HSVhsv(202, 82%, 45%)
CMYKcmyk(81.7%, 29.6%, 0%, 54.9%)
CIE-LABlab(32.44, -5.96, -24.78)
CIE-LCHlch(32.44, 25.49, 256.48°)
OKLaboklab(41.46% -0.0425 -0.0701)
OKLCHoklch(41.46% 0.082 238.8)
XYZxyz(6.3450, 7.2813, 17.2874)
Luminance0.0728 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#155173 #733715
analogous
#157366 #155173 #152273
triadic
#155173 #731551 #517315
tetradic
#155173 #661573 #733715 #227315
square
#155173 #661573 #733715 #227315
split-complementary
#155173 #731522 #736615
monochromatic
#05121A #0C2D3F #155173 #1E75A7 #2A99D8

Accessibility & contrast

On white

8.55
#155173 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#155173 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #155173
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##155173#FFFFFF#000000##FFFFFF
##1551731.008.552.468.55
#FFFFFF8.551.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415175
Deuteranopia (green-blind)
#344872
Tritanopia (blue-blind)
#005A5D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #155173;
/* rgb */ color: rgb(21, 81, 115);
/* oklch */ color: oklch(41.5% 0.082 238.8);
Tailwind
colors: {
  custom: {
    50: '#63819b',
    500: '#155173',
    950: '#000000',
  },
}
SCSS
$custom: #155173;
$custom-light: #63819b;
$custom-dark: #000000;
JSON
{
  "hex": "#155173",
  "rgb": {
    "r": 21,
    "g": 81,
    "b": 115
  },
  "hsl": {
    "h": 201.702,
    "s": 69.118,
    "l": 26.667
  },
  "oklch": {
    "l": 0.41464,
    "c": 0.08196,
    "h": 238.8
  },
  "luminance": 0.07282
}

Semantic roles & 50–950 ramp

primary
#155173
secondary
#A9633B
accent
#7C3CEC
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#060A0E
muted
#7A7C7E

Preview Lab

Preview with #155173

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

Preview Lab → · Contrast checker → · Palette generator →

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