#161A68#161A68

#161A68 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 27.9% C 0.133 H 271.8°. Best body text is #FFFFFF at 15.20:1 contrast (WCAG AA passes).

Color values

HEX#161A68
RGBrgb(22, 26, 104)
HSLhsl(237, 65%, 25%)
HSVhsv(237, 79%, 41%)
CMYKcmyk(78.8%, 75%, 0%, 59.2%)
CIE-LABlab(15.00, 27.80, -45.77)
CIE-LCHlch(15.00, 53.55, 301.27°)
OKLaboklab(27.88% 0.0041 -0.1325)
OKLCHoklch(27.88% 0.133 271.8)
XYZxyz(3.1981, 1.9085, 13.2938)
Luminance0.0191 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161A68 #686416
analogous
#164368 #161A68 #3B1668
triadic
#161A68 #68161A #1A6816
tetradic
#161A68 #681643 #686416 #16683B
square
#161A68 #681643 #686416 #16683B
split-complementary
#161A68 #683B16 #436816
monochromatic
#050619 #0B0D35 #161A68 #21279B #2B33CD

Accessibility & contrast

On white

15.20
#161A68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#161A68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161A68
15.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161A68#FFFFFF#000000##FFFFFF
##161A681.0015.201.3815.20
#FFFFFF15.201.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A6A
Deuteranopia (green-blind)
#002267
Tritanopia (blue-blind)
#00303F
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #161a68;
/* rgb */ color: rgb(22, 26, 104);
/* oklch */ color: oklch(27.9% 0.133 271.8);
Tailwind
colors: {
  custom: {
    50: '#625794',
    500: '#161a68',
    950: '#000000',
  },
}
SCSS
$custom: #161a68;
$custom-light: #625794;
$custom-dark: #000000;
JSON
{
  "hex": "#161a68",
  "rgb": {
    "r": 22,
    "g": 26,
    "b": 104
  },
  "hsl": {
    "h": 237.073,
    "s": 65.079,
    "l": 24.706
  },
  "oklch": {
    "l": 0.2788,
    "c": 0.13252,
    "h": 271.8
  },
  "luminance": 0.01909
}

Semantic roles & 50–950 ramp

primary
#161A68
secondary
#9F9A3B
accent
#E040E8
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06030D
muted
#7A787E

Preview Lab

Preview with #161A68

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

Preview Lab → · Contrast checker → · Palette generator →

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