#161A6F#161A6F

#161A6F is a dark, vivid blue. Relative luminance 0.021; OKLCH L 28.7% C 0.142 H 271.2°. Best body text is #FFFFFF at 14.88:1 contrast (WCAG AA passes).

Color values

HEX#161A6F
RGBrgb(22, 26, 111)
HSLhsl(237, 67%, 26%)
HSVhsv(237, 80%, 44%)
CMYKcmyk(80.2%, 76.6%, 0%, 56.5%)
CIE-LABlab(15.78, 30.43, -49.06)
CIE-LCHlch(15.78, 57.73, 301.81°)
OKLaboklab(28.67% 0.0029 -0.142)
OKLCHoklch(28.67% 0.142 271.2)
XYZxyz(3.5685, 2.0567, 15.2447)
Luminance0.0206 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161A6F #6F6B16
analogous
#16466F #161A6F #3E166F
triadic
#161A6F #6F161A #1A6F16
tetradic
#161A6F #6F1646 #6F6B16 #166F3E
square
#161A6F #6F1646 #6F6B16 #166F3E
split-complementary
#161A6F #6F3E16 #466F16
monochromatic
#05061A #0C0E3C #161A6F #2026A2 #2B32D5

Accessibility & contrast

On white

14.88
#161A6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#161A6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161A6F
14.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161A6F#FFFFFF#000000##FFFFFF
##161A6F1.0014.881.4114.88
#FFFFFF14.881.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C72
Deuteranopia (green-blind)
#00236D
Tritanopia (blue-blind)
#003243
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #161a6f;
/* rgb */ color: rgb(22, 26, 111);
/* oklch */ color: oklch(28.7% 0.142 271.2);
Tailwind
colors: {
  custom: {
    50: '#645799',
    500: '#161a6f',
    950: '#000000',
  },
}
SCSS
$custom: #161a6f;
$custom-light: #645799;
$custom-dark: #000000;
JSON
{
  "hex": "#161a6f",
  "rgb": {
    "r": 22,
    "g": 26,
    "b": 111
  },
  "hsl": {
    "h": 237.303,
    "s": 66.917,
    "l": 26.078
  },
  "oklch": {
    "l": 0.28674,
    "c": 0.14206,
    "h": 271.2
  },
  "luminance": 0.02057
}

Semantic roles & 50–950 ramp

primary
#161A6F
secondary
#A5A03C
accent
#E23EEA
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06030E
muted
#7A787E

Preview Lab

Preview with #161A6F

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

Preview Lab → · Contrast checker → · Palette generator →

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