#161D6B#161D6B

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

Color values

HEX#161D6B
RGBrgb(22, 29, 107)
HSLhsl(235, 66%, 25%)
HSVhsv(235, 79%, 42%)
CMYKcmyk(79.4%, 72.9%, 0%, 58%)
CIE-LABlab(16.06, 26.94, -46.00)
CIE-LCHlch(16.06, 53.31, 300.36°)
OKLaboklab(28.74% 0.0019 -0.1331)
OKLCHoklch(28.74% 0.133 270.8)
XYZxyz(3.4232, 2.1105, 14.1340)
Luminance0.0211 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161D6B #6B6416
analogous
#16476B #161D6B #3A166B
triadic
#161D6B #6B161D #1D6B16
tetradic
#161D6B #6B1647 #6B6416 #166B3A
square
#161D6B #6B1647 #6B6416 #166B3A
split-complementary
#161D6B #6B3A16 #476B16
monochromatic
#050719 #0C0F38 #161D6B #202B9E #2B39D1

Accessibility & contrast

On white

14.77
#161D6B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #161D6B
14.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161D6B#FFFFFF#000000##FFFFFF
##161D6B1.0014.771.4214.77
#FFFFFF14.771.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C6D
Deuteranopia (green-blind)
#00246A
Tritanopia (blue-blind)
#003341
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #161d6b;
/* rgb */ color: rgb(22, 29, 107);
/* oklch */ color: oklch(28.7% 0.133 270.8);
Tailwind
colors: {
  custom: {
    50: '#635996',
    500: '#161d6b',
    950: '#000000',
  },
}
SCSS
$custom: #161d6b;
$custom-light: #635996;
$custom-dark: #000000;
JSON
{
  "hex": "#161d6b",
  "rgb": {
    "r": 22,
    "g": 29,
    "b": 107
  },
  "hsl": {
    "h": 235.059,
    "s": 65.891,
    "l": 25.294
  },
  "oklch": {
    "l": 0.2874,
    "c": 0.13313,
    "h": 270.8
  },
  "luminance": 0.02111
}

Semantic roles & 50–950 ramp

primary
#161D6B
secondary
#A1993B
accent
#DB3FE9
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06030D
muted
#7A787E

Preview Lab

Preview with #161D6B

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

Preview Lab → · Contrast checker → · Palette generator →

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