#162470#162470

#162470 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 30.6% C 0.132 H 268.8°. Best body text is #FFFFFF at 13.81:1 contrast (WCAG AA passes).

Color values

HEX#162470
RGBrgb(22, 36, 112)
HSLhsl(231, 67%, 26%)
HSVhsv(231, 80%, 44%)
CMYKcmyk(80.4%, 67.9%, 0%, 56.1%)
CIE-LABlab(18.37, 24.08, -45.44)
CIE-LCHlch(18.37, 51.43, 297.92°)
OKLaboklab(30.58% -0.0028 -0.1315)
OKLCHoklch(30.58% 0.132 268.8)
XYZxyz(3.8854, 2.6017, 15.6235)
Luminance0.0260 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162470 #706216
analogous
#165170 #162470 #351670
triadic
#162470 #701624 #247016
tetradic
#162470 #701651 #706216 #167035
square
#162470 #701651 #706216 #167035
split-complementary
#162470 #703516 #517016
monochromatic
#05081A #0C143D #162470 #2034A3 #2B46D5

Accessibility & contrast

On white

13.81
#162470 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #162470
13.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162470#FFFFFF#000000##FFFFFF
##1624701.0013.811.5213.81
#FFFFFF13.811.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #162470;
/* rgb */ color: rgb(22, 36, 112);
/* oklch */ color: oklch(30.6% 0.132 268.8);
Tailwind
colors: {
  custom: {
    50: '#645e9a',
    500: '#162470',
    950: '#000000',
  },
}
SCSS
$custom: #162470;
$custom-light: #645e9a;
$custom-dark: #000000;
JSON
{
  "hex": "#162470",
  "rgb": {
    "r": 22,
    "g": 36,
    "b": 112
  },
  "hsl": {
    "h": 230.667,
    "s": 67.164,
    "l": 26.275
  },
  "oklch": {
    "l": 0.30582,
    "c": 0.1315,
    "h": 268.8
  },
  "luminance": 0.02602
}

Semantic roles & 50–950 ramp

primary
#162470
secondary
#A6953C
accent
#CF3EEA
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #162470

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

Preview Lab → · Contrast checker → · Palette generator →

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