#155172#155172

#155172 is a dark, moderate cyan. Relative luminance 0.073; OKLCH L 41.4% C 0.081 H 238.0°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#155172
RGBrgb(21, 81, 114)
HSLhsl(201, 69%, 26%)
HSVhsv(201, 82%, 45%)
CMYKcmyk(81.6%, 28.9%, 0%, 55.3%)
CIE-LABlab(32.39, -6.35, -24.24)
CIE-LCHlch(32.39, 25.06, 255.32°)
OKLaboklab(41.41% -0.0428 -0.0685)
OKLCHoklch(41.41% 0.081 238)
XYZxyz(6.2877, 7.2584, 16.9860)
Luminance0.0726 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#155172 #723615
analogous
#157265 #155172 #152372
triadic
#155172 #721551 #517215
tetradic
#155172 #651572 #723615 #237215
square
#155172 #651572 #723615 #237215
split-complementary
#155172 #721523 #726515
monochromatic
#05121A #0B2C3E #155172 #1F76A6 #2A9AD8

Accessibility & contrast

On white

8.57
#155172 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #155172
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##155172#FFFFFF#000000##FFFFFF
##1551721.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #155172;
/* rgb */ color: rgb(21, 81, 114);
/* oklch */ color: oklch(41.4% 0.081 238.0);
Tailwind
colors: {
  custom: {
    50: '#62819a',
    500: '#155172',
    950: '#000000',
  },
}
SCSS
$custom: #155172;
$custom-light: #62819a;
$custom-dark: #000000;
JSON
{
  "hex": "#155172",
  "rgb": {
    "r": 21,
    "g": 81,
    "b": 114
  },
  "hsl": {
    "h": 201.29,
    "s": 68.889,
    "l": 26.471
  },
  "oklch": {
    "l": 0.41407,
    "c": 0.0808,
    "h": 238
  },
  "luminance": 0.07259
}

Semantic roles & 50–950 ramp

primary
#155172
secondary
#A8623B
accent
#7A3CEC
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#060A0E
muted
#7A7C7E

Preview Lab

Preview with #155172

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

Preview Lab → · Contrast checker → · Palette generator →

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