#161A7D#161A7D

#161A7D is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.3% C 0.160 H 270.2°. Best body text is #FFFFFF at 14.21:1 contrast (WCAG AA passes).

Color values

HEX#161A7D
RGBrgb(22, 26, 125)
HSLhsl(238, 70%, 29%)
HSVhsv(238, 82%, 49%)
CMYKcmyk(82.4%, 79.2%, 0%, 51%)
CIE-LABlab(17.41, 35.53, -55.37)
CIE-LCHlch(17.41, 65.79, 302.68°)
OKLaboklab(30.31% 0.0005 -0.1604)
OKLCHoklch(30.31% 0.16 270.2)
XYZxyz(4.4007, 2.3895, 19.6274)
Luminance0.0239 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161A7D #7D7916
analogous
#164E7D #161A7D #46167D
triadic
#161A7D #7D161A #1A7D16
tetradic
#161A7D #7D164E #7D7916 #167D46
square
#161A7D #7D164E #7D7916 #167D46
split-complementary
#161A7D #7D4616 #4E7D16
monochromatic
#05051A #0D0F49 #161A7D #1F25B1 #3239DB

Accessibility & contrast

On white

14.21
#161A7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#161A7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161A7D
14.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161A7D#FFFFFF#000000##FFFFFF
##161A7D1.0014.211.4814.21
#FFFFFF14.211.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003080
Deuteranopia (green-blind)
#00257B
Tritanopia (blue-blind)
#00384B
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #161a7d;
/* rgb */ color: rgb(22, 26, 125);
/* oklch */ color: oklch(30.3% 0.160 270.2);
Tailwind
colors: {
  custom: {
    50: '#6858a4',
    500: '#161a7d',
    950: '#000000',
  },
}
SCSS
$custom: #161a7d;
$custom-light: #6858a4;
$custom-dark: #000000;
JSON
{
  "hex": "#161a7d",
  "rgb": {
    "r": 22,
    "g": 26,
    "b": 125
  },
  "hsl": {
    "h": 237.67,
    "s": 70.068,
    "l": 28.824
  },
  "oklch": {
    "l": 0.30312,
    "c": 0.16038,
    "h": 270.2
  },
  "luminance": 0.0239
}

Semantic roles & 50–950 ramp

primary
#161A7D
secondary
#B2AD3D
accent
#E63BED
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07030F
muted
#7A787F

Preview Lab

Preview with #161A7D

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

Preview Lab → · Contrast checker → · Palette generator →

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