#155179#155179

#155179 is a dark, moderate cyan. Relative luminance 0.074; OKLCH L 41.8% C 0.089 H 243.1°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#155179
RGBrgb(21, 81, 121)
HSLhsl(204, 70%, 28%)
HSVhsv(204, 83%, 47%)
CMYKcmyk(82.6%, 33.1%, 0%, 52.5%)
CIE-LABlab(32.75, -3.58, -28.03)
CIE-LCHlch(32.75, 28.26, 262.72°)
OKLaboklab(41.82% -0.0404 -0.0795)
OKLCHoklch(41.82% 0.089 243.1)
XYZxyz(6.7015, 7.4239, 19.1652)
Luminance0.0742 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#155179 #793D15
analogous
#15796F #155179 #151F79
triadic
#155179 #791551 #517915
tetradic
#155179 #6F1579 #793D15 #1F7915
square
#155179 #6F1579 #793D15 #1F7915
split-complementary
#155179 #79151F #796F15
monochromatic
#05111A #0C2E45 #155179 #1E74AD #2E95DB

Accessibility & contrast

On white

8.45
#155179 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#155179 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #155179
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##155179#FFFFFF#000000##FFFFFF
##1551791.008.452.498.45
#FFFFFF8.451.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E527B
Deuteranopia (green-blind)
#304978
Tritanopia (blue-blind)
#005B5F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #155179;
/* rgb */ color: rgb(21, 81, 121);
/* oklch */ color: oklch(41.8% 0.089 243.1);
Tailwind
colors: {
  custom: {
    50: '#6481a0',
    500: '#155179',
    950: '#000000',
  },
}
SCSS
$custom: #155179;
$custom-light: #6481a0;
$custom-dark: #000000;
JSON
{
  "hex": "#155179",
  "rgb": {
    "r": 21,
    "g": 81,
    "b": 121
  },
  "hsl": {
    "h": 204,
    "s": 70.423,
    "l": 27.843
  },
  "oklch": {
    "l": 0.41816,
    "c": 0.08922,
    "h": 243.1
  },
  "luminance": 0.07425
}

Semantic roles & 50–950 ramp

primary
#155179
secondary
#AF693B
accent
#823BED
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#060A0E
muted
#7A7C7E

Preview Lab

Preview with #155179

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

Preview Lab → · Contrast checker → · Palette generator →

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