#164274#164274

#164274 is a dark, moderate cyan. Relative luminance 0.053; OKLCH L 37.7% C 0.098 H 254.2°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#164274
RGBrgb(22, 66, 116)
HSLhsl(212, 68%, 27%)
HSVhsv(212, 81%, 45%)
CMYKcmyk(81%, 43.1%, 0%, 54.5%)
CIE-LABlab(27.65, 4.44, -32.99)
CIE-LCHlch(27.65, 33.29, 277.66°)
OKLaboklab(37.72% -0.0268 -0.0943)
OKLCHoklch(37.72% 0.098 254.2)
XYZxyz(5.4303, 5.3273, 17.2617)
Luminance0.0533 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#164274 #744816
analogous
#167174 #164274 #191674
triadic
#164274 #741642 #427416
tetradic
#164274 #741671 #744816 #167419
square
#164274 #741671 #744816 #167419
split-complementary
#164274 #741916 #717416
monochromatic
#050F1A #0C2541 #164274 #205FA7 #2D7DD7

Accessibility & contrast

On white

10.17
#164274 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#164274 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #164274
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##164274#FFFFFF#000000##FFFFFF
##1642741.0010.172.0710.17
#FFFFFF10.171.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4676
Deuteranopia (green-blind)
#193D73
Tritanopia (blue-blind)
#004E55
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #164274;
/* rgb */ color: rgb(22, 66, 116);
/* oklch */ color: oklch(37.7% 0.098 254.2);
Tailwind
colors: {
  custom: {
    50: '#63759c',
    500: '#164274',
    950: '#000000',
  },
}
SCSS
$custom: #164274;
$custom-light: #63759c;
$custom-dark: #000000;
JSON
{
  "hex": "#164274",
  "rgb": {
    "r": 22,
    "g": 66,
    "b": 116
  },
  "hsl": {
    "h": 211.915,
    "s": 68.116,
    "l": 27.059
  },
  "oklch": {
    "l": 0.37722,
    "c": 0.09805,
    "h": 254.2
  },
  "luminance": 0.05328
}

Semantic roles & 50–950 ramp

primary
#164274
secondary
#AA763C
accent
#993DEB
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06080E
muted
#7A7B7E

Preview Lab

Preview with #164274

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

Preview Lab → · Contrast checker → · Palette generator →

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