#161D67#161D67

#161D67 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.3% C 0.128 H 271.1°. Best body text is #FFFFFF at 14.94:1 contrast (WCAG AA passes).

Color values

HEX#161D67
RGBrgb(22, 29, 103)
HSLhsl(235, 65%, 25%)
HSVhsv(235, 79%, 40%)
CMYKcmyk(78.6%, 71.8%, 0%, 59.6%)
CIE-LABlab(15.63, 25.39, -44.07)
CIE-LCHlch(15.63, 50.86, 299.95°)
OKLaboklab(28.31% 0.0024 -0.1275)
OKLCHoklch(28.31% 0.128 271.1)
XYZxyz(3.2176, 2.0282, 13.0512)
Luminance0.0203 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161D67 #676016
analogous
#164667 #161D67 #381667
triadic
#161D67 #67161D #1D6716
tetradic
#161D67 #671646 #676016 #166738
square
#161D67 #671646 #676016 #166738
split-complementary
#161D67 #673816 #466716
monochromatic
#050719 #0B0F35 #161D67 #212B99 #2C39CC

Accessibility & contrast

On white

14.94
#161D67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #161D67
14.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161D67#FFFFFF#000000##FFFFFF
##161D671.0014.941.4114.94
#FFFFFF14.941.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #161d67;
/* rgb */ color: rgb(22, 29, 103);
/* oklch */ color: oklch(28.3% 0.128 271.1);
Tailwind
colors: {
  custom: {
    50: '#625993',
    500: '#161d67',
    950: '#000000',
  },
}
SCSS
$custom: #161d67;
$custom-light: #625993;
$custom-dark: #000000;
JSON
{
  "hex": "#161d67",
  "rgb": {
    "r": 22,
    "g": 29,
    "b": 103
  },
  "hsl": {
    "h": 234.815,
    "s": 64.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.28306,
    "c": 0.12751,
    "h": 271.1
  },
  "luminance": 0.02029
}

Semantic roles & 50–950 ramp

primary
#161D67
secondary
#9E953B
accent
#D940E8
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06030D
muted
#7A787E

Preview Lab

Preview with #161D67

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

Preview Lab → · Contrast checker → · Palette generator →

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