#162C6B#162C6B

#162C6B is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.8% C 0.114 H 265.6°. Best body text is #FFFFFF at 13.07:1 contrast (WCAG AA passes).

Color values

HEX#162C6B
RGBrgb(22, 44, 107)
HSLhsl(224, 66%, 25%)
HSVhsv(224, 79%, 42%)
CMYKcmyk(79.4%, 58.9%, 0%, 58%)
CIE-LABlab(20.18, 16.30, -39.26)
CIE-LCHlch(20.18, 42.51, 292.54°)
OKLaboklab(31.78% -0.0086 -0.1132)
OKLCHoklch(31.78% 0.114 265.6)
XYZxyz(3.8845, 3.0330, 14.2878)
Luminance0.0303 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162C6B #6B5516
analogous
#16566B #162C6B #2B166B
triadic
#162C6B #6B162C #2C6B16
tetradic
#162C6B #6B1656 #6B5516 #166B2B
square
#162C6B #6B1656 #6B5516 #166B2B
split-complementary
#162C6B #6B2B16 #566B16
monochromatic
#050A19 #0C1738 #162C6B #20419E #2B56D1

Accessibility & contrast

On white

13.07
#162C6B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#162C6B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162C6B
13.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162C6B#FFFFFF#000000##FFFFFF
##162C6B1.0013.071.6113.07
#FFFFFF13.071.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00356D
Deuteranopia (green-blind)
#002D6A
Tritanopia (blue-blind)
#003C47
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #162c6b;
/* rgb */ color: rgb(22, 44, 107);
/* oklch */ color: oklch(31.8% 0.114 265.6);
Tailwind
colors: {
  custom: {
    50: '#626496',
    500: '#162c6b',
    950: '#000000',
  },
}
SCSS
$custom: #162c6b;
$custom-light: #626496;
$custom-dark: #000000;
JSON
{
  "hex": "#162c6b",
  "rgb": {
    "r": 22,
    "g": 44,
    "b": 107
  },
  "hsl": {
    "h": 224.471,
    "s": 65.891,
    "l": 25.294
  },
  "oklch": {
    "l": 0.31782,
    "c": 0.11355,
    "h": 265.6
  },
  "luminance": 0.03033
}

Semantic roles & 50–950 ramp

primary
#162C6B
secondary
#A1873B
accent
#BD3FE9
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050D
muted
#7A797E

Preview Lab

Preview with #162C6B

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

Preview Lab → · Contrast checker → · Palette generator →

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