#161E47#161E47

#161E47 is a dark, moderate blue. Relative luminance 0.016; OKLCH L 25.4% C 0.077 H 271.6°. Best body text is #FFFFFF at 16.02:1 contrast (WCAG AA passes).

Color values

HEX#161E47
RGBrgb(22, 30, 71)
HSLhsl(230, 53%, 18%)
HSVhsv(230, 69%, 28%)
CMYKcmyk(69%, 57.7%, 0%, 72.2%)
CIE-LABlab(12.95, 11.69, -26.86)
CIE-LCHlch(12.95, 29.29, 293.51°)
OKLaboklab(25.4% 0.0021 -0.077)
OKLCHoklch(25.4% 0.077 271.6)
XYZxyz(1.9321, 1.5539, 6.1581)
Luminance0.0155 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161E47 #473F16
analogous
#163647 #161E47 #261647
triadic
#161E47 #47161E #1E4716
tetradic
#161E47 #471636 #473F16 #164726
square
#161E47 #471636 #473F16 #164726
split-complementary
#161E47 #472616 #364716
monochromatic
#070A17 #080A18 #161E47 #243276 #3345A4

Accessibility & contrast

On white

16.02
#161E47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#161E47 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161E47
16.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161E47#FFFFFF#000000##FFFFFF
##161E471.0016.021.3116.02
#FFFFFF16.021.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#072448
Deuteranopia (green-blind)
#001F46
Tritanopia (blue-blind)
#00282F
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #161e47;
/* rgb */ color: rgb(22, 30, 71);
/* oklch */ color: oklch(25.4% 0.077 271.6);
Tailwind
colors: {
  custom: {
    50: '#59597a',
    500: '#161e47',
    950: '#000000',
  },
}
SCSS
$custom: #161e47;
$custom-light: #59597a;
$custom-dark: #000000;
JSON
{
  "hex": "#161e47",
  "rgb": {
    "r": 22,
    "g": 30,
    "b": 71
  },
  "hsl": {
    "h": 230.204,
    "s": 52.688,
    "l": 18.235
  },
  "oklch": {
    "l": 0.25396,
    "c": 0.07701,
    "h": 271.6
  },
  "luminance": 0.01554
}

Semantic roles & 50–950 ramp

primary
#161E47
secondary
#7E733A
accent
#C54CDC
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#040309
muted
#79787B

Preview Lab

Preview with #161E47

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

Preview Lab → · Contrast checker → · Palette generator →

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