#162940#162940

#162940 is a dark, muted cyan. Relative luminance 0.021; OKLCH L 27.7% C 0.050 H 254.1°. Best body text is #FFFFFF at 14.73:1 contrast (WCAG AA passes).

Color values

HEX#162940
RGBrgb(22, 41, 64)
HSLhsl(213, 49%, 17%)
HSVhsv(213, 66%, 25%)
CMYKcmyk(65.6%, 35.9%, 0%, 74.9%)
CIE-LABlab(16.14, 0.63, -16.93)
CIE-LCHlch(16.14, 16.94, 272.14°)
OKLaboklab(27.7% -0.0136 -0.0477)
OKLCHoklch(27.7% 0.05 254.1)
XYZxyz(2.0489, 2.1264, 5.1520)
Luminance0.0213 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162940 #402D16
analogous
#163E40 #162940 #181640
triadic
#162940 #401629 #294016
tetradic
#162940 #40163E #402D16 #164018
square
#162940 #40163E #402D16 #164018
split-complementary
#162940 #401816 #3E4016
monochromatic
#080F17 #080F17 #162940 #26466E #35639B

Accessibility & contrast

On white

14.73
#162940 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#162940 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162940
14.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162940#FFFFFF#000000##FFFFFF
##1629401.0014.731.4314.73
#FFFFFF14.731.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F2A41
Deuteranopia (green-blind)
#1A2640
Tritanopia (blue-blind)
#002E31
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #162940;
/* rgb */ color: rgb(22, 41, 64);
/* oklch */ color: oklch(27.7% 0.050 254.1);
Tailwind
colors: {
  custom: {
    50: '#576275',
    500: '#162940',
    950: '#000000',
  },
}
SCSS
$custom: #162940;
$custom-light: #576275;
$custom-dark: #000000;
JSON
{
  "hex": "#162940",
  "rgb": {
    "r": 22,
    "g": 41,
    "b": 64
  },
  "hsl": {
    "h": 212.857,
    "s": 48.837,
    "l": 16.863
  },
  "oklch": {
    "l": 0.27699,
    "c": 0.04965,
    "h": 254.1
  },
  "luminance": 0.02127
}

Semantic roles & 50–950 ramp

primary
#162940
secondary
#775C3B
accent
#9A4FD8
background
#F5F5F7
surface
#E9EAED
border
#C5C6C8
text
#030508
muted
#78797B

Preview Lab

Preview with #162940

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

Preview Lab → · Contrast checker → · Palette generator →

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