#162863#162863

#162863 is a dark, moderate blue. Relative luminance 0.026; OKLCH L 30.2% C 0.107 H 266.9°. Best body text is #FFFFFF at 13.84:1 contrast (WCAG AA passes).

Color values

HEX#162863
RGBrgb(22, 40, 99)
HSLhsl(226, 64%, 24%)
HSVhsv(226, 78%, 39%)
CMYKcmyk(77.8%, 59.6%, 0%, 61.2%)
CIE-LABlab(18.32, 15.88, -37.06)
CIE-LCHlch(18.32, 40.32, 293.19°)
OKLaboklab(30.17% -0.0058 -0.1068)
OKLCHoklch(30.17% 0.107 266.9)
XYZxyz(3.3410, 2.5887, 12.1255)
Luminance0.0259 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162863 #635116
analogous
#164E63 #162863 #2A1663
triadic
#162863 #631628 #286316
tetradic
#162863 #63164E #635116 #16632A
square
#162863 #63164E #635116 #16632A
split-complementary
#162863 #632A16 #4E6316
monochromatic
#060A19 #0B1431 #162863 #213C95 #2C50C7

Accessibility & contrast

On white

13.84
#162863 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#162863 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162863
13.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162863#FFFFFF#000000##FFFFFF
##1628631.0013.841.5213.84
#FFFFFF13.841.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003065
Deuteranopia (green-blind)
#002962
Tritanopia (blue-blind)
#003641
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #162863;
/* rgb */ color: rgb(22, 40, 99);
/* oklch */ color: oklch(30.2% 0.107 266.9);
Tailwind
colors: {
  custom: {
    50: '#606190',
    500: '#162863',
    950: '#000000',
  },
}
SCSS
$custom: #162863;
$custom-light: #606190;
$custom-dark: #000000;
JSON
{
  "hex": "#162863",
  "rgb": {
    "r": 22,
    "g": 40,
    "b": 99
  },
  "hsl": {
    "h": 225.974,
    "s": 63.636,
    "l": 23.725
  },
  "oklch": {
    "l": 0.30171,
    "c": 0.10698,
    "h": 266.9
  },
  "luminance": 0.02589
}

Semantic roles & 50–950 ramp

primary
#162863
secondary
#9A843B
accent
#C041E7
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05050C
muted
#7A797D

Preview Lab

Preview with #162863

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

Preview Lab → · Contrast checker → · Palette generator →

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