#162364#162364

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

Color values

HEX#162364
RGBrgb(22, 35, 100)
HSLhsl(230, 64%, 24%)
HSVhsv(230, 78%, 39%)
CMYKcmyk(78%, 65%, 0%, 60.8%)
CIE-LABlab(16.95, 19.94, -39.94)
CIE-LCHlch(16.95, 44.64, 296.53°)
OKLaboklab(29.18% -0.0017 -0.1153)
OKLCHoklch(29.18% 0.115 269.2)
XYZxyz(3.2314, 2.2924, 12.3263)
Luminance0.0229 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162364 #645716
analogous
#164A64 #162364 #301664
triadic
#162364 #641623 #236416
tetradic
#162364 #64164A #645716 #166430
square
#162364 #64164A #645716 #166430
split-complementary
#162364 #643016 #4A6416
monochromatic
#060919 #0B1132 #162364 #213596 #2C46C8

Accessibility & contrast

On white

14.40
#162364 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#162364 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162364
14.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162364#FFFFFF#000000##FFFFFF
##1623641.0014.401.4614.40
#FFFFFF14.401.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D66
Deuteranopia (green-blind)
#002663
Tritanopia (blue-blind)
#00343F
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #162364;
/* rgb */ color: rgb(22, 35, 100);
/* oklch */ color: oklch(29.2% 0.115 269.2);
Tailwind
colors: {
  custom: {
    50: '#605d91',
    500: '#162364',
    950: '#000000',
  },
}
SCSS
$custom: #162364;
$custom-light: #605d91;
$custom-dark: #000000;
JSON
{
  "hex": "#162364",
  "rgb": {
    "r": 22,
    "g": 35,
    "b": 100
  },
  "hsl": {
    "h": 230,
    "s": 63.934,
    "l": 23.922
  },
  "oklch": {
    "l": 0.29182,
    "c": 0.11535,
    "h": 269.2
  },
  "luminance": 0.02293
}

Semantic roles & 50–950 ramp

primary
#162364
secondary
#9B8B3B
accent
#CB41E7
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#05040D
muted
#79797E

Preview Lab

Preview with #162364

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

Preview Lab → · Contrast checker → · Palette generator →

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