#145171#145171

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

Color values

HEX#145171
RGBrgb(20, 81, 113)
HSLhsl(201, 70%, 26%)
HSVhsv(201, 82%, 44%)
CMYKcmyk(82.3%, 28.3%, 0%, 55.7%)
CIE-LABlab(32.31, -6.86, -23.73)
CIE-LCHlch(32.31, 24.70, 253.87°)
OKLaboklab(41.33% -0.0437 -0.067)
OKLCHoklch(41.33% 0.08 236.9)
XYZxyz(6.2104, 7.2251, 16.6868)
Luminance0.0723 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#145171 #713414
analogous
#147162 #145171 #142271
triadic
#145171 #711451 #517114
tetradic
#145171 #621471 #713414 #227114
square
#145171 #621471 #713414 #227114
split-complementary
#145171 #711422 #716214
monochromatic
#05131A #0B2C3D #145171 #1D76A5 #279BD9

Accessibility & contrast

On white

8.59
#145171 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #145171
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##145171#FFFFFF#000000##FFFFFF
##1451711.008.592.458.59
#FFFFFF8.591.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.591.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: #145171;
/* rgb */ color: rgb(20, 81, 113);
/* oklch */ color: oklch(41.3% 0.080 236.9);
Tailwind
colors: {
  custom: {
    50: '#62819a',
    500: '#145171',
    950: '#000000',
  },
}
SCSS
$custom: #145171;
$custom-light: #62819a;
$custom-dark: #000000;
JSON
{
  "hex": "#145171",
  "rgb": {
    "r": 20,
    "g": 81,
    "b": 113
  },
  "hsl": {
    "h": 200.645,
    "s": 69.925,
    "l": 26.078
  },
  "oklch": {
    "l": 0.41325,
    "c": 0.08001,
    "h": 236.9
  },
  "luminance": 0.07226
}

Semantic roles & 50–950 ramp

primary
#145171
secondary
#A75F39
accent
#783BED
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#060A0E
muted
#7A7C7E

Preview Lab

Preview with #145171

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

Preview Lab → · Contrast checker → · Palette generator →

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