#161E46#161E46

#161E46 is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.3% C 0.075 H 271.5°. Best body text is #FFFFFF at 16.05:1 contrast (WCAG AA passes).

Color values

HEX#161E46
RGBrgb(22, 30, 70)
HSLhsl(230, 52%, 18%)
HSVhsv(230, 69%, 27%)
CMYKcmyk(68.6%, 57.1%, 0%, 72.5%)
CIE-LABlab(12.87, 11.28, -26.30)
CIE-LCHlch(12.87, 28.61, 293.21°)
OKLaboklab(25.31% 0.002 -0.0753)
OKLCHoklch(25.31% 0.075 271.5)
XYZxyz(1.9003, 1.5412, 5.9905)
Luminance0.0154 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161E46 #463E16
analogous
#163646 #161E46 #261646
triadic
#161E46 #46161E #1E4616
tetradic
#161E46 #461636 #463E16 #164626
square
#161E46 #461636 #463E16 #164626
split-complementary
#161E46 #462616 #364616
monochromatic
#070A17 #070A17 #161E46 #253275 #3346A3

Accessibility & contrast

On white

16.05
#161E46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#161E46 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161E46
16.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161E46#FFFFFF#000000##FFFFFF
##161E461.0016.051.3116.05
#FFFFFF16.051.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#082347
Deuteranopia (green-blind)
#011F45
Tritanopia (blue-blind)
#00272E
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #161e46;
/* rgb */ color: rgb(22, 30, 70);
/* oklch */ color: oklch(25.3% 0.075 271.5);
Tailwind
colors: {
  custom: {
    50: '#59597a',
    500: '#161e46',
    950: '#000000',
  },
}
SCSS
$custom: #161e46;
$custom-light: #59597a;
$custom-dark: #000000;
JSON
{
  "hex": "#161e46",
  "rgb": {
    "r": 22,
    "g": 30,
    "b": 70
  },
  "hsl": {
    "h": 230,
    "s": 52.174,
    "l": 18.039
  },
  "oklch": {
    "l": 0.25311,
    "c": 0.07535,
    "h": 271.5
  },
  "luminance": 0.01541
}

Semantic roles & 50–950 ramp

primary
#161E46
secondary
#7D723A
accent
#C44CDC
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#040309
muted
#79787B

Preview Lab

Preview with #161E46

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

Preview Lab → · Contrast checker → · Palette generator →

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