#162370#162370

#162370 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.4% C 0.133 H 269.1°. Best body text is #FFFFFF at 13.92:1 contrast (WCAG AA passes).

Color values

HEX#162370
RGBrgb(22, 35, 112)
HSLhsl(231, 67%, 26%)
HSVhsv(231, 80%, 44%)
CMYKcmyk(80.4%, 68.8%, 0%, 56.1%)
CIE-LABlab(18.11, 24.78, -45.88)
CIE-LCHlch(18.11, 52.14, 298.38°)
OKLaboklab(30.39% -0.0021 -0.1327)
OKLCHoklch(30.39% 0.133 269.1)
XYZxyz(3.8555, 2.5421, 15.6136)
Luminance0.0254 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162370 #706316
analogous
#165070 #162370 #361670
triadic
#162370 #701623 #237016
tetradic
#162370 #701650 #706316 #167036
square
#162370 #701650 #706316 #167036
split-complementary
#162370 #703616 #507016
monochromatic
#05081A #0C133D #162370 #2033A3 #2B44D5

Accessibility & contrast

On white

13.92
#162370 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #162370
13.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162370#FFFFFF#000000##FFFFFF
##1623701.0013.921.5113.92
#FFFFFF13.921.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003172
Deuteranopia (green-blind)
#00286F
Tritanopia (blue-blind)
#003846
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #162370;
/* rgb */ color: rgb(22, 35, 112);
/* oklch */ color: oklch(30.4% 0.133 269.1);
Tailwind
colors: {
  custom: {
    50: '#645e9a',
    500: '#162370',
    950: '#000000',
  },
}
SCSS
$custom: #162370;
$custom-light: #645e9a;
$custom-dark: #000000;
JSON
{
  "hex": "#162370",
  "rgb": {
    "r": 22,
    "g": 35,
    "b": 112
  },
  "hsl": {
    "h": 231.333,
    "s": 67.164,
    "l": 26.275
  },
  "oklch": {
    "l": 0.30388,
    "c": 0.13276,
    "h": 269.1
  },
  "luminance": 0.02542
}

Semantic roles & 50–950 ramp

primary
#162370
secondary
#A6973C
accent
#D13EEA
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #162370

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

Preview Lab → · Contrast checker → · Palette generator →

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