#161E4C#161E4C

#161E4C is a dark, moderate blue. Relative luminance 0.016; OKLCH L 25.8% C 0.085 H 271.7°. Best body text is #FFFFFF at 15.86:1 contrast (WCAG AA passes).

Color values

HEX#161E4C
RGBrgb(22, 30, 76)
HSLhsl(231, 55%, 19%)
HSVhsv(231, 71%, 30%)
CMYKcmyk(71.1%, 60.5%, 0%, 70.2%)
CIE-LABlab(13.36, 13.75, -29.65)
CIE-LCHlch(13.36, 32.69, 294.88°)
OKLaboklab(25.83% 0.0025 -0.0852)
OKLCHoklch(25.83% 0.085 271.7)
XYZxyz(2.0992, 1.6207, 7.0383)
Luminance0.0162 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161E4C #4C4416
analogous
#16394C #161E4C #29164C
triadic
#161E4C #4C161E #1E4C16
tetradic
#161E4C #4C1639 #4C4416 #164C29
square
#161E4C #4C1639 #4C4416 #164C29
split-complementary
#161E4C #4C2916 #394C16
monochromatic
#070918 #080B1D #161E4C #24317B #3143AB

Accessibility & contrast

On white

15.86
#161E4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#161E4C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161E4C
15.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161E4C#FFFFFF#000000##FFFFFF
##161E4C1.0015.861.3215.86
#FFFFFF15.861.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00254E
Deuteranopia (green-blind)
#00204B
Tritanopia (blue-blind)
#002931
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #161e4c;
/* rgb */ color: rgb(22, 30, 76);
/* oklch */ color: oklch(25.8% 0.085 271.7);
Tailwind
colors: {
  custom: {
    50: '#5a597e',
    500: '#161e4c',
    950: '#000000',
  },
}
SCSS
$custom: #161e4c;
$custom-light: #5a597e;
$custom-dark: #000000;
JSON
{
  "hex": "#161e4c",
  "rgb": {
    "r": 22,
    "g": 30,
    "b": 76
  },
  "hsl": {
    "h": 231.111,
    "s": 55.102,
    "l": 19.216
  },
  "oklch": {
    "l": 0.25834,
    "c": 0.08523,
    "h": 271.7
  },
  "luminance": 0.01621
}

Semantic roles & 50–950 ramp

primary
#161E4C
secondary
#84793A
accent
#C849DE
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04030A
muted
#79787C

Preview Lab

Preview with #161E4C

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

Preview Lab → · Contrast checker → · Palette generator →

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