#161C6F#161C6F

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

Color values

HEX#161C6F
RGBrgb(22, 28, 111)
HSLhsl(236, 67%, 26%)
HSVhsv(236, 80%, 44%)
CMYKcmyk(80.2%, 74.8%, 0%, 56.5%)
CIE-LABlab(16.25, 29.14, -48.29)
CIE-LCHlch(16.25, 56.40, 301.11°)
OKLaboklab(29.01% 0.0019 -0.1398)
OKLCHoklch(29.01% 0.14 270.8)
XYZxyz(3.6144, 2.1484, 15.2600)
Luminance0.0215 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161C6F #6F6916
analogous
#16486F #161C6F #3C166F
triadic
#161C6F #6F161C #1C6F16
tetradic
#161C6F #6F1648 #6F6916 #166F3C
square
#161C6F #6F1648 #6F6916 #166F3C
split-complementary
#161C6F #6F3C16 #486F16
monochromatic
#05061A #0C0F3C #161C6F #2029A2 #2B36D5

Accessibility & contrast

On white

14.69
#161C6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #161C6F
14.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161C6F#FFFFFF#000000##FFFFFF
##161C6F1.0014.691.4314.69
#FFFFFF14.691.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #161c6f;
/* rgb */ color: rgb(22, 28, 111);
/* oklch */ color: oklch(29.0% 0.140 270.8);
Tailwind
colors: {
  custom: {
    50: '#645999',
    500: '#161c6f',
    950: '#000000',
  },
}
SCSS
$custom: #161c6f;
$custom-light: #645999;
$custom-dark: #000000;
JSON
{
  "hex": "#161c6f",
  "rgb": {
    "r": 22,
    "g": 28,
    "b": 111
  },
  "hsl": {
    "h": 235.955,
    "s": 66.917,
    "l": 26.078
  },
  "oklch": {
    "l": 0.29008,
    "c": 0.13981,
    "h": 270.8
  },
  "luminance": 0.02149
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #161C6F

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

Preview Lab → · Contrast checker → · Palette generator →

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