#162945#162945

#162945 is a dark, muted blue. Relative luminance 0.022; OKLCH L 28.0% C 0.058 H 258.0°. Best body text is #FFFFFF at 14.61:1 contrast (WCAG AA passes).

Color values

HEX#162945
RGBrgb(22, 41, 69)
HSLhsl(216, 52%, 18%)
HSVhsv(216, 68%, 27%)
CMYKcmyk(68.1%, 40.6%, 0%, 72.9%)
CIE-LABlab(16.43, 2.64, -19.91)
CIE-LCHlch(16.43, 20.09, 277.55°)
OKLaboklab(28.03% -0.012 -0.0564)
OKLCHoklch(28.03% 0.058 258)
XYZxyz(2.1976, 2.1859, 5.9352)
Luminance0.0219 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162945 #453216
analogous
#164045 #162945 #1B1645
triadic
#162945 #451629 #294516
tetradic
#162945 #451640 #453216 #16451B
square
#162945 #451640 #453216 #16451B
split-complementary
#162945 #451B16 #404516
monochromatic
#070E17 #070E17 #162945 #254573 #3460A2

Accessibility & contrast

On white

14.61
#162945 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#162945 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162945
14.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162945#FFFFFF#000000##FFFFFF
##1629451.0014.611.4414.61
#FFFFFF14.611.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2B46
Deuteranopia (green-blind)
#172744
Tritanopia (blue-blind)
#002F33
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #162945;
/* rgb */ color: rgb(22, 41, 69);
/* oklch */ color: oklch(28.0% 0.058 258.0);
Tailwind
colors: {
  custom: {
    50: '#586279',
    500: '#162945',
    950: '#000000',
  },
}
SCSS
$custom: #162945;
$custom-light: #586279;
$custom-dark: #000000;
JSON
{
  "hex": "#162945",
  "rgb": {
    "r": 22,
    "g": 41,
    "b": 69
  },
  "hsl": {
    "h": 215.745,
    "s": 51.648,
    "l": 17.843
  },
  "oklch": {
    "l": 0.28028,
    "c": 0.05769,
    "h": 258
  },
  "luminance": 0.02186
}

Semantic roles & 50–950 ramp

primary
#162945
secondary
#7C623A
accent
#A24DDB
background
#F5F5F7
surface
#E9EAED
border
#C5C6C8
text
#040509
muted
#79797B

Preview Lab

Preview with #162945

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

Preview Lab → · Contrast checker → · Palette generator →

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