#161674#161674

#161674 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.7% C 0.153 H 271.4°. Best body text is #FFFFFF at 14.99:1 contrast (WCAG AA passes).

Color values

HEX#161674
RGBrgb(22, 22, 116)
HSLhsl(240, 68%, 27%)
HSVhsv(240, 81%, 45%)
CMYKcmyk(81%, 81%, 0%, 54.5%)
CIE-LABlab(15.51, 34.67, -52.74)
CIE-LCHlch(15.51, 63.12, 303.32°)
OKLaboklab(28.66% 0.0037 -0.1527)
OKLCHoklch(28.66% 0.153 271.4)
XYZxyz(3.7691, 2.0049, 16.7080)
Luminance0.0200 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161674 #747416
analogous
#164574 #161674 #451674
triadic
#161674 #741616 #167416
tetradic
#161674 #741645 #747416 #167445
square
#161674 #741645 #747416 #167445
split-complementary
#161674 #744516 #457416
monochromatic
#05051A #0C0C41 #161674 #2020A7 #2D2DD7

Accessibility & contrast

On white

14.99
#161674 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#161674 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161674
14.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161674#FFFFFF#000000##FFFFFF
##1616741.0014.991.4014.99
#FFFFFF14.991.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B77
Deuteranopia (green-blind)
#002272
Tritanopia (blue-blind)
#003345
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #161674;
/* rgb */ color: rgb(22, 22, 116);
/* oklch */ color: oklch(28.7% 0.153 271.4);
Tailwind
colors: {
  custom: {
    50: '#66559d',
    500: '#161674',
    950: '#000000',
  },
}
SCSS
$custom: #161674;
$custom-light: #66559d;
$custom-dark: #000000;
JSON
{
  "hex": "#161674",
  "rgb": {
    "r": 22,
    "g": 22,
    "b": 116
  },
  "hsl": {
    "h": 240,
    "s": 68.116,
    "l": 27.059
  },
  "oklch": {
    "l": 0.28657,
    "c": 0.15273,
    "h": 271.4
  },
  "luminance": 0.02005
}

Semantic roles & 50–950 ramp

primary
#161674
secondary
#AAAA3C
accent
#EB3DEB
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #161674

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

Preview Lab → · Contrast checker → · Palette generator →

#161674 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva