#161C7C#161C7C

#161C7C is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.5% C 0.157 H 270.0°. Best body text is #FFFFFF at 14.08:1 contrast (WCAG AA passes).

Color values

HEX#161C7C
RGBrgb(22, 28, 124)
HSLhsl(236, 70%, 29%)
HSVhsv(236, 82%, 49%)
CMYKcmyk(82.3%, 77.4%, 0%, 51.4%)
CIE-LABlab(17.72, 33.97, -54.23)
CIE-LCHlch(17.72, 63.99, 302.06°)
OKLaboklab(30.49% -0.0001 -0.1571)
OKLCHoklch(30.49% 0.157 270)
XYZxyz(4.3830, 2.4558, 19.3079)
Luminance0.0246 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161C7C #7C7616
analogous
#164F7C #161C7C #43167C
triadic
#161C7C #7C161C #1C7C16
tetradic
#161C7C #7C164F #7C7616 #167C43
square
#161C7C #7C164F #7C7616 #167C43
split-complementary
#161C7C #7C4316 #4F7C16
monochromatic
#05061A #0D1048 #161C7C #1F28B0 #323CDB

Accessibility & contrast

On white

14.08
#161C7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#161C7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161C7C
14.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161C7C#FFFFFF#000000##FFFFFF
##161C7C1.0014.081.4914.08
#FFFFFF14.081.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00307F
Deuteranopia (green-blind)
#00267A
Tritanopia (blue-blind)
#00384A
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #161c7c;
/* rgb */ color: rgb(22, 28, 124);
/* oklch */ color: oklch(30.5% 0.157 270.0);
Tailwind
colors: {
  custom: {
    50: '#6859a3',
    500: '#161c7c',
    950: '#000000',
  },
}
SCSS
$custom: #161c7c;
$custom-light: #6859a3;
$custom-dark: #000000;
JSON
{
  "hex": "#161c7c",
  "rgb": {
    "r": 22,
    "g": 28,
    "b": 124
  },
  "hsl": {
    "h": 236.471,
    "s": 69.863,
    "l": 28.627
  },
  "oklch": {
    "l": 0.30494,
    "c": 0.15708,
    "h": 270
  },
  "luminance": 0.02456
}

Semantic roles & 50–950 ramp

primary
#161C7C
secondary
#B1AA3D
accent
#E23BED
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07030F
muted
#7A787F

Preview Lab

Preview with #161C7C

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

Preview Lab → · Contrast checker → · Palette generator →

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