#162A45#162A45

#162A45 is a dark, muted cyan. Relative luminance 0.023; OKLCH L 28.3% C 0.056 H 256.4°. Best body text is #FFFFFF at 14.47:1 contrast (WCAG AA passes).

Color values

HEX#162A45
RGBrgb(22, 42, 69)
HSLhsl(214, 52%, 18%)
HSVhsv(214, 68%, 27%)
CMYKcmyk(68.1%, 39.1%, 0%, 72.9%)
CIE-LABlab(16.78, 1.91, -19.37)
CIE-LCHlch(16.78, 19.46, 275.64°)
OKLaboklab(28.3% -0.0133 -0.0548)
OKLCHoklch(28.3% 0.056 256.4)
XYZxyz(2.2326, 2.2560, 5.9469)
Luminance0.0226 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162A45 #453116
analogous
#164145 #162A45 #191645
triadic
#162A45 #45162A #2A4516
tetradic
#162A45 #451641 #453116 #164519
square
#162A45 #451641 #453116 #164519
split-complementary
#162A45 #451916 #414516
monochromatic
#070E17 #070E17 #162A45 #254673 #3462A2

Accessibility & contrast

On white

14.47
#162A45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #162A45
14.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162A45#FFFFFF#000000##FFFFFF
##162A451.0014.471.4514.47
#FFFFFF14.471.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F2C46
Deuteranopia (green-blind)
#182744
Tritanopia (blue-blind)
#003034
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #162a45;
/* rgb */ color: rgb(22, 42, 69);
/* oklch */ color: oklch(28.3% 0.056 256.4);
Tailwind
colors: {
  custom: {
    50: '#586379',
    500: '#162a45',
    950: '#000000',
  },
}
SCSS
$custom: #162a45;
$custom-light: #586379;
$custom-dark: #000000;
JSON
{
  "hex": "#162a45",
  "rgb": {
    "r": 22,
    "g": 42,
    "b": 69
  },
  "hsl": {
    "h": 214.468,
    "s": 51.648,
    "l": 17.843
  },
  "oklch": {
    "l": 0.28295,
    "c": 0.05642,
    "h": 256.4
  },
  "luminance": 0.02256
}

Semantic roles & 50–950 ramp

primary
#162A45
secondary
#7C603A
accent
#9F4DDB
background
#F5F5F7
surface
#E9EAED
border
#C5C6C8
text
#040509
muted
#79797B

Preview Lab

Preview with #162A45

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

Preview Lab → · Contrast checker → · Palette generator →

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