#162273#162273

#162273 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 30.5% C 0.138 H 269.3°. Best body text is #FFFFFF at 13.90:1 contrast (WCAG AA passes).

Color values

HEX#162273
RGBrgb(22, 34, 115)
HSLhsl(232, 68%, 27%)
HSVhsv(232, 81%, 45%)
CMYKcmyk(80.9%, 70.4%, 0%, 54.9%)
CIE-LABlab(18.15, 26.66, -47.74)
CIE-LCHlch(18.15, 54.68, 299.18°)
OKLaboklab(30.51% -0.0018 -0.1382)
OKLCHoklch(30.51% 0.138 269.3)
XYZxyz(3.9964, 2.5520, 16.4983)
Luminance0.0255 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162273 #736716
analogous
#165173 #162273 #391673
triadic
#162273 #731622 #227316
tetradic
#162273 #731651 #736716 #167339
square
#162273 #731651 #736716 #167339
split-complementary
#162273 #733916 #517316
monochromatic
#05081A #0C1340 #162273 #2031A6 #2D43D7

Accessibility & contrast

On white

13.90
#162273 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#162273 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162273
13.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162273#FFFFFF#000000##FFFFFF
##1622731.0013.901.5113.90
#FFFFFF13.901.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003176
Deuteranopia (green-blind)
#002872
Tritanopia (blue-blind)
#003847
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #162273;
/* rgb */ color: rgb(22, 34, 115);
/* oklch */ color: oklch(30.5% 0.138 269.3);
Tailwind
colors: {
  custom: {
    50: '#655d9c',
    500: '#162273',
    950: '#000000',
  },
}
SCSS
$custom: #162273;
$custom-light: #655d9c;
$custom-dark: #000000;
JSON
{
  "hex": "#162273",
  "rgb": {
    "r": 22,
    "g": 34,
    "b": 115
  },
  "hsl": {
    "h": 232.258,
    "s": 67.883,
    "l": 26.863
  },
  "oklch": {
    "l": 0.30513,
    "c": 0.13821,
    "h": 269.3
  },
  "luminance": 0.02552
}

Semantic roles & 50–950 ramp

primary
#162273
secondary
#A99B3C
accent
#D43DEB
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #162273

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

Preview Lab → · Contrast checker → · Palette generator →

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