#161E4F#161E4F

#161E4F is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.1% C 0.090 H 271.7°. Best body text is #FFFFFF at 15.76:1 contrast (WCAG AA passes).

Color values

HEX#161E4F
RGBrgb(22, 30, 79)
HSLhsl(232, 56%, 20%)
HSVhsv(232, 72%, 31%)
CMYKcmyk(72.2%, 62%, 0%, 69%)
CIE-LABlab(13.61, 14.99, -31.29)
CIE-LCHlch(13.61, 34.70, 295.59°)
OKLaboklab(26.11% 0.0026 -0.09)
OKLCHoklch(26.11% 0.09 271.7)
XYZxyz(2.2060, 1.6634, 7.6004)
Luminance0.0166 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161E4F #4F4716
analogous
#163B4F #161E4F #2B164F
triadic
#161E4F #4F161E #1E4F16
tetradic
#161E4F #4F163B #4F4716 #164F2B
square
#161E4F #4F163B #4F4716 #164F2B
split-complementary
#161E4F #4F2B16 #3B4F16
monochromatic
#070918 #090C1F #161E4F #23307F #3142AF

Accessibility & contrast

On white

15.76
#161E4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#161E4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161E4F
15.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161E4F#FFFFFF#000000##FFFFFF
##161E4F1.0015.761.3315.76
#FFFFFF15.761.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002551
Deuteranopia (green-blind)
#00204E
Tritanopia (blue-blind)
#002A33
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #161e4f;
/* rgb */ color: rgb(22, 30, 79);
/* oklch */ color: oklch(26.1% 0.090 271.7);
Tailwind
colors: {
  custom: {
    50: '#5b5981',
    500: '#161e4f',
    950: '#000000',
  },
}
SCSS
$custom: #161e4f;
$custom-light: #5b5981;
$custom-dark: #000000;
JSON
{
  "hex": "#161e4f",
  "rgb": {
    "r": 22,
    "g": 30,
    "b": 79
  },
  "hsl": {
    "h": 231.579,
    "s": 56.436,
    "l": 19.804
  },
  "oklch": {
    "l": 0.26106,
    "c": 0.09006,
    "h": 271.7
  },
  "luminance": 0.01664
}

Semantic roles & 50–950 ramp

primary
#161E4F
secondary
#867C3A
accent
#CA48E0
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04030A
muted
#79787C

Preview Lab

Preview with #161E4F

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

Preview Lab → · Contrast checker → · Palette generator →

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