#161FA1#161FA1

#161FA1 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.3% C 0.200 H 267.9°. Best body text is #FFFFFF at 12.04:1 contrast (WCAG AA passes).

Color values

HEX#161FA1
RGBrgb(22, 31, 161)
HSLhsl(236, 76%, 36%)
HSVhsv(236, 86%, 63%)
CMYKcmyk(86.3%, 80.7%, 0%, 36.9%)
CIE-LABlab(22.73, 45.11, -68.97)
CIE-LCHlch(22.73, 82.41, 303.19°)
OKLaboklab(35.32% -0.0072 -0.1998)
OKLCHoklch(35.32% 0.2 267.9)
XYZxyz(7.2517, 3.7229, 34.0477)
Luminance0.0372 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161FA1 #A19816
analogous
#1664A1 #161FA1 #5216A1
triadic
#161FA1 #A1161F #1FA116
tetradic
#161FA1 #A11664 #A19816 #16A152
square
#161FA1 #A11664 #A19816 #16A152
split-complementary
#161FA1 #A15216 #64A116
monochromatic
#070A35 #0F156B #161FA1 #1D29D7 #4B55E6

Accessibility & contrast

On white

12.04
#161FA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#161FA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161FA1
12.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161FA1#FFFFFF#000000##FFFFFF
##161FA11.0012.041.7412.04
#FFFFFF12.041.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003DA5
Deuteranopia (green-blind)
#002F9F
Tritanopia (blue-blind)
#004860
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #161fa1;
/* rgb */ color: rgb(22, 31, 161);
/* oklch */ color: oklch(35.3% 0.200 267.9);
Tailwind
colors: {
  custom: {
    50: '#725dbe',
    500: '#161fa1',
    950: '#000000',
  },
}
SCSS
$custom: #161fa1;
$custom-light: #725dbe;
$custom-dark: #000000;
JSON
{
  "hex": "#161fa1",
  "rgb": {
    "r": 22,
    "g": 31,
    "b": 161
  },
  "hsl": {
    "h": 236.115,
    "s": 75.956,
    "l": 35.882
  },
  "oklch": {
    "l": 0.35317,
    "c": 0.19996,
    "h": 267.9
  },
  "luminance": 0.03724
}

Semantic roles & 50–950 ramp

primary
#161FA1
secondary
#C8C04B
accent
#E635F3
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #161FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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