#162563#162563

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

Color values

HEX#162563
RGBrgb(22, 37, 99)
HSLhsl(228, 64%, 24%)
HSVhsv(228, 78%, 39%)
CMYKcmyk(77.8%, 62.6%, 0%, 61.2%)
CIE-LABlab(17.43, 18.08, -38.49)
CIE-LCHlch(17.43, 42.53, 295.15°)
OKLaboklab(29.51% -0.0033 -0.1111)
OKLCHoklch(29.51% 0.111 268.3)
XYZxyz(3.2438, 2.3942, 12.0931)
Luminance0.0239 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162563 #635416
analogous
#164B63 #162563 #2D1663
triadic
#162563 #631625 #256316
tetradic
#162563 #63164B #635416 #16632D
square
#162563 #63164B #635416 #16632D
split-complementary
#162563 #632D16 #4B6316
monochromatic
#060919 #0B1231 #162563 #213895 #2C4AC7

Accessibility & contrast

On white

14.20
#162563 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#162563 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162563
14.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162563#FFFFFF#000000##FFFFFF
##1625631.0014.201.4814.20
#FFFFFF14.201.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E65
Deuteranopia (green-blind)
#002762
Tritanopia (blue-blind)
#003540
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #162563;
/* rgb */ color: rgb(22, 37, 99);
/* oklch */ color: oklch(29.5% 0.111 268.3);
Tailwind
colors: {
  custom: {
    50: '#605f90',
    500: '#162563',
    950: '#000000',
  },
}
SCSS
$custom: #162563;
$custom-light: #605f90;
$custom-dark: #000000;
JSON
{
  "hex": "#162563",
  "rgb": {
    "r": 22,
    "g": 37,
    "b": 99
  },
  "hsl": {
    "h": 228.312,
    "s": 63.636,
    "l": 23.725
  },
  "oklch": {
    "l": 0.29511,
    "c": 0.11113,
    "h": 268.3
  },
  "luminance": 0.02395
}

Semantic roles & 50–950 ramp

primary
#162563
secondary
#9A873B
accent
#C641E7
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05040C
muted
#7A797D

Preview Lab

Preview with #162563

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

Preview Lab → · Contrast checker → · Palette generator →

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