#161C7E#161C7E

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

Color values

HEX#161C7E
RGBrgb(22, 28, 126)
HSLhsl(237, 70%, 29%)
HSVhsv(237, 83%, 49%)
CMYKcmyk(82.5%, 77.8%, 0%, 50.6%)
CIE-LABlab(17.95, 34.69, -55.12)
CIE-LCHlch(17.95, 65.13, 302.18°)
OKLaboklab(30.73% -0.0004 -0.1597)
OKLCHoklch(30.73% 0.16 269.8)
XYZxyz(4.5107, 2.5069, 19.9808)
Luminance0.0251 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161C7E #7E7816
analogous
#16507E #161C7E #44167E
triadic
#161C7E #7E161C #1C7E16
tetradic
#161C7E #7E1650 #7E7816 #167E44
square
#161C7E #7E1650 #7E7816 #167E44
split-complementary
#161C7E #7E4416 #507E16
monochromatic
#05061A #0D104A #161C7E #1F28B2 #333DDB

Accessibility & contrast

On white

13.99
#161C7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#161C7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161C7E
13.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161C7E#FFFFFF#000000##FFFFFF
##161C7E1.0013.991.5013.99
#FFFFFF13.991.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #161c7e;
/* rgb */ color: rgb(22, 28, 126);
/* oklch */ color: oklch(30.7% 0.160 269.8);
Tailwind
colors: {
  custom: {
    50: '#6959a5',
    500: '#161c7e',
    950: '#000000',
  },
}
SCSS
$custom: #161c7e;
$custom-light: #6959a5;
$custom-dark: #000000;
JSON
{
  "hex": "#161c7e",
  "rgb": {
    "r": 22,
    "g": 28,
    "b": 126
  },
  "hsl": {
    "h": 236.538,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.30728,
    "c": 0.15966,
    "h": 269.8
  },
  "luminance": 0.02507
}

Semantic roles & 50–950 ramp

primary
#161C7E
secondary
#B3AC3D
accent
#E33BED
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07030F
muted
#7A787F

Preview Lab

Preview with #161C7E

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

Preview Lab → · Contrast checker → · Palette generator →

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