#162362#162362

#162362 is a dark, moderate blue. Relative luminance 0.023; OKLCH L 29.0% C 0.112 H 269.2°. Best body text is #FFFFFF at 14.47:1 contrast (WCAG AA passes).

Color values

HEX#162362
RGBrgb(22, 35, 98)
HSLhsl(230, 63%, 24%)
HSVhsv(230, 78%, 38%)
CMYKcmyk(77.6%, 64.3%, 0%, 61.6%)
CIE-LABlab(16.77, 19.12, -38.92)
CIE-LCHlch(16.77, 43.36, 296.17°)
OKLaboklab(28.99% -0.0016 -0.1124)
OKLCHoklch(28.99% 0.112 269.2)
XYZxyz(3.1358, 2.2542, 11.8227)
Luminance0.0225 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162362 #625516
analogous
#164962 #162362 #2F1662
triadic
#162362 #621623 #236216
tetradic
#162362 #621649 #625516 #16622F
square
#162362 #621649 #625516 #16622F
split-complementary
#162362 #622F16 #496216
monochromatic
#060919 #0B1130 #162362 #213594 #2C47C6

Accessibility & contrast

On white

14.47
#162362 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#162362 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162362
14.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162362#FFFFFF#000000##FFFFFF
##1623621.0014.471.4514.47
#FFFFFF14.471.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D64
Deuteranopia (green-blind)
#002661
Tritanopia (blue-blind)
#00333E
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #162362;
/* rgb */ color: rgb(22, 35, 98);
/* oklch */ color: oklch(29.0% 0.112 269.2);
Tailwind
colors: {
  custom: {
    50: '#605d8f',
    500: '#162362',
    950: '#000000',
  },
}
SCSS
$custom: #162362;
$custom-light: #605d8f;
$custom-dark: #000000;
JSON
{
  "hex": "#162362",
  "rgb": {
    "r": 22,
    "g": 35,
    "b": 98
  },
  "hsl": {
    "h": 229.737,
    "s": 63.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.28988,
    "c": 0.11237,
    "h": 269.2
  },
  "luminance": 0.02254
}

Semantic roles & 50–950 ramp

primary
#162362
secondary
#99893B
accent
#CA41E6
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05040C
muted
#7A797D

Preview Lab

Preview with #162362

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

Preview Lab → · Contrast checker → · Palette generator →

#162362 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva