#161B6C#161B6C

#161B6C is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.5% C 0.137 H 271.2°. Best body text is #FFFFFF at 14.92:1 contrast (WCAG AA passes).

Color values

HEX#161B6C
RGBrgb(22, 27, 108)
HSLhsl(237, 66%, 25%)
HSVhsv(237, 80%, 42%)
CMYKcmyk(79.6%, 75%, 0%, 57.6%)
CIE-LABlab(15.68, 28.66, -47.27)
CIE-LCHlch(15.68, 55.28, 301.23°)
OKLaboklab(28.5% 0.0029 -0.1368)
OKLCHoklch(28.5% 0.137 271.2)
XYZxyz(3.4287, 2.0368, 14.3969)
Luminance0.0204 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161B6C #6C6716
analogous
#16466C #161B6C #3C166C
triadic
#161B6C #6C161B #1B6C16
tetradic
#161B6C #6C1646 #6C6716 #166C3C
square
#161B6C #6C1646 #6C6716 #166C3C
split-complementary
#161B6C #6C3C16 #466C16
monochromatic
#050619 #0C0E39 #161B6C #20289F #2B34D2

Accessibility & contrast

On white

14.92
#161B6C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#161B6C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161B6C
14.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161B6C#FFFFFF#000000##FFFFFF
##161B6C1.0014.921.4114.92
#FFFFFF14.921.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.921.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #161b6c;
/* rgb */ color: rgb(22, 27, 108);
/* oklch */ color: oklch(28.5% 0.137 271.2);
Tailwind
colors: {
  custom: {
    50: '#635897',
    500: '#161b6c',
    950: '#000000',
  },
}
SCSS
$custom: #161b6c;
$custom-light: #635897;
$custom-dark: #000000;
JSON
{
  "hex": "#161b6c",
  "rgb": {
    "r": 22,
    "g": 27,
    "b": 108
  },
  "hsl": {
    "h": 236.512,
    "s": 66.154,
    "l": 25.49
  },
  "oklch": {
    "l": 0.285,
    "c": 0.13686,
    "h": 271.2
  },
  "luminance": 0.02037
}

Semantic roles & 50–950 ramp

primary
#161B6C
secondary
#A29C3C
accent
#DF3FE9
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06030E
muted
#7A787E

Preview Lab

Preview with #161B6C

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

Preview Lab → · Contrast checker → · Palette generator →

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