#161C67#161C67

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

Color values

HEX#161C67
RGBrgb(22, 28, 103)
HSLhsl(236, 65%, 25%)
HSVhsv(236, 79%, 40%)
CMYKcmyk(78.6%, 72.8%, 0%, 59.6%)
CIE-LABlab(15.38, 26.07, -44.48)
CIE-LCHlch(15.38, 51.56, 300.38°)
OKLaboklab(28.12% 0.003 -0.1287)
OKLCHoklch(28.12% 0.129 271.3)
XYZxyz(3.1935, 1.9800, 13.0432)
Luminance0.0198 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161C67 #676116
analogous
#164467 #161C67 #391667
triadic
#161C67 #67161C #1C6716
tetradic
#161C67 #671644 #676116 #166739
square
#161C67 #671644 #676116 #166739
split-complementary
#161C67 #673916 #446716
monochromatic
#050719 #0B0E35 #161C67 #212A99 #2C37CC

Accessibility & contrast

On white

15.04
#161C67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #161C67
15.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161C67#FFFFFF#000000##FFFFFF
##161C671.0015.041.4015.04
#FFFFFF15.041.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A69
Deuteranopia (green-blind)
#002366
Tritanopia (blue-blind)
#00313F
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #161c67;
/* rgb */ color: rgb(22, 28, 103);
/* oklch */ color: oklch(28.1% 0.129 271.3);
Tailwind
colors: {
  custom: {
    50: '#625893',
    500: '#161c67',
    950: '#000000',
  },
}
SCSS
$custom: #161c67;
$custom-light: #625893;
$custom-dark: #000000;
JSON
{
  "hex": "#161c67",
  "rgb": {
    "r": 22,
    "g": 28,
    "b": 103
  },
  "hsl": {
    "h": 235.556,
    "s": 64.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.28123,
    "c": 0.12875,
    "h": 271.3
  },
  "luminance": 0.0198
}

Semantic roles & 50–950 ramp

primary
#161C67
secondary
#9E963B
accent
#DB40E8
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06030D
muted
#7A787E

Preview Lab

Preview with #161C67

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

Preview Lab → · Contrast checker → · Palette generator →

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