#145172#145172

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

Color values

HEX#145172
RGBrgb(20, 81, 114)
HSLhsl(201, 70%, 26%)
HSVhsv(201, 82%, 45%)
CMYKcmyk(82.5%, 28.9%, 0%, 55.3%)
CIE-LABlab(32.36, -6.47, -24.28)
CIE-LCHlch(32.36, 25.12, 255.08°)
OKLaboklab(41.38% -0.0433 -0.0686)
OKLCHoklch(41.38% 0.081 237.7)
XYZxyz(6.2670, 7.2477, 16.9850)
Luminance0.0725 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#145172 #723514
analogous
#147264 #145172 #142272
triadic
#145172 #721451 #517214
tetradic
#145172 #641472 #723514 #227214
square
#145172 #641472 #723514 #227214
split-complementary
#145172 #721422 #726414
monochromatic
#05121A #0B2C3E #145172 #1D76A6 #279BD9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##145172#FFFFFF#000000##FFFFFF
##1451721.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: #145172;
/* rgb */ color: rgb(20, 81, 114);
/* oklch */ color: oklch(41.4% 0.081 237.7);
Tailwind
colors: {
  custom: {
    50: '#62819a',
    500: '#145172',
    950: '#000000',
  },
}
SCSS
$custom: #145172;
$custom-light: #62819a;
$custom-dark: #000000;
JSON
{
  "hex": "#145172",
  "rgb": {
    "r": 20,
    "g": 81,
    "b": 114
  },
  "hsl": {
    "h": 201.064,
    "s": 70.149,
    "l": 26.275
  },
  "oklch": {
    "l": 0.41382,
    "c": 0.08116,
    "h": 237.7
  },
  "luminance": 0.07248
}

Semantic roles & 50–950 ramp

primary
#145172
secondary
#A86039
accent
#793BED
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#060A0E
muted
#7A7C7E

Preview Lab

Preview with #145172

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

Preview Lab → · Contrast checker → · Palette generator →

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