#162367#162367

#162367 is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.5% C 0.120 H 269.2°. Best body text is #FFFFFF at 14.28:1 contrast (WCAG AA passes).

Color values

HEX#162367
RGBrgb(22, 35, 103)
HSLhsl(230, 65%, 25%)
HSVhsv(230, 79%, 40%)
CMYKcmyk(78.6%, 66%, 0%, 59.6%)
CIE-LABlab(17.23, 21.16, -41.45)
CIE-LCHlch(17.23, 46.54, 297.05°)
OKLaboklab(29.48% -0.0017 -0.1198)
OKLCHoklch(29.48% 0.12 269.2)
XYZxyz(3.3792, 2.3515, 13.1051)
Luminance0.0235 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162367 #675A16
analogous
#164C67 #162367 #311667
triadic
#162367 #671623 #236716
tetradic
#162367 #67164C #675A16 #166731
square
#162367 #67164C #675A16 #166731
split-complementary
#162367 #673116 #4C6716
monochromatic
#050919 #0B1235 #162367 #213499 #2C45CC

Accessibility & contrast

On white

14.28
#162367 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#162367 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162367
14.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162367#FFFFFF#000000##FFFFFF
##1623671.0014.281.4714.28
#FFFFFF14.281.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E69
Deuteranopia (green-blind)
#002766
Tritanopia (blue-blind)
#003541
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #162367;
/* rgb */ color: rgb(22, 35, 103);
/* oklch */ color: oklch(29.5% 0.120 269.2);
Tailwind
colors: {
  custom: {
    50: '#615d93',
    500: '#162367',
    950: '#000000',
  },
}
SCSS
$custom: #162367;
$custom-light: #615d93;
$custom-dark: #000000;
JSON
{
  "hex": "#162367",
  "rgb": {
    "r": 22,
    "g": 35,
    "b": 103
  },
  "hsl": {
    "h": 230.37,
    "s": 64.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.29477,
    "c": 0.11979,
    "h": 269.2
  },
  "luminance": 0.02352
}

Semantic roles & 50–950 ramp

primary
#162367
secondary
#9E8E3B
accent
#CD40E8
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06040D
muted
#7A797E

Preview Lab

Preview with #162367

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

Preview Lab → · Contrast checker → · Palette generator →

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