#162F68#162F68

#162F68 is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.2% C 0.105 H 263.7°. Best body text is #FFFFFF at 12.80:1 contrast (WCAG AA passes).

Color values

HEX#162F68
RGBrgb(22, 47, 104)
HSLhsl(222, 65%, 25%)
HSVhsv(222, 79%, 41%)
CMYKcmyk(78.8%, 54.8%, 0%, 59.2%)
CIE-LABlab(20.84, 12.86, -36.24)
CIE-LCHlch(20.84, 38.45, 289.54°)
OKLaboklab(32.21% -0.0115 -0.1043)
OKLCHoklch(32.21% 0.105 263.7)
XYZxyz(3.8452, 3.2027, 13.5095)
Luminance0.0320 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162F68 #684F16
analogous
#165868 #162F68 #261668
triadic
#162F68 #68162F #2F6816
tetradic
#162F68 #681658 #684F16 #166826
square
#162F68 #681658 #684F16 #166826
split-complementary
#162F68 #682616 #586816
monochromatic
#050B19 #0B1835 #162F68 #21469B #2B5DCD

Accessibility & contrast

On white

12.80
#162F68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#162F68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162F68
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162F68#FFFFFF#000000##FFFFFF
##162F681.0012.801.6412.80
#FFFFFF12.801.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09366A
Deuteranopia (green-blind)
#002F67
Tritanopia (blue-blind)
#003D46
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #162f68;
/* rgb */ color: rgb(22, 47, 104);
/* oklch */ color: oklch(32.2% 0.105 263.7);
Tailwind
colors: {
  custom: {
    50: '#616794',
    500: '#162f68',
    950: '#000000',
  },
}
SCSS
$custom: #162f68;
$custom-light: #616794;
$custom-dark: #000000;
JSON
{
  "hex": "#162f68",
  "rgb": {
    "r": 22,
    "g": 47,
    "b": 104
  },
  "hsl": {
    "h": 221.707,
    "s": 65.079,
    "l": 24.706
  },
  "oklch": {
    "l": 0.32207,
    "c": 0.10491,
    "h": 263.7
  },
  "luminance": 0.03203
}

Semantic roles & 50–950 ramp

primary
#162F68
secondary
#9F803B
accent
#B540E8
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#05060D
muted
#7A7A7E

Preview Lab

Preview with #162F68

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

Preview Lab → · Contrast checker → · Palette generator →

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