#161B6F#161B6F

#161B6F is a dark, vivid blue. Relative luminance 0.021; OKLCH L 28.8% C 0.141 H 271.0°. Best body text is #FFFFFF at 14.78:1 contrast (WCAG AA passes).

Color values

HEX#161B6F
RGBrgb(22, 27, 111)
HSLhsl(237, 67%, 26%)
HSVhsv(237, 80%, 44%)
CMYKcmyk(80.2%, 75.7%, 0%, 56.5%)
CIE-LABlab(16.01, 29.79, -48.68)
CIE-LCHlch(16.01, 57.07, 301.47°)
OKLaboklab(28.84% 0.0025 -0.1409)
OKLCHoklch(28.84% 0.141 271)
XYZxyz(3.5911, 2.1017, 15.2523)
Luminance0.0210 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161B6F #6F6A16
analogous
#16476F #161B6F #3D166F
triadic
#161B6F #6F161B #1B6F16
tetradic
#161B6F #6F1647 #6F6A16 #166F3D
square
#161B6F #6F1647 #6F6A16 #166F3D
split-complementary
#161B6F #6F3D16 #476F16
monochromatic
#05061A #0C0F3C #161B6F #2027A2 #2B34D5

Accessibility & contrast

On white

14.78
#161B6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #161B6F
14.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161B6F#FFFFFF#000000##FFFFFF
##161B6F1.0014.781.4214.78
#FFFFFF14.781.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #161b6f;
/* rgb */ color: rgb(22, 27, 111);
/* oklch */ color: oklch(28.8% 0.141 271.0);
Tailwind
colors: {
  custom: {
    50: '#645899',
    500: '#161b6f',
    950: '#000000',
  },
}
SCSS
$custom: #161b6f;
$custom-light: #645899;
$custom-dark: #000000;
JSON
{
  "hex": "#161b6f",
  "rgb": {
    "r": 22,
    "g": 27,
    "b": 111
  },
  "hsl": {
    "h": 236.629,
    "s": 66.917,
    "l": 26.078
  },
  "oklch": {
    "l": 0.28839,
    "c": 0.14094,
    "h": 271
  },
  "luminance": 0.02102
}

Semantic roles & 50–950 ramp

primary
#161B6F
secondary
#A59F3C
accent
#E03EEA
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06030E
muted
#7A787E

Preview Lab

Preview with #161B6F

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

Preview Lab → · Contrast checker → · Palette generator →

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