#162363#162363

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

Color values

HEX#162363
RGBrgb(22, 35, 99)
HSLhsl(230, 64%, 24%)
HSVhsv(230, 78%, 39%)
CMYKcmyk(77.8%, 64.6%, 0%, 61.2%)
CIE-LABlab(16.86, 19.53, -39.43)
CIE-LCHlch(16.86, 44.00, 296.35°)
OKLaboklab(29.09% -0.0016 -0.1138)
OKLCHoklch(29.09% 0.114 269.2)
XYZxyz(3.1833, 2.2732, 12.0730)
Luminance0.0227 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162363 #635616
analogous
#164963 #162363 #2F1663
triadic
#162363 #631623 #236316
tetradic
#162363 #631649 #635616 #16632F
square
#162363 #631649 #635616 #16632F
split-complementary
#162363 #632F16 #496316
monochromatic
#060919 #0B1131 #162363 #213595 #2C46C7

Accessibility & contrast

On white

14.44
#162363 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #162363
14.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162363#FFFFFF#000000##FFFFFF
##1623631.0014.441.4514.44
#FFFFFF14.441.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D65
Deuteranopia (green-blind)
#002662
Tritanopia (blue-blind)
#00333F
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #162363;
/* rgb */ color: rgb(22, 35, 99);
/* oklch */ color: oklch(29.1% 0.114 269.2);
Tailwind
colors: {
  custom: {
    50: '#605d90',
    500: '#162363',
    950: '#000000',
  },
}
SCSS
$custom: #162363;
$custom-light: #605d90;
$custom-dark: #000000;
JSON
{
  "hex": "#162363",
  "rgb": {
    "r": 22,
    "g": 35,
    "b": 99
  },
  "hsl": {
    "h": 229.87,
    "s": 63.636,
    "l": 23.725
  },
  "oklch": {
    "l": 0.29085,
    "c": 0.11386,
    "h": 269.2
  },
  "luminance": 0.02273
}

Semantic roles & 50–950 ramp

primary
#162363
secondary
#9A8A3B
accent
#CB41E7
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05040C
muted
#7A797D

Preview Lab

Preview with #162363

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

Preview Lab → · Contrast checker → · Palette generator →

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