#162270#162270

#162270 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.2% C 0.134 H 269.3°. Best body text is #FFFFFF at 14.03:1 contrast (WCAG AA passes).

Color values

HEX#162270
RGBrgb(22, 34, 112)
HSLhsl(232, 67%, 26%)
HSVhsv(232, 80%, 44%)
CMYKcmyk(80.4%, 69.6%, 0%, 56.1%)
CIE-LABlab(17.85, 25.48, -46.31)
CIE-LCHlch(17.85, 52.85, 298.82°)
OKLaboklab(30.2% -0.0015 -0.134)
OKLCHoklch(30.2% 0.134 269.3)
XYZxyz(3.8265, 2.4841, 15.6039)
Luminance0.0248 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162270 #706416
analogous
#164F70 #162270 #371670
triadic
#162270 #701622 #227016
tetradic
#162270 #70164F #706416 #167037
square
#162270 #70164F #706416 #167037
split-complementary
#162270 #703716 #4F7016
monochromatic
#05081A #0C123D #162270 #2032A3 #2B42D5

Accessibility & contrast

On white

14.03
#162270 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#162270 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162270
14.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162270#FFFFFF#000000##FFFFFF
##1622701.0014.031.5014.03
#FFFFFF14.031.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003072
Deuteranopia (green-blind)
#00276F
Tritanopia (blue-blind)
#003745
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #162270;
/* rgb */ color: rgb(22, 34, 112);
/* oklch */ color: oklch(30.2% 0.134 269.3);
Tailwind
colors: {
  custom: {
    50: '#645d9a',
    500: '#162270',
    950: '#000000',
  },
}
SCSS
$custom: #162270;
$custom-light: #645d9a;
$custom-dark: #000000;
JSON
{
  "hex": "#162270",
  "rgb": {
    "r": 22,
    "g": 34,
    "b": 112
  },
  "hsl": {
    "h": 232,
    "s": 67.164,
    "l": 26.275
  },
  "oklch": {
    "l": 0.30197,
    "c": 0.13402,
    "h": 269.3
  },
  "luminance": 0.02484
}

Semantic roles & 50–950 ramp

primary
#162270
secondary
#A6983C
accent
#D33EEA
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #162270

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

Preview Lab → · Contrast checker → · Palette generator →

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