#161F6E#161F6E

#161F6E is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.4% C 0.135 H 270.2°. Best body text is #FFFFFF at 14.43:1 contrast (WCAG AA passes).

Color values

HEX#161F6E
RGBrgb(22, 31, 110)
HSLhsl(234, 67%, 26%)
HSVhsv(234, 80%, 43%)
CMYKcmyk(80%, 71.8%, 0%, 56.9%)
CIE-LABlab(16.87, 26.75, -46.61)
CIE-LCHlch(16.87, 53.74, 299.86°)
OKLaboklab(29.43% 0.0004 -0.1349)
OKLCHoklch(29.43% 0.135 270.2)
XYZxyz(3.6344, 2.2759, 14.9966)
Luminance0.0228 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161F6E #6E6516
analogous
#164B6E #161F6E #39166E
triadic
#161F6E #6E161F #1F6E16
tetradic
#161F6E #6E164B #6E6516 #166E39
square
#161F6E #6E164B #6E6516 #166E39
split-complementary
#161F6E #6E3916 #4B6E16
monochromatic
#05071A #0C113B #161F6E #202DA1 #2A3CD4

Accessibility & contrast

On white

14.43
#161F6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #161F6E
14.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161F6E#FFFFFF#000000##FFFFFF
##161F6E1.0014.431.4614.43
#FFFFFF14.431.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E70
Deuteranopia (green-blind)
#00256D
Tritanopia (blue-blind)
#003543
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #161f6e;
/* rgb */ color: rgb(22, 31, 110);
/* oklch */ color: oklch(29.4% 0.135 270.2);
Tailwind
colors: {
  custom: {
    50: '#645b98',
    500: '#161f6e',
    950: '#000000',
  },
}
SCSS
$custom: #161f6e;
$custom-light: #645b98;
$custom-dark: #000000;
JSON
{
  "hex": "#161f6e",
  "rgb": {
    "r": 22,
    "g": 31,
    "b": 110
  },
  "hsl": {
    "h": 233.864,
    "s": 66.667,
    "l": 25.882
  },
  "oklch": {
    "l": 0.29427,
    "c": 0.1349,
    "h": 270.2
  },
  "luminance": 0.02276
}

Semantic roles & 50–950 ramp

primary
#161F6E
secondary
#A4993C
accent
#D83EEA
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #161F6E

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

Preview Lab → · Contrast checker → · Palette generator →

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