#161E7E#161E7E

#161E7E is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.0% C 0.158 H 269.6°. Best body text is #FFFFFF at 13.81:1 contrast (WCAG AA passes).

Color values

HEX#161E7E
RGBrgb(22, 30, 126)
HSLhsl(235, 70%, 29%)
HSVhsv(235, 83%, 49%)
CMYKcmyk(82.5%, 76.2%, 0%, 50.6%)
CIE-LABlab(18.39, 33.46, -54.40)
CIE-LCHlch(18.39, 63.86, 301.60°)
OKLaboklab(31.04% -0.0012 -0.1576)
OKLCHoklch(31.04% 0.158 269.6)
XYZxyz(4.5598, 2.6050, 19.9971)
Luminance0.0261 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161E7E #7E7616
analogous
#16527E #161E7E #42167E
triadic
#161E7E #7E161E #1E7E16
tetradic
#161E7E #7E1652 #7E7616 #167E42
square
#161E7E #7E1652 #7E7616 #167E42
split-complementary
#161E7E #7E4216 #527E16
monochromatic
#05061A #0D124A #161E7E #1F2AB2 #3340DB

Accessibility & contrast

On white

13.81
#161E7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#161E7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161E7E
13.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161E7E#FFFFFF#000000##FFFFFF
##161E7E1.0013.811.5213.81
#FFFFFF13.811.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003281
Deuteranopia (green-blind)
#00287C
Tritanopia (blue-blind)
#003A4C
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #161e7e;
/* rgb */ color: rgb(22, 30, 126);
/* oklch */ color: oklch(31.0% 0.158 269.6);
Tailwind
colors: {
  custom: {
    50: '#685ba4',
    500: '#161e7e',
    950: '#000000',
  },
}
SCSS
$custom: #161e7e;
$custom-light: #685ba4;
$custom-dark: #000000;
JSON
{
  "hex": "#161e7e",
  "rgb": {
    "r": 22,
    "g": 30,
    "b": 126
  },
  "hsl": {
    "h": 235.385,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.31039,
    "c": 0.15758,
    "h": 269.6
  },
  "luminance": 0.02605
}

Semantic roles & 50–950 ramp

primary
#161E7E
secondary
#B3AA3D
accent
#DF3BED
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F

Preview Lab

Preview with #161E7E

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

Preview Lab → · Contrast checker → · Palette generator →

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