#161F66#161F66

#161F66 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 28.6% C 0.124 H 270.5°. Best body text is #FFFFFF at 14.77:1 contrast (WCAG AA passes).

Color values

HEX#161F66
RGBrgb(22, 31, 102)
HSLhsl(233, 65%, 24%)
HSVhsv(233, 78%, 40%)
CMYKcmyk(78.4%, 69.6%, 0%, 60%)
CIE-LABlab(16.05, 23.60, -42.73)
CIE-LCHlch(16.05, 48.81, 298.92°)
OKLaboklab(28.58% 0.0012 -0.1236)
OKLCHoklch(28.58% 0.124 270.5)
XYZxyz(3.2183, 2.1095, 12.8054)
Luminance0.0211 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161F66 #665D16
analogous
#164766 #161F66 #351666
triadic
#161F66 #66161F #1F6616
tetradic
#161F66 #661647 #665D16 #166635
square
#161F66 #661647 #665D16 #166635
split-complementary
#161F66 #663516 #476616
monochromatic
#050819 #0B1034 #161F66 #212E98 #2C3ECB

Accessibility & contrast

On white

14.77
#161F66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#161F66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161F66
14.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161F66#FFFFFF#000000##FFFFFF
##161F661.0014.771.4214.77
#FFFFFF14.771.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C68
Deuteranopia (green-blind)
#002465
Tritanopia (blue-blind)
#00323F
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #161f66;
/* rgb */ color: rgb(22, 31, 102);
/* oklch */ color: oklch(28.6% 0.124 270.5);
Tailwind
colors: {
  custom: {
    50: '#615a92',
    500: '#161f66',
    950: '#000000',
  },
}
SCSS
$custom: #161f66;
$custom-light: #615a92;
$custom-dark: #000000;
JSON
{
  "hex": "#161f66",
  "rgb": {
    "r": 22,
    "g": 31,
    "b": 102
  },
  "hsl": {
    "h": 233.25,
    "s": 64.516,
    "l": 24.314
  },
  "oklch": {
    "l": 0.28579,
    "c": 0.12357,
    "h": 270.5
  },
  "luminance": 0.0211
}

Semantic roles & 50–950 ramp

primary
#161F66
secondary
#9D923B
accent
#D540E8
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06040D
muted
#7A797E

Preview Lab

Preview with #161F66

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

Preview Lab → · Contrast checker → · Palette generator →

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