#161B7E#161B7E

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

Color values

HEX#161B7E
RGBrgb(22, 27, 126)
HSLhsl(237, 70%, 29%)
HSVhsv(237, 83%, 49%)
CMYKcmyk(82.5%, 78.6%, 0%, 50.6%)
CIE-LABlab(17.74, 35.29, -55.47)
CIE-LCHlch(17.74, 65.74, 302.46°)
OKLaboklab(30.58% -0.0001 -0.1607)
OKLCHoklch(30.58% 0.161 270)
XYZxyz(4.4874, 2.4603, 19.9730)
Luminance0.0246 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161B7E #7E7916
analogous
#164F7E #161B7E #45167E
triadic
#161B7E #7E161B #1B7E16
tetradic
#161B7E #7E164F #7E7916 #167E45
square
#161B7E #7E164F #7E7916 #167E45
split-complementary
#161B7E #7E4516 #4F7E16
monochromatic
#05061A #0D104A #161B7E #1F26B2 #333BDB

Accessibility & contrast

On white

14.07
#161B7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #161B7E
14.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161B7E#FFFFFF#000000##FFFFFF
##161B7E1.0014.071.4914.07
#FFFFFF14.071.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003181
Deuteranopia (green-blind)
#00267C
Tritanopia (blue-blind)
#00394B
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #161b7e;
/* rgb */ color: rgb(22, 27, 126);
/* oklch */ color: oklch(30.6% 0.161 270.0);
Tailwind
colors: {
  custom: {
    50: '#6959a5',
    500: '#161b7e',
    950: '#000000',
  },
}
SCSS
$custom: #161b7e;
$custom-light: #6959a5;
$custom-dark: #000000;
JSON
{
  "hex": "#161b7e",
  "rgb": {
    "r": 22,
    "g": 27,
    "b": 126
  },
  "hsl": {
    "h": 237.115,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.30578,
    "c": 0.16067,
    "h": 270
  },
  "luminance": 0.02461
}

Semantic roles & 50–950 ramp

primary
#161B7E
secondary
#B3AD3D
accent
#E43BED
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07030F
muted
#7A787F

Preview Lab

Preview with #161B7E

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

Preview Lab → · Contrast checker → · Palette generator →

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