#161D6A#161D6A

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

Color values

HEX#161D6A
RGBrgb(22, 29, 106)
HSLhsl(235, 66%, 25%)
HSVhsv(235, 79%, 42%)
CMYKcmyk(79.2%, 72.6%, 0%, 58.4%)
CIE-LABlab(15.95, 26.56, -45.52)
CIE-LCHlch(15.95, 52.70, 300.26°)
OKLaboklab(28.63% 0.002 -0.1317)
OKLCHoklch(28.63% 0.132 270.9)
XYZxyz(3.3709, 2.0895, 13.8585)
Luminance0.0209 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161D6A #6A6316
analogous
#16476A #161D6A #39166A
triadic
#161D6A #6A161D #1D6A16
tetradic
#161D6A #6A1647 #6A6316 #166A39
square
#161D6A #6A1647 #6A6316 #166A39
split-complementary
#161D6A #6A3916 #476A16
monochromatic
#050719 #0B0F37 #161D6A #212B9D #2B39CF

Accessibility & contrast

On white

14.81
#161D6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #161D6A
14.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161D6A#FFFFFF#000000##FFFFFF
##161D6A1.0014.811.4214.81
#FFFFFF14.811.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C6C
Deuteranopia (green-blind)
#002469
Tritanopia (blue-blind)
#003241
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #161d6a;
/* rgb */ color: rgb(22, 29, 106);
/* oklch */ color: oklch(28.6% 0.132 270.9);
Tailwind
colors: {
  custom: {
    50: '#635995',
    500: '#161d6a',
    950: '#000000',
  },
}
SCSS
$custom: #161d6a;
$custom-light: #635995;
$custom-dark: #000000;
JSON
{
  "hex": "#161d6a",
  "rgb": {
    "r": 22,
    "g": 29,
    "b": 106
  },
  "hsl": {
    "h": 235,
    "s": 65.625,
    "l": 25.098
  },
  "oklch": {
    "l": 0.28631,
    "c": 0.13174,
    "h": 270.9
  },
  "luminance": 0.0209
}

Semantic roles & 50–950 ramp

primary
#161D6A
secondary
#A0983B
accent
#DA3FE9
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06030D
muted
#7A787E

Preview Lab

Preview with #161D6A

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

Preview Lab → · Contrast checker → · Palette generator →

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