#161A6C#161A6C

#161A6C is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.3% C 0.138 H 271.4°. Best body text is #FFFFFF at 15.02:1 contrast (WCAG AA passes).

Color values

HEX#161A6C
RGBrgb(22, 26, 108)
HSLhsl(237, 66%, 25%)
HSVhsv(237, 80%, 42%)
CMYKcmyk(79.6%, 75.9%, 0%, 57.6%)
CIE-LABlab(15.44, 29.31, -47.66)
CIE-LCHlch(15.44, 55.95, 301.59°)
OKLaboklab(28.33% 0.0034 -0.138)
OKLCHoklch(28.33% 0.138 271.4)
XYZxyz(3.4061, 1.9917, 14.3894)
Luminance0.0199 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161A6C #6C6816
analogous
#16456C #161A6C #3D166C
triadic
#161A6C #6C161A #1A6C16
tetradic
#161A6C #6C1645 #6C6816 #166C3D
square
#161A6C #6C1645 #6C6816 #166C3D
split-complementary
#161A6C #6C3D16 #456C16
monochromatic
#050619 #0C0E39 #161A6C #20269F #2B32D2

Accessibility & contrast

On white

15.02
#161A6C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#161A6C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161A6C
15.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161A6C#FFFFFF#000000##FFFFFF
##161A6C1.0015.021.4015.02
#FFFFFF15.021.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B6E
Deuteranopia (green-blind)
#00226B
Tritanopia (blue-blind)
#003141
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #161a6c;
/* rgb */ color: rgb(22, 26, 108);
/* oklch */ color: oklch(28.3% 0.138 271.4);
Tailwind
colors: {
  custom: {
    50: '#645797',
    500: '#161a6c',
    950: '#000000',
  },
}
SCSS
$custom: #161a6c;
$custom-light: #645797;
$custom-dark: #000000;
JSON
{
  "hex": "#161a6c",
  "rgb": {
    "r": 22,
    "g": 26,
    "b": 108
  },
  "hsl": {
    "h": 237.209,
    "s": 66.154,
    "l": 25.49
  },
  "oklch": {
    "l": 0.28332,
    "c": 0.138,
    "h": 271.4
  },
  "luminance": 0.01992
}

Semantic roles & 50–950 ramp

primary
#161A6C
secondary
#A29D3C
accent
#E13FE9
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06030E
muted
#7A787E

Preview Lab

Preview with #161A6C

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

Preview Lab → · Contrast checker → · Palette generator →

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