#162263#162263

#162263 is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.9% C 0.115 H 269.6°. Best body text is #FFFFFF at 14.55:1 contrast (WCAG AA passes).

Color values

HEX#162263
RGBrgb(22, 34, 99)
HSLhsl(231, 64%, 24%)
HSVhsv(231, 78%, 39%)
CMYKcmyk(77.8%, 65.7%, 0%, 61.2%)
CIE-LABlab(16.58, 20.25, -39.89)
CIE-LCHlch(16.58, 44.74, 296.92°)
OKLaboklab(28.88% -0.0009 -0.1152)
OKLCHoklch(28.88% 0.115 269.6)
XYZxyz(3.1543, 2.2152, 12.0633)
Luminance0.0221 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162263 #635716
analogous
#164863 #162263 #301663
triadic
#162263 #631622 #226316
tetradic
#162263 #631648 #635716 #166330
square
#162263 #631648 #635716 #166330
split-complementary
#162263 #633016 #486316
monochromatic
#060919 #0B1131 #162263 #213395 #2C44C7

Accessibility & contrast

On white

14.55
#162263 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#162263 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162263
14.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162263#FFFFFF#000000##FFFFFF
##1622631.0014.551.4414.55
#FFFFFF14.551.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D65
Deuteranopia (green-blind)
#002562
Tritanopia (blue-blind)
#00333F
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #162263;
/* rgb */ color: rgb(22, 34, 99);
/* oklch */ color: oklch(28.9% 0.115 269.6);
Tailwind
colors: {
  custom: {
    50: '#605c90',
    500: '#162263',
    950: '#000000',
  },
}
SCSS
$custom: #162263;
$custom-light: #605c90;
$custom-dark: #000000;
JSON
{
  "hex": "#162263",
  "rgb": {
    "r": 22,
    "g": 34,
    "b": 99
  },
  "hsl": {
    "h": 230.649,
    "s": 63.636,
    "l": 23.725
  },
  "oklch": {
    "l": 0.28876,
    "c": 0.11522,
    "h": 269.6
  },
  "luminance": 0.02215
}

Semantic roles & 50–950 ramp

primary
#162263
secondary
#9A8B3B
accent
#CD41E7
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05040D
muted
#7A797D

Preview Lab

Preview with #162263

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

Preview Lab → · Contrast checker → · Palette generator →

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