#161BA1#161BA1

#161BA1 is a dark, highly saturated blue. Relative luminance 0.035; OKLCH L 34.8% C 0.203 H 268.2°. Best body text is #FFFFFF at 12.31:1 contrast (WCAG AA passes).

Color values

HEX#161BA1
RGBrgb(22, 27, 161)
HSLhsl(238, 76%, 36%)
HSVhsv(238, 86%, 63%)
CMYKcmyk(86.3%, 83.2%, 0%, 36.9%)
CIE-LABlab(22.04, 47.14, -70.12)
CIE-LCHlch(22.04, 84.49, 303.91°)
OKLaboklab(34.83% -0.0065 -0.2031)
OKLCHoklch(34.83% 0.203 268.2)
XYZxyz(7.1536, 3.5268, 34.0150)
Luminance0.0353 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161BA1 #A19C16
analogous
#1660A1 #161BA1 #5616A1
triadic
#161BA1 #A1161B #1BA116
tetradic
#161BA1 #A11660 #A19C16 #16A156
square
#161BA1 #A11660 #A19C16 #16A156
split-complementary
#161BA1 #A15616 #60A116
monochromatic
#070935 #0F126B #161BA1 #1D24D7 #4B51E6

Accessibility & contrast

On white

12.31
#161BA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#161BA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161BA1
12.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161BA1#FFFFFF#000000##FFFFFF
##161BA11.0012.311.7112.31
#FFFFFF12.311.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003CA5
Deuteranopia (green-blind)
#002D9F
Tritanopia (blue-blind)
#004760
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #161ba1;
/* rgb */ color: rgb(22, 27, 161);
/* oklch */ color: oklch(34.8% 0.203 268.2);
Tailwind
colors: {
  custom: {
    50: '#725bbe',
    500: '#161ba1',
    950: '#000000',
  },
}
SCSS
$custom: #161ba1;
$custom-light: #725bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#161ba1",
  "rgb": {
    "r": 22,
    "g": 27,
    "b": 161
  },
  "hsl": {
    "h": 237.842,
    "s": 75.956,
    "l": 35.882
  },
  "oklch": {
    "l": 0.34834,
    "c": 0.20319,
    "h": 268.2
  },
  "luminance": 0.03528
}

Semantic roles & 50–950 ramp

primary
#161BA1
secondary
#C8C34B
accent
#EC35F3
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #161BA1

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

Preview Lab → · Contrast checker → · Palette generator →

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