#155174#155174

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

Color values

HEX#155174
RGBrgb(21, 81, 116)
HSLhsl(202, 69%, 27%)
HSVhsv(202, 82%, 45%)
CMYKcmyk(81.9%, 30.2%, 0%, 54.5%)
CIE-LABlab(32.49, -5.56, -25.33)
CIE-LCHlch(32.49, 25.93, 257.61°)
OKLaboklab(41.52% -0.0421 -0.0717)
OKLCHoklch(41.52% 0.083 239.6)
XYZxyz(6.4028, 7.3045, 17.5921)
Luminance0.0731 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#155174 #743815
analogous
#157468 #155174 #152274
triadic
#155174 #741551 #517415
tetradic
#155174 #681574 #743815 #227415
square
#155174 #681574 #743815 #227415
split-complementary
#155174 #741522 #746815
monochromatic
#05121A #0C2D40 #155174 #1E75A8 #2B99D9

Accessibility & contrast

On white

8.53
#155174 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #155174
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##155174#FFFFFF#000000##FFFFFF
##1551741.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #155174;
/* rgb */ color: rgb(21, 81, 116);
/* oklch */ color: oklch(41.5% 0.083 239.6);
Tailwind
colors: {
  custom: {
    50: '#63819c',
    500: '#155174',
    950: '#000000',
  },
}
SCSS
$custom: #155174;
$custom-light: #63819c;
$custom-dark: #000000;
JSON
{
  "hex": "#155174",
  "rgb": {
    "r": 21,
    "g": 81,
    "b": 116
  },
  "hsl": {
    "h": 202.105,
    "s": 69.343,
    "l": 26.863
  },
  "oklch": {
    "l": 0.41522,
    "c": 0.08313,
    "h": 239.6
  },
  "luminance": 0.07305
}

Semantic roles & 50–950 ramp

primary
#155174
secondary
#AA643B
accent
#7D3CEC
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#060A0E
muted
#7A7C7E

Preview Lab

Preview with #155174

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

Preview Lab → · Contrast checker → · Palette generator →

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