#162B68#162B68

#162B68 is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.3% C 0.110 H 265.8°. Best body text is #FFFFFF at 13.29:1 contrast (WCAG AA passes).

Color values

HEX#162B68
RGBrgb(22, 43, 104)
HSLhsl(225, 65%, 25%)
HSVhsv(225, 79%, 41%)
CMYKcmyk(78.8%, 58.7%, 0%, 59.2%)
CIE-LABlab(19.63, 15.77, -38.20)
CIE-LCHlch(19.63, 41.33, 292.44°)
OKLaboklab(31.29% -0.008 -0.1101)
OKLCHoklch(31.29% 0.11 265.8)
XYZxyz(3.6926, 2.8974, 13.4587)
Luminance0.0290 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162B68 #685316
analogous
#165468 #162B68 #2A1668
triadic
#162B68 #68162B #2B6816
tetradic
#162B68 #681654 #685316 #16682A
square
#162B68 #681654 #685316 #16682A
split-complementary
#162B68 #682A16 #546816
monochromatic
#050A19 #0B1635 #162B68 #21409B #2B55CD

Accessibility & contrast

On white

13.29
#162B68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#162B68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162B68
13.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162B68#FFFFFF#000000##FFFFFF
##162B681.0013.291.5813.29
#FFFFFF13.291.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00336A
Deuteranopia (green-blind)
#002C67
Tritanopia (blue-blind)
#003A45
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #162b68;
/* rgb */ color: rgb(22, 43, 104);
/* oklch */ color: oklch(31.3% 0.110 265.8);
Tailwind
colors: {
  custom: {
    50: '#616394',
    500: '#162b68',
    950: '#000000',
  },
}
SCSS
$custom: #162b68;
$custom-light: #616394;
$custom-dark: #000000;
JSON
{
  "hex": "#162b68",
  "rgb": {
    "r": 22,
    "g": 43,
    "b": 104
  },
  "hsl": {
    "h": 224.634,
    "s": 65.079,
    "l": 24.706
  },
  "oklch": {
    "l": 0.31291,
    "c": 0.11041,
    "h": 265.8
  },
  "luminance": 0.02898
}

Semantic roles & 50–950 ramp

primary
#162B68
secondary
#9F853B
accent
#BD40E8
background
#F6F5F9
surface
#EBEAF1
border
#C6C6CB
text
#06050D
muted
#7A797E

Preview Lab

Preview with #162B68

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

Preview Lab → · Contrast checker → · Palette generator →

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