#161C7B#161C7B

#161C7B is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.4% C 0.156 H 270.0°. Best body text is #FFFFFF at 14.13:1 contrast (WCAG AA passes).

Color values

HEX#161C7B
RGBrgb(22, 28, 123)
HSLhsl(236, 70%, 28%)
HSVhsv(236, 82%, 48%)
CMYKcmyk(82.1%, 77.2%, 0%, 51.8%)
CIE-LABlab(17.60, 33.60, -53.78)
CIE-LCHlch(17.60, 63.42, 302.00°)
OKLaboklab(30.38% 0.0001 -0.1558)
OKLCHoklch(30.38% 0.156 270)
XYZxyz(4.3201, 2.4306, 18.9765)
Luminance0.0243 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161C7B #7B7516
analogous
#164E7B #161C7B #42167B
triadic
#161C7B #7B161C #1C7B16
tetradic
#161C7B #7B164E #7B7516 #167B42
square
#161C7B #7B164E #7B7516 #167B42
split-complementary
#161C7B #7B4216 #4E7B16
monochromatic
#05061A #0D1047 #161C7B #1F28AF #313BDA

Accessibility & contrast

On white

14.13
#161C7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#161C7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161C7B
14.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161C7B#FFFFFF#000000##FFFFFF
##161C7B1.0014.131.4914.13
#FFFFFF14.131.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #161c7b;
/* rgb */ color: rgb(22, 28, 123);
/* oklch */ color: oklch(30.4% 0.156 270.0);
Tailwind
colors: {
  custom: {
    50: '#6859a2',
    500: '#161c7b',
    950: '#000000',
  },
}
SCSS
$custom: #161c7b;
$custom-light: #6859a2;
$custom-dark: #000000;
JSON
{
  "hex": "#161c7b",
  "rgb": {
    "r": 22,
    "g": 28,
    "b": 123
  },
  "hsl": {
    "h": 236.436,
    "s": 69.655,
    "l": 28.431
  },
  "oklch": {
    "l": 0.30378,
    "c": 0.15578,
    "h": 270
  },
  "luminance": 0.02431
}

Semantic roles & 50–950 ramp

primary
#161C7B
secondary
#B0A93D
accent
#E23BEC
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07030F
muted
#7A787F

Preview Lab

Preview with #161C7B

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

Preview Lab → · Contrast checker → · Palette generator →

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