#161E71#161E71

#161E71 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.6% C 0.140 H 270.3°. Best body text is #FFFFFF at 14.40:1 contrast (WCAG AA passes).

Color values

HEX#161E71
RGBrgb(22, 30, 113)
HSLhsl(235, 67%, 26%)
HSVhsv(235, 81%, 44%)
CMYKcmyk(80.5%, 73.5%, 0%, 55.7%)
CIE-LABlab(16.95, 28.58, -48.43)
CIE-LCHlch(16.95, 56.24, 300.55°)
OKLaboklab(29.58% 0.0006 -0.1402)
OKLCHoklch(29.58% 0.14 270.3)
XYZxyz(3.7748, 2.2910, 15.8628)
Luminance0.0229 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161E71 #716916
analogous
#164C71 #161E71 #3C1671
triadic
#161E71 #71161E #1E7116
tetradic
#161E71 #71164C #716916 #16713C
square
#161E71 #71164C #716916 #16713C
split-complementary
#161E71 #713C16 #4C7116
monochromatic
#05071A #0C103E #161E71 #202CA4 #2C3BD6

Accessibility & contrast

On white

14.40
#161E71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#161E71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161E71
14.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161E71#FFFFFF#000000##FFFFFF
##161E711.0014.401.4614.40
#FFFFFF14.401.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E74
Deuteranopia (green-blind)
#00256F
Tritanopia (blue-blind)
#003545
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #161e71;
/* rgb */ color: rgb(22, 30, 113);
/* oklch */ color: oklch(29.6% 0.140 270.3);
Tailwind
colors: {
  custom: {
    50: '#655a9b',
    500: '#161e71',
    950: '#000000',
  },
}
SCSS
$custom: #161e71;
$custom-light: #655a9b;
$custom-dark: #000000;
JSON
{
  "hex": "#161e71",
  "rgb": {
    "r": 22,
    "g": 30,
    "b": 113
  },
  "hsl": {
    "h": 234.725,
    "s": 67.407,
    "l": 26.471
  },
  "oklch": {
    "l": 0.29575,
    "c": 0.14023,
    "h": 270.3
  },
  "luminance": 0.02291
}

Semantic roles & 50–950 ramp

primary
#161E71
secondary
#A79E3C
accent
#DB3EEA
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #161E71

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

Preview Lab → · Contrast checker → · Palette generator →

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