#161A8F#161A8F

#161A8F is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.5% C 0.183 H 269.1°. Best body text is #FFFFFF at 13.30:1 contrast (WCAG AA passes).

Color values

HEX#161A8F
RGBrgb(22, 26, 143)
HSLhsl(238, 73%, 32%)
HSVhsv(238, 85%, 56%)
CMYKcmyk(84.6%, 81.8%, 0%, 43.9%)
CIE-LABlab(19.61, 41.74, -63.07)
CIE-LCHlch(19.61, 75.63, 303.49°)
OKLaboklab(32.49% -0.003 -0.1827)
OKLCHoklch(32.49% 0.183 269.1)
XYZxyz(5.6565, 2.8919, 26.2413)
Luminance0.0289 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161A8F #8F8B16
analogous
#16568F #161A8F #4F168F
triadic
#161A8F #8F161A #1A8F16
tetradic
#161A8F #8F1656 #8F8B16 #168F4F
square
#161A8F #8F1656 #8F8B16 #168F4F
split-complementary
#161A8F #8F4F16 #568F16
monochromatic
#060725 #0E105A #161A8F #1E24C4 #3E43E1

Accessibility & contrast

On white

13.30
#161A8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#161A8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161A8F
13.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161A8F#FFFFFF#000000##FFFFFF
##161A8F1.0013.301.5813.30
#FFFFFF13.301.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003692
Deuteranopia (green-blind)
#00298D
Tritanopia (blue-blind)
#003F55
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #161a8f;
/* rgb */ color: rgb(22, 26, 143);
/* oklch */ color: oklch(32.5% 0.183 269.1);
Tailwind
colors: {
  custom: {
    50: '#6e59b1',
    500: '#161a8f',
    950: '#000000',
  },
}
SCSS
$custom: #161a8f;
$custom-light: #6e59b1;
$custom-dark: #000000;
JSON
{
  "hex": "#161a8f",
  "rgb": {
    "r": 22,
    "g": 26,
    "b": 143
  },
  "hsl": {
    "h": 238.017,
    "s": 73.333,
    "l": 32.353
  },
  "oklch": {
    "l": 0.3249,
    "c": 0.18271,
    "h": 269.1
  },
  "luminance": 0.02893
}

Semantic roles & 50–950 ramp

primary
#161A8F
secondary
#C1BD3F
accent
#EA38F0
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #161A8F

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

Preview Lab → · Contrast checker → · Palette generator →

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