#161A7A#161A7A

#161A7A is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.0% C 0.157 H 270.4°. Best body text is #FFFFFF at 14.35:1 contrast (WCAG AA passes).

Color values

HEX#161A7A
RGBrgb(22, 26, 122)
HSLhsl(238, 69%, 28%)
HSVhsv(238, 82%, 48%)
CMYKcmyk(82%, 78.7%, 0%, 52.2%)
CIE-LABlab(17.06, 34.45, -54.05)
CIE-LCHlch(17.06, 64.09, 302.52°)
OKLaboklab(29.96% 0.001 -0.1565)
OKLCHoklch(29.96% 0.157 270.4)
XYZxyz(4.2119, 2.3140, 18.6332)
Luminance0.0232 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161A7A #7A7616
analogous
#164C7A #161A7A #44167A
triadic
#161A7A #7A161A #1A7A16
tetradic
#161A7A #7A164C #7A7616 #167A44
square
#161A7A #7A164C #7A7616 #167A44
split-complementary
#161A7A #7A4416 #4C7A16
monochromatic
#05061A #0D0F46 #161A7A #1F25AE #3137DA

Accessibility & contrast

On white

14.35
#161A7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#161A7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161A7A
14.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161A7A#FFFFFF#000000##FFFFFF
##161A7A1.0014.351.4614.35
#FFFFFF14.351.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F7D
Deuteranopia (green-blind)
#002578
Tritanopia (blue-blind)
#003749
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #161a7a;
/* rgb */ color: rgb(22, 26, 122);
/* oklch */ color: oklch(30.0% 0.157 270.4);
Tailwind
colors: {
  custom: {
    50: '#6858a2',
    500: '#161a7a',
    950: '#000000',
  },
}
SCSS
$custom: #161a7a;
$custom-light: #6858a2;
$custom-dark: #000000;
JSON
{
  "hex": "#161a7a",
  "rgb": {
    "r": 22,
    "g": 26,
    "b": 122
  },
  "hsl": {
    "h": 237.6,
    "s": 69.444,
    "l": 28.235
  },
  "oklch": {
    "l": 0.29956,
    "c": 0.15653,
    "h": 270.4
  },
  "luminance": 0.02315
}

Semantic roles & 50–950 ramp

primary
#161A7A
secondary
#AFAB3D
accent
#E53CEC
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07030F
muted
#7A787F

Preview Lab

Preview with #161A7A

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

Preview Lab → · Contrast checker → · Palette generator →

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