#161C6C#161C6C

#161C6C is a dark, vivid blue. Relative luminance 0.021; OKLCH L 28.7% C 0.136 H 271.0°. Best body text is #FFFFFF at 14.82:1 contrast (WCAG AA passes).

Color values

HEX#161C6C
RGBrgb(22, 28, 108)
HSLhsl(236, 66%, 25%)
HSVhsv(236, 80%, 42%)
CMYKcmyk(79.6%, 74.1%, 0%, 57.6%)
CIE-LABlab(15.92, 28.00, -46.88)
CIE-LCHlch(15.92, 54.60, 300.85°)
OKLaboklab(28.67% 0.0024 -0.1357)
OKLCHoklch(28.67% 0.136 271)
XYZxyz(3.4520, 2.0834, 14.4047)
Luminance0.0208 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161C6C #6C6616
analogous
#16476C #161C6C #3B166C
triadic
#161C6C #6C161C #1C6C16
tetradic
#161C6C #6C1647 #6C6616 #166C3B
square
#161C6C #6C1647 #6C6616 #166C3B
split-complementary
#161C6C #6C3B16 #476C16
monochromatic
#050719 #0C0F39 #161C6C #20299F #2B36D2

Accessibility & contrast

On white

14.82
#161C6C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#161C6C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161C6C
14.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161C6C#FFFFFF#000000##FFFFFF
##161C6C1.0014.821.4214.82
#FFFFFF14.821.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C6E
Deuteranopia (green-blind)
#00236B
Tritanopia (blue-blind)
#003241
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #161c6c;
/* rgb */ color: rgb(22, 28, 108);
/* oklch */ color: oklch(28.7% 0.136 271.0);
Tailwind
colors: {
  custom: {
    50: '#635897',
    500: '#161c6c',
    950: '#000000',
  },
}
SCSS
$custom: #161c6c;
$custom-light: #635897;
$custom-dark: #000000;
JSON
{
  "hex": "#161c6c",
  "rgb": {
    "r": 22,
    "g": 28,
    "b": 108
  },
  "hsl": {
    "h": 235.814,
    "s": 66.154,
    "l": 25.49
  },
  "oklch": {
    "l": 0.28673,
    "c": 0.1357,
    "h": 271
  },
  "luminance": 0.02084
}

Semantic roles & 50–950 ramp

primary
#161C6C
secondary
#A29B3C
accent
#DD3FE9
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06030E
muted
#7A787E

Preview Lab

Preview with #161C6C

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

Preview Lab → · Contrast checker → · Palette generator →

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