#162045#162045

#162045 is a dark, moderate blue. Relative luminance 0.016; OKLCH L 25.7% C 0.071 H 269.5°. Best body text is #FFFFFF at 15.83:1 contrast (WCAG AA passes).

Color values

HEX#162045
RGBrgb(22, 32, 69)
HSLhsl(227, 52%, 18%)
HSVhsv(227, 68%, 27%)
CMYKcmyk(68.1%, 53.6%, 0%, 72.9%)
CIE-LABlab(13.43, 9.35, -24.70)
CIE-LCHlch(13.43, 26.41, 290.73°)
OKLaboklab(25.71% -0.0006 -0.0706)
OKLCHoklch(25.71% 0.071 269.5)
XYZxyz(1.9212, 1.6331, 5.8430)
Luminance0.0163 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162045 #453B16
analogous
#163745 #162045 #231645
triadic
#162045 #451620 #204516
tetradic
#162045 #451637 #453B16 #164523
square
#162045 #451637 #453B16 #164523
split-complementary
#162045 #452316 #374516
monochromatic
#070B17 #070B17 #162045 #253673 #344BA2

Accessibility & contrast

On white

15.83
#162045 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#162045 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162045
15.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162045#FFFFFF#000000##FFFFFF
##1620451.0015.831.3315.83
#FFFFFF15.831.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E2546
Deuteranopia (green-blind)
#062044
Tritanopia (blue-blind)
#00282F
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #162045;
/* rgb */ color: rgb(22, 32, 69);
/* oklch */ color: oklch(25.7% 0.071 269.5);
Tailwind
colors: {
  custom: {
    50: '#595b79',
    500: '#162045',
    950: '#000000',
  },
}
SCSS
$custom: #162045;
$custom-light: #595b79;
$custom-dark: #000000;
JSON
{
  "hex": "#162045",
  "rgb": {
    "r": 22,
    "g": 32,
    "b": 69
  },
  "hsl": {
    "h": 227.234,
    "s": 51.648,
    "l": 17.843
  },
  "oklch": {
    "l": 0.25713,
    "c": 0.07058,
    "h": 269.5
  },
  "luminance": 0.01633
}

Semantic roles & 50–950 ramp

primary
#162045
secondary
#7C6E3A
accent
#BD4DDB
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#040409
muted
#79797B

Preview Lab

Preview with #162045

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

Preview Lab → · Contrast checker → · Palette generator →

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