#161D6E#161D6E

#161D6E is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.1% C 0.137 H 270.6°. Best body text is #FFFFFF at 14.63:1 contrast (WCAG AA passes).

Color values

HEX#161D6E
RGBrgb(22, 29, 110)
HSLhsl(235, 67%, 26%)
HSVhsv(235, 80%, 43%)
CMYKcmyk(80%, 73.6%, 0%, 56.9%)
CIE-LABlab(16.38, 28.10, -47.42)
CIE-LCHlch(16.38, 55.12, 300.65°)
OKLaboklab(29.07% 0.0016 -0.1373)
OKLCHoklch(29.07% 0.137 270.6)
XYZxyz(3.5838, 2.1747, 14.9797)
Luminance0.0217 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161D6E #6E6716
analogous
#16496E #161D6E #3B166E
triadic
#161D6E #6E161D #1D6E16
tetradic
#161D6E #6E1649 #6E6716 #166E3B
square
#161D6E #6E1649 #6E6716 #166E3B
split-complementary
#161D6E #6E3B16 #496E16
monochromatic
#05071A #0C103B #161D6E #202AA1 #2A38D4

Accessibility & contrast

On white

14.63
#161D6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#161D6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161D6E
14.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161D6E#FFFFFF#000000##FFFFFF
##161D6E1.0014.631.4414.63
#FFFFFF14.631.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D70
Deuteranopia (green-blind)
#00246D
Tritanopia (blue-blind)
#003443
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #161d6e;
/* rgb */ color: rgb(22, 29, 110);
/* oklch */ color: oklch(29.1% 0.137 270.6);
Tailwind
colors: {
  custom: {
    50: '#645999',
    500: '#161d6e',
    950: '#000000',
  },
}
SCSS
$custom: #161d6e;
$custom-light: #645999;
$custom-dark: #000000;
JSON
{
  "hex": "#161d6e",
  "rgb": {
    "r": 22,
    "g": 29,
    "b": 110
  },
  "hsl": {
    "h": 235.227,
    "s": 66.667,
    "l": 25.882
  },
  "oklch": {
    "l": 0.29069,
    "c": 0.13729,
    "h": 270.6
  },
  "luminance": 0.02175
}

Semantic roles & 50–950 ramp

primary
#161D6E
secondary
#A49C3C
accent
#DC3EEA
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06030E
muted
#7A787E

Preview Lab

Preview with #161D6E

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

Preview Lab → · Contrast checker → · Palette generator →

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