#161C6E#161C6E

#161C6E is a dark, vivid blue. Relative luminance 0.021; OKLCH L 28.9% C 0.138 H 270.9°. Best body text is #FFFFFF at 14.73:1 contrast (WCAG AA passes).

Color values

HEX#161C6E
RGBrgb(22, 28, 110)
HSLhsl(236, 67%, 26%)
HSVhsv(236, 80%, 43%)
CMYKcmyk(80%, 74.5%, 0%, 56.9%)
CIE-LABlab(16.14, 28.76, -47.82)
CIE-LCHlch(16.14, 55.80, 301.03°)
OKLaboklab(28.9% 0.0021 -0.1384)
OKLCHoklch(28.9% 0.138 270.9)
XYZxyz(3.5596, 2.1265, 14.9717)
Luminance0.0213 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161C6E #6E6816
analogous
#16486E #161C6E #3C166E
triadic
#161C6E #6E161C #1C6E16
tetradic
#161C6E #6E1648 #6E6816 #166E3C
square
#161C6E #6E1648 #6E6816 #166E3C
split-complementary
#161C6E #6E3C16 #486E16
monochromatic
#05061A #0C0F3B #161C6E #2029A1 #2A36D4

Accessibility & contrast

On white

14.73
#161C6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#161C6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161C6E
14.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161C6E#FFFFFF#000000##FFFFFF
##161C6E1.0014.731.4314.73
#FFFFFF14.731.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C70
Deuteranopia (green-blind)
#00246D
Tritanopia (blue-blind)
#003343
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #161c6e;
/* rgb */ color: rgb(22, 28, 110);
/* oklch */ color: oklch(28.9% 0.138 270.9);
Tailwind
colors: {
  custom: {
    50: '#645899',
    500: '#161c6e',
    950: '#000000',
  },
}
SCSS
$custom: #161c6e;
$custom-light: #645899;
$custom-dark: #000000;
JSON
{
  "hex": "#161c6e",
  "rgb": {
    "r": 22,
    "g": 28,
    "b": 110
  },
  "hsl": {
    "h": 235.909,
    "s": 66.667,
    "l": 25.882
  },
  "oklch": {
    "l": 0.28896,
    "c": 0.13845,
    "h": 270.9
  },
  "luminance": 0.02127
}

Semantic roles & 50–950 ramp

primary
#161C6E
secondary
#A49D3C
accent
#DE3EEA
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06030E
muted
#7A787E

Preview Lab

Preview with #161C6E

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

Preview Lab → · Contrast checker → · Palette generator →

#161C6E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva