#162368#162368

#162368 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 29.6% C 0.121 H 269.2°. Best body text is #FFFFFF at 14.24:1 contrast (WCAG AA passes).

Color values

HEX#162368
RGBrgb(22, 35, 104)
HSLhsl(230, 65%, 25%)
HSVhsv(230, 79%, 41%)
CMYKcmyk(78.8%, 66.3%, 0%, 59.2%)
CIE-LABlab(17.33, 21.57, -41.95)
CIE-LCHlch(17.33, 47.17, 297.21°)
OKLaboklab(29.58% -0.0018 -0.1212)
OKLCHoklch(29.58% 0.121 269.2)
XYZxyz(3.4297, 2.3717, 13.3711)
Luminance0.0237 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162368 #685B16
analogous
#164C68 #162368 #321668
triadic
#162368 #681623 #236816
tetradic
#162368 #68164C #685B16 #166832
square
#162368 #68164C #685B16 #166832
split-complementary
#162368 #683216 #4C6816
monochromatic
#050819 #0B1235 #162368 #21349B #2B45CD

Accessibility & contrast

On white

14.24
#162368 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #162368
14.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162368#FFFFFF#000000##FFFFFF
##1623681.0014.241.4714.24
#FFFFFF14.241.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E6A
Deuteranopia (green-blind)
#002767
Tritanopia (blue-blind)
#003542
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #162368;
/* rgb */ color: rgb(22, 35, 104);
/* oklch */ color: oklch(29.6% 0.121 269.2);
Tailwind
colors: {
  custom: {
    50: '#625d94',
    500: '#162368',
    950: '#000000',
  },
}
SCSS
$custom: #162368;
$custom-light: #625d94;
$custom-dark: #000000;
JSON
{
  "hex": "#162368",
  "rgb": {
    "r": 22,
    "g": 35,
    "b": 104
  },
  "hsl": {
    "h": 230.488,
    "s": 65.079,
    "l": 24.706
  },
  "oklch": {
    "l": 0.29576,
    "c": 0.12125,
    "h": 269.2
  },
  "luminance": 0.02372
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #162368

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

Preview Lab → · Contrast checker → · Palette generator →

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