#161D74#161D74

#161D74 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.7% C 0.145 H 270.3°. Best body text is #FFFFFF at 14.36:1 contrast (WCAG AA passes).

Color values

HEX#161D74
RGBrgb(22, 29, 116)
HSLhsl(236, 68%, 27%)
HSVhsv(236, 81%, 45%)
CMYKcmyk(81%, 75%, 0%, 54.5%)
CIE-LABlab(17.04, 30.38, -50.22)
CIE-LCHlch(17.04, 58.70, 301.17°)
OKLaboklab(29.74% 0.0007 -0.1454)
OKLCHoklch(29.74% 0.145 270.3)
XYZxyz(3.9216, 2.3098, 16.7588)
Luminance0.0231 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161D74 #746D16
analogous
#164C74 #161D74 #3E1674
triadic
#161D74 #74161D #1D7416
tetradic
#161D74 #74164C #746D16 #16743E
square
#161D74 #74164C #746D16 #16743E
split-complementary
#161D74 #743E16 #4C7416
monochromatic
#05061A #0C1041 #161D74 #202AA7 #2D3AD7

Accessibility & contrast

On white

14.36
#161D74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#161D74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161D74
14.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161D74#FFFFFF#000000##FFFFFF
##161D741.0014.361.4614.36
#FFFFFF14.361.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F77
Deuteranopia (green-blind)
#002572
Tritanopia (blue-blind)
#003646
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #161d74;
/* rgb */ color: rgb(22, 29, 116);
/* oklch */ color: oklch(29.7% 0.145 270.3);
Tailwind
colors: {
  custom: {
    50: '#66599d',
    500: '#161d74',
    950: '#000000',
  },
}
SCSS
$custom: #161d74;
$custom-light: #66599d;
$custom-dark: #000000;
JSON
{
  "hex": "#161d74",
  "rgb": {
    "r": 22,
    "g": 29,
    "b": 116
  },
  "hsl": {
    "h": 235.532,
    "s": 68.116,
    "l": 27.059
  },
  "oklch": {
    "l": 0.29738,
    "c": 0.14544,
    "h": 270.3
  },
  "luminance": 0.0231
}

Semantic roles & 50–950 ramp

primary
#161D74
secondary
#AAA23C
accent
#DE3DEB
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #161D74

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

Preview Lab → · Contrast checker → · Palette generator →

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