#185F7D#185F7D

#185F7D is a mid, moderate cyan. Relative luminance 0.099; OKLCH L 45.7% C 0.083 H 231.3°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#185F7D
RGBrgb(24, 95, 125)
HSLhsl(198, 68%, 29%)
HSVhsv(198, 81%, 49%)
CMYKcmyk(80.8%, 24%, 0%, 51%)
CIE-LABlab(37.59, -10.32, -22.92)
CIE-LCHlch(37.59, 25.14, 245.76°)
OKLaboklab(45.74% -0.0517 -0.0645)
OKLCHoklch(45.74% 0.083 231.3)
XYZxyz(8.1691, 9.8583, 20.8704)
Luminance0.0986 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#185F7D #7D3618
analogous
#187D69 #185F7D #182D7D
triadic
#185F7D #7D185F #5F7D18
tetradic
#185F7D #69187D #7D3618 #2D7D18
square
#185F7D #69187D #7D3618 #2D7D18
split-complementary
#185F7D #7D182D #7D6918
monochromatic
#05141A #0E384A #185F7D #2286B0 #37A9D9

Accessibility & contrast

On white

7.07
#185F7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#185F7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #185F7D
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##185F7D#FFFFFF#000000##FFFFFF
##185F7D1.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#505E7E
Deuteranopia (green-blind)
#42547D
Tritanopia (blue-blind)
#006769
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #185f7d;
/* rgb */ color: rgb(24, 95, 125);
/* oklch */ color: oklch(45.7% 0.083 231.3);
Tailwind
colors: {
  custom: {
    50: '#668ca2',
    500: '#185f7d',
    950: '#000000',
  },
}
SCSS
$custom: #185f7d;
$custom-light: #668ca2;
$custom-dark: #000000;
JSON
{
  "hex": "#185f7d",
  "rgb": {
    "r": 24,
    "g": 95,
    "b": 125
  },
  "hsl": {
    "h": 197.822,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.45743,
    "c": 0.0827,
    "h": 231.3
  },
  "luminance": 0.09859
}

Semantic roles & 50–950 ramp

primary
#185F7D
secondary
#B2613F
accent
#713DEB
background
#F6F8FA
surface
#EBF0F3
border
#C6CBCD
text
#070C0F
muted
#7A7D7F

Preview Lab

Preview with #185F7D

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

Preview Lab → · Contrast checker → · Palette generator →

#185F7D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva