#161D6C#161D6C

#161D6C is a dark, vivid blue. Relative luminance 0.021; OKLCH L 28.8% C 0.135 H 270.8°. Best body text is #FFFFFF at 14.72:1 contrast (WCAG AA passes).

Color values

HEX#161D6C
RGBrgb(22, 29, 108)
HSLhsl(235, 66%, 25%)
HSVhsv(235, 80%, 42%)
CMYKcmyk(79.6%, 73.1%, 0%, 57.6%)
CIE-LABlab(16.16, 27.33, -46.47)
CIE-LCHlch(16.16, 53.92, 300.46°)
OKLaboklab(28.85% 0.0018 -0.1345)
OKLCHoklch(28.85% 0.135 270.8)
XYZxyz(3.4761, 2.1316, 14.4127)
Luminance0.0213 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161D6C #6C6516
analogous
#16486C #161D6C #3A166C
triadic
#161D6C #6C161D #1D6C16
tetradic
#161D6C #6C1648 #6C6516 #166C3A
square
#161D6C #6C1648 #6C6516 #166C3A
split-complementary
#161D6C #6C3A16 #486C16
monochromatic
#050719 #0C0F39 #161D6C #202B9F #2B38D2

Accessibility & contrast

On white

14.72
#161D6C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#161D6C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161D6C
14.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161D6C#FFFFFF#000000##FFFFFF
##161D6C1.0014.721.4314.72
#FFFFFF14.721.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C6E
Deuteranopia (green-blind)
#00246B
Tritanopia (blue-blind)
#003342
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #161d6c;
/* rgb */ color: rgb(22, 29, 108);
/* oklch */ color: oklch(28.8% 0.135 270.8);
Tailwind
colors: {
  custom: {
    50: '#635997',
    500: '#161d6c',
    950: '#000000',
  },
}
SCSS
$custom: #161d6c;
$custom-light: #635997;
$custom-dark: #000000;
JSON
{
  "hex": "#161d6c",
  "rgb": {
    "r": 22,
    "g": 29,
    "b": 108
  },
  "hsl": {
    "h": 235.116,
    "s": 66.154,
    "l": 25.49
  },
  "oklch": {
    "l": 0.28849,
    "c": 0.13452,
    "h": 270.8
  },
  "luminance": 0.02132
}

Semantic roles & 50–950 ramp

primary
#161D6C
secondary
#A29A3C
accent
#DB3FE9
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06030E
muted
#7A787E

Preview Lab

Preview with #161D6C

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

Preview Lab → · Contrast checker → · Palette generator →

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