#161E7D#161E7D

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

Color values

HEX#161E7D
RGBrgb(22, 30, 125)
HSLhsl(235, 70%, 29%)
HSVhsv(235, 82%, 49%)
CMYKcmyk(82.4%, 76%, 0%, 51%)
CIE-LABlab(18.27, 33.09, -53.95)
CIE-LCHlch(18.27, 63.29, 301.53°)
OKLaboklab(30.92% -0.001 -0.1563)
OKLCHoklch(30.92% 0.156 269.6)
XYZxyz(4.4956, 2.5793, 19.6590)
Luminance0.0258 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161E7D #7D7516
analogous
#16527D #161E7D #42167D
triadic
#161E7D #7D161E #1E7D16
tetradic
#161E7D #7D1652 #7D7516 #167D42
square
#161E7D #7D1652 #7D7516 #167D42
split-complementary
#161E7D #7D4216 #527D16
monochromatic
#05061A #0D1249 #161E7D #1F2AB1 #3240DB

Accessibility & contrast

On white

13.85
#161E7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #161E7D
13.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161E7D#FFFFFF#000000##FFFFFF
##161E7D1.0013.851.5213.85
#FFFFFF13.851.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003280
Deuteranopia (green-blind)
#00277B
Tritanopia (blue-blind)
#003A4C
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #161e7d;
/* rgb */ color: rgb(22, 30, 125);
/* oklch */ color: oklch(30.9% 0.156 269.6);
Tailwind
colors: {
  custom: {
    50: '#685ba4',
    500: '#161e7d',
    950: '#000000',
  },
}
SCSS
$custom: #161e7d;
$custom-light: #685ba4;
$custom-dark: #000000;
JSON
{
  "hex": "#161e7d",
  "rgb": {
    "r": 22,
    "g": 30,
    "b": 125
  },
  "hsl": {
    "h": 235.34,
    "s": 70.068,
    "l": 28.824
  },
  "oklch": {
    "l": 0.30924,
    "c": 0.15628,
    "h": 269.6
  },
  "luminance": 0.0258
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #161E7D

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

Preview Lab → · Contrast checker → · Palette generator →

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