#161C68#161C68

#161C68 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.2% C 0.130 H 271.3°. Best body text is #FFFFFF at 15.00:1 contrast (WCAG AA passes).

Color values

HEX#161C68
RGBrgb(22, 28, 104)
HSLhsl(236, 65%, 25%)
HSVhsv(236, 79%, 41%)
CMYKcmyk(78.8%, 73.1%, 0%, 59.2%)
CIE-LABlab(15.49, 26.46, -44.97)
CIE-LCHlch(15.49, 52.17, 300.48°)
OKLaboklab(28.23% 0.0029 -0.1301)
OKLCHoklch(28.23% 0.13 271.3)
XYZxyz(3.2440, 2.0002, 13.3091)
Luminance0.0200 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161C68 #686216
analogous
#164568 #161C68 #391668
triadic
#161C68 #68161C #1C6816
tetradic
#161C68 #681645 #686216 #166839
square
#161C68 #681645 #686216 #166839
split-complementary
#161C68 #683916 #456816
monochromatic
#050719 #0B0E35 #161C68 #212A9B #2B37CD

Accessibility & contrast

On white

15.00
#161C68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#161C68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161C68
15.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161C68#FFFFFF#000000##FFFFFF
##161C681.0015.001.4015.00
#FFFFFF15.001.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #161c68;
/* rgb */ color: rgb(22, 28, 104);
/* oklch */ color: oklch(28.2% 0.130 271.3);
Tailwind
colors: {
  custom: {
    50: '#625894',
    500: '#161c68',
    950: '#000000',
  },
}
SCSS
$custom: #161c68;
$custom-light: #625894;
$custom-dark: #000000;
JSON
{
  "hex": "#161c68",
  "rgb": {
    "r": 22,
    "g": 28,
    "b": 104
  },
  "hsl": {
    "h": 235.61,
    "s": 65.079,
    "l": 24.706
  },
  "oklch": {
    "l": 0.28232,
    "c": 0.13014,
    "h": 271.3
  },
  "luminance": 0.02001
}

Semantic roles & 50–950 ramp

primary
#161C68
secondary
#9F973B
accent
#DC40E8
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06030D
muted
#7A787E

Preview Lab

Preview with #161C68

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

Preview Lab → · Contrast checker → · Palette generator →

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