#162670#162670

#162670 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.0% C 0.129 H 268.2°. Best body text is #FFFFFF at 13.59:1 contrast (WCAG AA passes).

Color values

HEX#162670
RGBrgb(22, 38, 112)
HSLhsl(229, 67%, 26%)
HSVhsv(229, 80%, 44%)
CMYKcmyk(80.4%, 66.1%, 0%, 56.1%)
CIE-LABlab(18.91, 22.67, -44.56)
CIE-LCHlch(18.91, 49.99, 296.97°)
OKLaboklab(30.98% -0.0041 -0.1289)
OKLCHoklch(30.98% 0.129 268.2)
XYZxyz(3.9476, 2.7262, 15.6443)
Luminance0.0273 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162670 #706016
analogous
#165370 #162670 #331670
triadic
#162670 #701626 #267016
tetradic
#162670 #701653 #706016 #167033
square
#162670 #701653 #706016 #167033
split-complementary
#162670 #703316 #537016
monochromatic
#05091A #0C153D #162670 #2037A3 #2B49D5

Accessibility & contrast

On white

13.59
#162670 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#162670 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162670
13.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162670#FFFFFF#000000##FFFFFF
##1626701.0013.591.5513.59
#FFFFFF13.591.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003272
Deuteranopia (green-blind)
#002A6F
Tritanopia (blue-blind)
#003947
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #162670;
/* rgb */ color: rgb(22, 38, 112);
/* oklch */ color: oklch(31.0% 0.129 268.2);
Tailwind
colors: {
  custom: {
    50: '#63609a',
    500: '#162670',
    950: '#000000',
  },
}
SCSS
$custom: #162670;
$custom-light: #63609a;
$custom-dark: #000000;
JSON
{
  "hex": "#162670",
  "rgb": {
    "r": 22,
    "g": 38,
    "b": 112
  },
  "hsl": {
    "h": 229.333,
    "s": 67.164,
    "l": 26.275
  },
  "oklch": {
    "l": 0.30979,
    "c": 0.12892,
    "h": 268.2
  },
  "luminance": 0.02727
}

Semantic roles & 50–950 ramp

primary
#162670
secondary
#A6933C
accent
#CB3EEA
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #162670

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

Preview Lab → · Contrast checker → · Palette generator →

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