#162F64#162F64

#162F64 is a dark, moderate blue. Relative luminance 0.031; OKLCH L 31.9% C 0.099 H 263.0°. Best body text is #FFFFFF at 12.92:1 contrast (WCAG AA passes).

Color values

HEX#162F64
RGBrgb(22, 47, 100)
HSLhsl(221, 64%, 24%)
HSVhsv(221, 78%, 39%)
CMYKcmyk(78%, 53%, 0%, 60.8%)
CIE-LABlab(20.53, 11.18, -34.13)
CIE-LCHlch(20.53, 35.91, 288.14°)
OKLaboklab(31.87% -0.012 -0.0981)
OKLCHoklch(31.87% 0.099 263)
XYZxyz(3.6468, 3.1233, 12.4648)
Luminance0.0312 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162F64 #644B16
analogous
#165664 #162F64 #241664
triadic
#162F64 #64162F #2F6416
tetradic
#162F64 #641656 #644B16 #166424
square
#162F64 #641656 #644B16 #166424
split-complementary
#162F64 #642416 #566416
monochromatic
#060C19 #0B1732 #162F64 #214796 #2C5EC8

Accessibility & contrast

On white

12.92
#162F64 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#162F64 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162F64
12.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162F64#FFFFFF#000000##FFFFFF
##162F641.0012.921.6212.92
#FFFFFF12.921.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#103566
Deuteranopia (green-blind)
#002E63
Tritanopia (blue-blind)
#003C44
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #162f64;
/* rgb */ color: rgb(22, 47, 100);
/* oklch */ color: oklch(31.9% 0.099 263.0);
Tailwind
colors: {
  custom: {
    50: '#5f6790',
    500: '#162f64',
    950: '#000000',
  },
}
SCSS
$custom: #162f64;
$custom-light: #5f6790;
$custom-dark: #000000;
JSON
{
  "hex": "#162f64",
  "rgb": {
    "r": 22,
    "g": 47,
    "b": 100
  },
  "hsl": {
    "h": 220.769,
    "s": 63.934,
    "l": 23.922
  },
  "oklch": {
    "l": 0.31875,
    "c": 0.09879,
    "h": 263
  },
  "luminance": 0.03124
}

Semantic roles & 50–950 ramp

primary
#162F64
secondary
#9B7C3B
accent
#B241E7
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05060D
muted
#797A7D

Preview Lab

Preview with #162F64

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

Preview Lab → · Contrast checker → · Palette generator →

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