#161F6B#161F6B

#161F6B is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.1% C 0.131 H 270.3°. Best body text is #FFFFFF at 14.56:1 contrast (WCAG AA passes).

Color values

HEX#161F6B
RGBrgb(22, 31, 107)
HSLhsl(234, 66%, 25%)
HSVhsv(234, 79%, 42%)
CMYKcmyk(79.4%, 71%, 0%, 58%)
CIE-LABlab(16.56, 25.58, -45.17)
CIE-LCHlch(16.56, 51.91, 299.53°)
OKLaboklab(29.1% 0.0007 -0.1307)
OKLCHoklch(29.1% 0.131 270.3)
XYZxyz(3.4738, 2.2117, 14.1509)
Luminance0.0221 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161F6B #6B6216
analogous
#16496B #161F6B #37166B
triadic
#161F6B #6B161F #1F6B16
tetradic
#161F6B #6B1649 #6B6216 #166B37
square
#161F6B #6B1649 #6B6216 #166B37
split-complementary
#161F6B #6B3716 #496B16
monochromatic
#050719 #0C1038 #161F6B #202E9E #2B3CD1

Accessibility & contrast

On white

14.56
#161F6B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#161F6B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161F6B
14.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161F6B#FFFFFF#000000##FFFFFF
##161F6B1.0014.561.4414.56
#FFFFFF14.561.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D6D
Deuteranopia (green-blind)
#00256A
Tritanopia (blue-blind)
#003442
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #161f6b;
/* rgb */ color: rgb(22, 31, 107);
/* oklch */ color: oklch(29.1% 0.131 270.3);
Tailwind
colors: {
  custom: {
    50: '#635a96',
    500: '#161f6b',
    950: '#000000',
  },
}
SCSS
$custom: #161f6b;
$custom-light: #635a96;
$custom-dark: #000000;
JSON
{
  "hex": "#161f6b",
  "rgb": {
    "r": 22,
    "g": 31,
    "b": 107
  },
  "hsl": {
    "h": 233.647,
    "s": 65.891,
    "l": 25.294
  },
  "oklch": {
    "l": 0.29105,
    "c": 0.13069,
    "h": 270.3
  },
  "luminance": 0.02212
}

Semantic roles & 50–950 ramp

primary
#161F6B
secondary
#A1973B
accent
#D73FE9
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040D
muted
#7A797E

Preview Lab

Preview with #161F6B

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

Preview Lab → · Contrast checker → · Palette generator →

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