#162B40#162B40

#162B40 is a dark, muted cyan. Relative luminance 0.023; OKLCH L 28.2% C 0.047 H 249.8°. Best body text is #FFFFFF at 14.45:1 contrast (WCAG AA passes).

Color values

HEX#162B40
RGBrgb(22, 43, 64)
HSLhsl(210, 49%, 17%)
HSVhsv(210, 66%, 25%)
CMYKcmyk(65.6%, 32.8%, 0%, 74.9%)
CIE-LABlab(16.84, -0.80, -15.83)
CIE-LCHlch(16.84, 15.85, 267.12°)
OKLaboklab(28.25% -0.0163 -0.0445)
OKLCHoklch(28.25% 0.047 249.8)
XYZxyz(2.1198, 2.2683, 5.1756)
Luminance0.0227 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162B40 #402B16
analogous
#164040 #162B40 #161640
triadic
#162B40 #40162B #2B4016
tetradic
#162B40 #401640 #402B16 #164016
square
#162B40 #401640 #402B16 #164016
split-complementary
#162B40 #401616 #404016
monochromatic
#080F17 #080F17 #162B40 #264A6E #35689B

Accessibility & contrast

On white

14.45
#162B40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#162B40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162B40
14.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162B40#FFFFFF#000000##FFFFFF
##162B401.0014.451.4514.45
#FFFFFF14.451.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222C41
Deuteranopia (green-blind)
#1D2840
Tritanopia (blue-blind)
#003032
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #162b40;
/* rgb */ color: rgb(22, 43, 64);
/* oklch */ color: oklch(28.2% 0.047 249.8);
Tailwind
colors: {
  custom: {
    50: '#576475',
    500: '#162b40',
    950: '#000000',
  },
}
SCSS
$custom: #162b40;
$custom-light: #576475;
$custom-dark: #000000;
JSON
{
  "hex": "#162b40",
  "rgb": {
    "r": 22,
    "g": 43,
    "b": 64
  },
  "hsl": {
    "h": 210,
    "s": 48.837,
    "l": 16.863
  },
  "oklch": {
    "l": 0.28247,
    "c": 0.04745,
    "h": 249.8
  },
  "luminance": 0.02268
}

Semantic roles & 50–950 ramp

primary
#162B40
secondary
#77593B
accent
#944FD8
background
#F5F5F7
surface
#E9EAED
border
#C5C6C8
text
#030508
muted
#78797B

Preview Lab

Preview with #162B40

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

Preview Lab → · Contrast checker → · Palette generator →

#162B40 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva