#161D68#161D68

#161D68 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.4% C 0.129 H 271.0°. Best body text is #FFFFFF at 14.90:1 contrast (WCAG AA passes).

Color values

HEX#161D68
RGBrgb(22, 29, 104)
HSLhsl(235, 65%, 25%)
HSVhsv(235, 79%, 41%)
CMYKcmyk(78.8%, 72.1%, 0%, 59.2%)
CIE-LABlab(15.74, 25.78, -44.55)
CIE-LCHlch(15.74, 51.48, 300.06°)
OKLaboklab(28.41% 0.0023 -0.1289)
OKLCHoklch(28.41% 0.129 271)
XYZxyz(3.2681, 2.0484, 13.3172)
Luminance0.0205 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161D68 #686116
analogous
#164668 #161D68 #381668
triadic
#161D68 #68161D #1D6816
tetradic
#161D68 #681646 #686116 #166838
square
#161D68 #681646 #686116 #166838
split-complementary
#161D68 #683816 #466816
monochromatic
#050719 #0B0F35 #161D68 #212B9B #2B39CD

Accessibility & contrast

On white

14.90
#161D68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#161D68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161D68
14.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161D68#FFFFFF#000000##FFFFFF
##161D681.0014.901.4114.90
#FFFFFF14.901.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B6A
Deuteranopia (green-blind)
#002367
Tritanopia (blue-blind)
#003140
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #161d68;
/* rgb */ color: rgb(22, 29, 104);
/* oklch */ color: oklch(28.4% 0.129 271.0);
Tailwind
colors: {
  custom: {
    50: '#625994',
    500: '#161d68',
    950: '#000000',
  },
}
SCSS
$custom: #161d68;
$custom-light: #625994;
$custom-dark: #000000;
JSON
{
  "hex": "#161d68",
  "rgb": {
    "r": 22,
    "g": 29,
    "b": 104
  },
  "hsl": {
    "h": 234.878,
    "s": 65.079,
    "l": 24.706
  },
  "oklch": {
    "l": 0.28414,
    "c": 0.12893,
    "h": 271
  },
  "luminance": 0.02049
}

Semantic roles & 50–950 ramp

primary
#161D68
secondary
#9F963B
accent
#DA40E8
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06030D
muted
#7A787E

Preview Lab

Preview with #161D68

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

Preview Lab → · Contrast checker → · Palette generator →

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