#162D68#162D68

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

Color values

HEX#162D68
RGBrgb(22, 45, 104)
HSLhsl(223, 65%, 25%)
HSVhsv(223, 79%, 41%)
CMYKcmyk(78.8%, 56.7%, 0%, 59.2%)
CIE-LABlab(20.23, 14.32, -37.22)
CIE-LCHlch(20.23, 39.88, 291.04°)
OKLaboklab(31.75% -0.0097 -0.1072)
OKLCHoklch(31.75% 0.108 264.8)
XYZxyz(3.7671, 3.0464, 13.4835)
Luminance0.0305 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162D68 #685116
analogous
#165668 #162D68 #281668
triadic
#162D68 #68162D #2D6816
tetradic
#162D68 #681656 #685116 #166828
square
#162D68 #681656 #685116 #166828
split-complementary
#162D68 #682816 #566816
monochromatic
#050B19 #0B1735 #162D68 #21439B #2B59CD

Accessibility & contrast

On white

13.05
#162D68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #162D68
13.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162D68#FFFFFF#000000##FFFFFF
##162D681.0013.051.6113.05
#FFFFFF13.051.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02356A
Deuteranopia (green-blind)
#002D67
Tritanopia (blue-blind)
#003B45
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #162d68;
/* rgb */ color: rgb(22, 45, 104);
/* oklch */ color: oklch(31.7% 0.108 264.8);
Tailwind
colors: {
  custom: {
    50: '#616594',
    500: '#162d68',
    950: '#000000',
  },
}
SCSS
$custom: #162d68;
$custom-light: #616594;
$custom-dark: #000000;
JSON
{
  "hex": "#162d68",
  "rgb": {
    "r": 22,
    "g": 45,
    "b": 104
  },
  "hsl": {
    "h": 223.171,
    "s": 65.079,
    "l": 24.706
  },
  "oklch": {
    "l": 0.31745,
    "c": 0.10766,
    "h": 264.8
  },
  "luminance": 0.03047
}

Semantic roles & 50–950 ramp

primary
#162D68
secondary
#9F833B
accent
#B940E8
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#05050D
muted
#7A7A7E

Preview Lab

Preview with #162D68

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

Preview Lab → · Contrast checker → · Palette generator →

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