#185271#185271

#185271 is a dark, moderate cyan. Relative luminance 0.074; OKLCH L 41.7% C 0.078 H 236.7°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#185271
RGBrgb(24, 82, 113)
HSLhsl(201, 65%, 27%)
HSVhsv(201, 79%, 44%)
CMYKcmyk(78.8%, 27.4%, 0%, 55.7%)
CIE-LABlab(32.75, -6.98, -23.05)
CIE-LCHlch(32.75, 24.08, 253.16°)
OKLaboklab(41.7% -0.0427 -0.065)
OKLCHoklch(41.7% 0.078 236.7)
XYZxyz(6.3734, 7.4203, 16.7159)
Luminance0.0742 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#185271 #713718
analogous
#187164 #185271 #182571
triadic
#185271 #711852 #527118
tetradic
#185271 #641871 #713718 #257118
square
#185271 #641871 #713718 #257118
split-complementary
#185271 #711825 #716418
monochromatic
#051219 #0D2D3F #185271 #2377A3 #309AD3

Accessibility & contrast

On white

8.45
#185271 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#185271 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #185271
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##185271#FFFFFF#000000##FFFFFF
##1852711.008.452.488.45
#FFFFFF8.451.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435272
Deuteranopia (green-blind)
#374970
Tritanopia (blue-blind)
#005A5D
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #185271;
/* rgb */ color: rgb(24, 82, 113);
/* oklch */ color: oklch(41.7% 0.078 236.7);
Tailwind
colors: {
  custom: {
    50: '#63829a',
    500: '#185271',
    950: '#000000',
  },
}
SCSS
$custom: #185271;
$custom-light: #63829a;
$custom-dark: #000000;
JSON
{
  "hex": "#185271",
  "rgb": {
    "r": 24,
    "g": 82,
    "b": 113
  },
  "hsl": {
    "h": 200.899,
    "s": 64.964,
    "l": 26.863
  },
  "oklch": {
    "l": 0.41696,
    "c": 0.07779,
    "h": 236.7
  },
  "luminance": 0.07421
}

Semantic roles & 50–950 ramp

primary
#185271
secondary
#A6633E
accent
#7A40E8
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#060A0E
muted
#7A7C7E

Preview Lab

Preview with #185271

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

Preview Lab → · Contrast checker → · Palette generator →

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