#162B6C#162B6C

#162B6C is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.7% C 0.116 H 266.2°. Best body text is #FFFFFF at 13.16:1 contrast (WCAG AA passes).

Color values

HEX#162B6C
RGBrgb(22, 43, 108)
HSLhsl(225, 66%, 25%)
HSVhsv(225, 80%, 42%)
CMYKcmyk(79.6%, 60.2%, 0%, 57.6%)
CIE-LABlab(19.97, 17.44, -40.25)
CIE-LCHlch(19.97, 43.87, 293.43°)
OKLaboklab(31.65% -0.0078 -0.1161)
OKLCHoklch(31.65% 0.116 266.2)
XYZxyz(3.9006, 2.9806, 14.5542)
Luminance0.0298 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162B6C #6C5716
analogous
#16566C #162B6C #2C166C
triadic
#162B6C #6C162B #2B6C16
tetradic
#162B6C #6C1656 #6C5716 #166C2C
square
#162B6C #6C1656 #6C5716 #166C2C
split-complementary
#162B6C #6C2C16 #566C16
monochromatic
#050A19 #0C1739 #162B6C #203F9F #2B53D2

Accessibility & contrast

On white

13.16
#162B6C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#162B6C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162B6C
13.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162B6C#FFFFFF#000000##FFFFFF
##162B6C1.0013.161.6013.16
#FFFFFF13.161.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00346E
Deuteranopia (green-blind)
#002C6B
Tritanopia (blue-blind)
#003B47
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #162b6c;
/* rgb */ color: rgb(22, 43, 108);
/* oklch */ color: oklch(31.7% 0.116 266.2);
Tailwind
colors: {
  custom: {
    50: '#626397',
    500: '#162b6c',
    950: '#000000',
  },
}
SCSS
$custom: #162b6c;
$custom-light: #626397;
$custom-dark: #000000;
JSON
{
  "hex": "#162b6c",
  "rgb": {
    "r": 22,
    "g": 43,
    "b": 108
  },
  "hsl": {
    "h": 225.349,
    "s": 66.154,
    "l": 25.49
  },
  "oklch": {
    "l": 0.31651,
    "c": 0.11641,
    "h": 266.2
  },
  "luminance": 0.02981
}

Semantic roles & 50–950 ramp

primary
#162B6C
secondary
#A2893C
accent
#BF3FE9
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050D
muted
#7A797E

Preview Lab

Preview with #162B6C

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

Preview Lab → · Contrast checker → · Palette generator →

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