#161F65#161F65

#161F65 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 28.5% C 0.122 H 270.6°. Best body text is #FFFFFF at 14.81:1 contrast (WCAG AA passes).

Color values

HEX#161F65
RGBrgb(22, 31, 101)
HSLhsl(233, 64%, 24%)
HSVhsv(233, 78%, 40%)
CMYKcmyk(78.2%, 69.3%, 0%, 60.4%)
CIE-LABlab(15.95, 23.21, -42.23)
CIE-LCHlch(15.95, 48.19, 298.79°)
OKLaboklab(28.48% 0.0012 -0.1221)
OKLCHoklch(28.48% 0.122 270.6)
XYZxyz(3.1690, 2.0898, 12.5458)
Luminance0.0209 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161F65 #655C16
analogous
#164765 #161F65 #351665
triadic
#161F65 #65161F #1F6516
tetradic
#161F65 #651647 #655C16 #166535
square
#161F65 #651647 #655C16 #166535
split-complementary
#161F65 #653516 #476516
monochromatic
#050819 #0B1033 #161F65 #212E97 #2C3ECA

Accessibility & contrast

On white

14.81
#161F65 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #161F65
14.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161F65#FFFFFF#000000##FFFFFF
##161F651.0014.811.4214.81
#FFFFFF14.811.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #161f65;
/* rgb */ color: rgb(22, 31, 101);
/* oklch */ color: oklch(28.5% 0.122 270.6);
Tailwind
colors: {
  custom: {
    50: '#615a92',
    500: '#161f65',
    950: '#000000',
  },
}
SCSS
$custom: #161f65;
$custom-light: #615a92;
$custom-dark: #000000;
JSON
{
  "hex": "#161f65",
  "rgb": {
    "r": 22,
    "g": 31,
    "b": 101
  },
  "hsl": {
    "h": 233.165,
    "s": 64.228,
    "l": 24.118
  },
  "oklch": {
    "l": 0.28475,
    "c": 0.12212,
    "h": 270.6
  },
  "luminance": 0.0209
}

Semantic roles & 50–950 ramp

primary
#161F65
secondary
#9C913B
accent
#D441E7
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06040D
muted
#7A797E

Preview Lab

Preview with #161F65

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

Preview Lab → · Contrast checker → · Palette generator →

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