#161E9F#161E9F

#161E9F is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.9% C 0.198 H 268.1°. Best body text is #FFFFFF at 12.21:1 contrast (WCAG AA passes).

Color values

HEX#161E9F
RGBrgb(22, 30, 159)
HSLhsl(236, 76%, 35%)
HSVhsv(236, 86%, 62%)
CMYKcmyk(86.2%, 81.1%, 0%, 37.6%)
CIE-LABlab(22.31, 44.97, -68.45)
CIE-LCHlch(22.31, 81.91, 303.30°)
OKLaboklab(34.95% -0.0066 -0.1983)
OKLCHoklch(34.95% 0.198 268.1)
XYZxyz(7.0510, 3.6015, 33.1177)
Luminance0.0360 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161E9F #9F9716
analogous
#16639F #161E9F #52169F
triadic
#161E9F #9F161E #1E9F16
tetradic
#161E9F #9F1663 #9F9716 #169F52
square
#161E9F #9F1663 #9F9716 #169F52
split-complementary
#161E9F #9F5216 #639F16
monochromatic
#070A33 #0F1469 #161E9F #1D28D5 #4A53E6

Accessibility & contrast

On white

12.21
#161E9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#161E9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161E9F
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161E9F#FFFFFF#000000##FFFFFF
##161E9F1.0012.211.7212.21
#FFFFFF12.211.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003CA3
Deuteranopia (green-blind)
#002E9D
Tritanopia (blue-blind)
#00475F
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #161e9f;
/* rgb */ color: rgb(22, 30, 159);
/* oklch */ color: oklch(34.9% 0.198 268.1);
Tailwind
colors: {
  custom: {
    50: '#725dbd',
    500: '#161e9f',
    950: '#000000',
  },
}
SCSS
$custom: #161e9f;
$custom-light: #725dbd;
$custom-dark: #000000;
JSON
{
  "hex": "#161e9f",
  "rgb": {
    "r": 22,
    "g": 30,
    "b": 159
  },
  "hsl": {
    "h": 236.496,
    "s": 75.691,
    "l": 35.49
  },
  "oklch": {
    "l": 0.34948,
    "c": 0.19844,
    "h": 268.1
  },
  "luminance": 0.03602
}

Semantic roles & 50–950 ramp

primary
#161E9F
secondary
#C7C04A
accent
#E736F2
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #161E9F

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

Preview Lab → · Contrast checker → · Palette generator →

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