#161B7B#161B7B

#161B7B is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.2% C 0.157 H 270.2°. Best body text is #FFFFFF at 14.22:1 contrast (WCAG AA passes).

Color values

HEX#161B7B
RGBrgb(22, 27, 123)
HSLhsl(237, 70%, 28%)
HSVhsv(237, 82%, 48%)
CMYKcmyk(82.1%, 78%, 0%, 51.8%)
CIE-LABlab(17.39, 34.21, -54.14)
CIE-LCHlch(17.39, 64.04, 302.29°)
OKLaboklab(30.23% 0.0005 -0.1568)
OKLCHoklch(30.23% 0.157 270.2)
XYZxyz(4.2967, 2.3840, 18.9688)
Luminance0.0238 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161B7B #7B7616
analogous
#164D7B #161B7B #43167B
triadic
#161B7B #7B161B #1B7B16
tetradic
#161B7B #7B164D #7B7616 #167B43
square
#161B7B #7B164D #7B7616 #167B43
split-complementary
#161B7B #7B4316 #4D7B16
monochromatic
#05061A #0D1047 #161B7B #1F26AF #313ADA

Accessibility & contrast

On white

14.22
#161B7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#161B7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161B7B
14.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161B7B#FFFFFF#000000##FFFFFF
##161B7B1.0014.221.4814.22
#FFFFFF14.221.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00307E
Deuteranopia (green-blind)
#002679
Tritanopia (blue-blind)
#00374A
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #161b7b;
/* rgb */ color: rgb(22, 27, 123);
/* oklch */ color: oklch(30.2% 0.157 270.2);
Tailwind
colors: {
  custom: {
    50: '#6859a2',
    500: '#161b7b',
    950: '#000000',
  },
}
SCSS
$custom: #161b7b;
$custom-light: #6859a2;
$custom-dark: #000000;
JSON
{
  "hex": "#161b7b",
  "rgb": {
    "r": 22,
    "g": 27,
    "b": 123
  },
  "hsl": {
    "h": 237.03,
    "s": 69.655,
    "l": 28.431
  },
  "oklch": {
    "l": 0.30225,
    "c": 0.15681,
    "h": 270.2
  },
  "luminance": 0.02384
}

Semantic roles & 50–950 ramp

primary
#161B7B
secondary
#B0AA3D
accent
#E43BEC
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07030F
muted
#7A787F

Preview Lab

Preview with #161B7B

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

Preview Lab → · Contrast checker → · Palette generator →

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