#161C7F#161C7F

#161C7F is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.8% C 0.161 H 269.8°. Best body text is #FFFFFF at 13.94:1 contrast (WCAG AA passes).

Color values

HEX#161C7F
RGBrgb(22, 28, 127)
HSLhsl(237, 70%, 29%)
HSVhsv(237, 83%, 50%)
CMYKcmyk(82.7%, 78%, 0%, 50.2%)
CIE-LABlab(18.07, 35.05, -55.56)
CIE-LCHlch(18.07, 65.69, 302.25°)
OKLaboklab(30.85% -0.0006 -0.1609)
OKLCHoklch(30.85% 0.161 269.8)
XYZxyz(4.5756, 2.5329, 20.3223)
Luminance0.0253 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161C7F #7F7916
analogous
#16517F #161C7F #44167F
triadic
#161C7F #7F161C #1C7F16
tetradic
#161C7F #7F1651 #7F7916 #167F44
square
#161C7F #7F1651 #7F7916 #167F44
split-complementary
#161C7F #7F4416 #517F16
monochromatic
#05061A #0D104B #161C7F #1F28B3 #343DDC

Accessibility & contrast

On white

13.94
#161C7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#161C7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161C7F
13.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161C7F#FFFFFF#000000##FFFFFF
##161C7F1.0013.941.5113.94
#FFFFFF13.941.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003182
Deuteranopia (green-blind)
#00277D
Tritanopia (blue-blind)
#00394C
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #161c7f;
/* rgb */ color: rgb(22, 28, 127);
/* oklch */ color: oklch(30.8% 0.161 269.8);
Tailwind
colors: {
  custom: {
    50: '#6959a5',
    500: '#161c7f',
    950: '#000000',
  },
}
SCSS
$custom: #161c7f;
$custom-light: #6959a5;
$custom-dark: #000000;
JSON
{
  "hex": "#161c7f",
  "rgb": {
    "r": 22,
    "g": 28,
    "b": 127
  },
  "hsl": {
    "h": 236.571,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.30845,
    "c": 0.16095,
    "h": 269.8
  },
  "luminance": 0.02533
}

Semantic roles & 50–950 ramp

primary
#161C7F
secondary
#B4AD3D
accent
#E33BED
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F

Preview Lab

Preview with #161C7F

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

Preview Lab → · Contrast checker → · Palette generator →

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