#162145#162145

#162145 is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.0% C 0.069 H 268.5°. Best body text is #FFFFFF at 15.70:1 contrast (WCAG AA passes).

Color values

HEX#162145
RGBrgb(22, 33, 69)
HSLhsl(226, 52%, 18%)
HSVhsv(226, 68%, 27%)
CMYKcmyk(68.1%, 52.2%, 0%, 72.9%)
CIE-LABlab(13.76, 8.59, -24.18)
CIE-LCHlch(13.76, 25.66, 289.56°)
OKLaboklab(25.96% -0.0018 -0.069)
OKLCHoklch(25.96% 0.069 268.5)
XYZxyz(1.9485, 1.6878, 5.8522)
Luminance0.0169 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162145 #453A16
analogous
#163845 #162145 #221645
triadic
#162145 #451621 #214516
tetradic
#162145 #451638 #453A16 #164522
square
#162145 #451638 #453A16 #164522
split-complementary
#162145 #452216 #384516
monochromatic
#070B17 #070B17 #162145 #253773 #344DA2

Accessibility & contrast

On white

15.70
#162145 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#162145 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162145
15.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162145#FFFFFF#000000##FFFFFF
##1621451.0015.701.3415.70
#FFFFFF15.701.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#102546
Deuteranopia (green-blind)
#082144
Tritanopia (blue-blind)
#00292F
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #162145;
/* rgb */ color: rgb(22, 33, 69);
/* oklch */ color: oklch(26.0% 0.069 268.5);
Tailwind
colors: {
  custom: {
    50: '#595b79',
    500: '#162145',
    950: '#000000',
  },
}
SCSS
$custom: #162145;
$custom-light: #595b79;
$custom-dark: #000000;
JSON
{
  "hex": "#162145",
  "rgb": {
    "r": 22,
    "g": 33,
    "b": 69
  },
  "hsl": {
    "h": 225.957,
    "s": 51.648,
    "l": 17.843
  },
  "oklch": {
    "l": 0.25961,
    "c": 0.06906,
    "h": 268.5
  },
  "luminance": 0.01688
}

Semantic roles & 50–950 ramp

primary
#162145
secondary
#7C6D3A
accent
#BA4DDB
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#040409
muted
#79797B

Preview Lab

Preview with #162145

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

Preview Lab → · Contrast checker → · Palette generator →

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