#161E45#161E45

#161E45 is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.2% C 0.074 H 271.5°. Best body text is #FFFFFF at 16.08:1 contrast (WCAG AA passes).

Color values

HEX#161E45
RGBrgb(22, 30, 69)
HSLhsl(230, 52%, 18%)
HSVhsv(230, 68%, 27%)
CMYKcmyk(68.1%, 56.5%, 0%, 72.9%)
CIE-LABlab(12.79, 10.87, -25.73)
CIE-LCHlch(12.79, 27.93, 292.90°)
OKLaboklab(25.23% 0.0019 -0.0736)
OKLCHoklch(25.23% 0.074 271.5)
XYZxyz(1.8690, 1.5286, 5.8256)
Luminance0.0153 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161E45 #453D16
analogous
#163545 #161E45 #251645
triadic
#161E45 #45161E #1E4516
tetradic
#161E45 #451635 #453D16 #164525
square
#161E45 #451635 #453D16 #164525
split-complementary
#161E45 #452516 #354516
monochromatic
#070A17 #070A17 #161E45 #253273 #3446A2

Accessibility & contrast

On white

16.08
#161E45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #161E45
16.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161E45#FFFFFF#000000##FFFFFF
##161E451.0016.081.3116.08
#FFFFFF16.081.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#092346
Deuteranopia (green-blind)
#021F44
Tritanopia (blue-blind)
#00272E
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #161e45;
/* rgb */ color: rgb(22, 30, 69);
/* oklch */ color: oklch(25.2% 0.074 271.5);
Tailwind
colors: {
  custom: {
    50: '#595979',
    500: '#161e45',
    950: '#000000',
  },
}
SCSS
$custom: #161e45;
$custom-light: #595979;
$custom-dark: #000000;
JSON
{
  "hex": "#161e45",
  "rgb": {
    "r": 22,
    "g": 30,
    "b": 69
  },
  "hsl": {
    "h": 229.787,
    "s": 51.648,
    "l": 17.843
  },
  "oklch": {
    "l": 0.25227,
    "c": 0.07366,
    "h": 271.5
  },
  "luminance": 0.01529
}

Semantic roles & 50–950 ramp

primary
#161E45
secondary
#7C713A
accent
#C34DDB
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#040309
muted
#79787B

Preview Lab

Preview with #161E45

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

Preview Lab → · Contrast checker → · Palette generator →

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