#185172#185172

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

Color values

HEX#185172
RGBrgb(24, 81, 114)
HSLhsl(202, 65%, 27%)
HSVhsv(202, 79%, 45%)
CMYKcmyk(78.9%, 28.9%, 0%, 55.3%)
CIE-LABlab(32.47, -5.96, -24.11)
CIE-LCHlch(32.47, 24.84, 256.11°)
OKLaboklab(41.49% -0.0413 -0.0681)
OKLCHoklch(41.49% 0.08 238.8)
XYZxyz(6.3552, 7.2932, 16.9891)
Luminance0.0729 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#185172 #723918
analogous
#187266 #185172 #182472
triadic
#185172 #721851 #517218
tetradic
#185172 #661872 #723918 #247218
square
#185172 #661872 #723918 #247218
split-complementary
#185172 #721824 #726618
monochromatic
#051219 #0D2D3F #185172 #2375A5 #3198D4

Accessibility & contrast

On white

8.54
#185172 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #185172
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##185172#FFFFFF#000000##FFFFFF
##1851721.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #185172;
/* rgb */ color: rgb(24, 81, 114);
/* oklch */ color: oklch(41.5% 0.080 238.8);
Tailwind
colors: {
  custom: {
    50: '#63819a',
    500: '#185172',
    950: '#000000',
  },
}
SCSS
$custom: #185172;
$custom-light: #63819a;
$custom-dark: #000000;
JSON
{
  "hex": "#185172",
  "rgb": {
    "r": 24,
    "g": 81,
    "b": 114
  },
  "hsl": {
    "h": 202,
    "s": 65.217,
    "l": 27.059
  },
  "oklch": {
    "l": 0.41491,
    "c": 0.07966,
    "h": 238.8
  },
  "luminance": 0.07294
}

Semantic roles & 50–950 ramp

primary
#185172
secondary
#A7653E
accent
#7D40E8
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#060A0E
muted
#7A7C7E

Preview Lab

Preview with #185172

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

Preview Lab → · Contrast checker → · Palette generator →

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