#164271#164271

#164271 is a dark, moderate cyan. Relative luminance 0.053; OKLCH L 37.5% C 0.094 H 252.9°. Best body text is #FFFFFF at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#164271
RGBrgb(22, 66, 113)
HSLhsl(211, 67%, 26%)
HSVhsv(211, 81%, 44%)
CMYKcmyk(80.5%, 41.6%, 0%, 55.7%)
CIE-LABlab(27.46, 3.20, -31.39)
CIE-LCHlch(27.46, 31.55, 275.82°)
OKLaboklab(37.51% -0.0275 -0.0896)
OKLCHoklch(37.51% 0.094 252.9)
XYZxyz(5.2586, 5.2586, 16.3575)
Luminance0.0526 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#164271 #714516
analogous
#167071 #164271 #181671
triadic
#164271 #711642 #427116
tetradic
#164271 #711670 #714516 #167118
square
#164271 #711670 #714516 #167118
split-complementary
#164271 #711816 #707116
monochromatic
#050F1A #0C243E #164271 #2060A4 #2C7ED6

Accessibility & contrast

On white

10.23
#164271 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#164271 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #164271
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##164271#FFFFFF#000000##FFFFFF
##1642711.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4573
Deuteranopia (green-blind)
#1D3D70
Tritanopia (blue-blind)
#004D54
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #164271;
/* rgb */ color: rgb(22, 66, 113);
/* oklch */ color: oklch(37.5% 0.094 252.9);
Tailwind
colors: {
  custom: {
    50: '#62759a',
    500: '#164271',
    950: '#000000',
  },
}
SCSS
$custom: #164271;
$custom-light: #62759a;
$custom-dark: #000000;
JSON
{
  "hex": "#164271",
  "rgb": {
    "r": 22,
    "g": 66,
    "b": 113
  },
  "hsl": {
    "h": 210.989,
    "s": 67.407,
    "l": 26.471
  },
  "oklch": {
    "l": 0.37514,
    "c": 0.09376,
    "h": 252.9
  },
  "luminance": 0.05259
}

Semantic roles & 50–950 ramp

primary
#164271
secondary
#A7733C
accent
#973EEA
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06080E
muted
#7A7B7E

Preview Lab

Preview with #164271

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

Preview Lab → · Contrast checker → · Palette generator →

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