#161874#161874

#161874 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 28.9% C 0.151 H 271.1°. Best body text is #FFFFFF at 14.82:1 contrast (WCAG AA passes).

Color values

HEX#161874
RGBrgb(22, 24, 116)
HSLhsl(239, 68%, 27%)
HSVhsv(239, 81%, 45%)
CMYKcmyk(81%, 79.3%, 0%, 54.5%)
CIE-LABlab(15.92, 33.50, -52.06)
CIE-LCHlch(15.92, 61.91, 302.76°)
OKLaboklab(28.95% 0.0029 -0.1507)
OKLCHoklch(28.95% 0.151 271.1)
XYZxyz(3.8088, 2.0844, 16.7212)
Luminance0.0209 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161874 #747216
analogous
#164774 #161874 #431674
triadic
#161874 #741618 #187416
tetradic
#161874 #741647 #747216 #167443
square
#161874 #741647 #747216 #167443
split-complementary
#161874 #744316 #477416
monochromatic
#05051A #0C0D41 #161874 #2023A7 #2D31D7

Accessibility & contrast

On white

14.82
#161874 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#161874 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161874
14.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161874#FFFFFF#000000##FFFFFF
##1618741.0014.821.4214.82
#FFFFFF14.821.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C77
Deuteranopia (green-blind)
#002372
Tritanopia (blue-blind)
#003345
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #161874;
/* rgb */ color: rgb(22, 24, 116);
/* oklch */ color: oklch(28.9% 0.151 271.1);
Tailwind
colors: {
  custom: {
    50: '#66569d',
    500: '#161874',
    950: '#000000',
  },
}
SCSS
$custom: #161874;
$custom-light: #66569d;
$custom-dark: #000000;
JSON
{
  "hex": "#161874",
  "rgb": {
    "r": 22,
    "g": 24,
    "b": 116
  },
  "hsl": {
    "h": 238.723,
    "s": 68.116,
    "l": 27.059
  },
  "oklch": {
    "l": 0.28947,
    "c": 0.15077,
    "h": 271.1
  },
  "luminance": 0.02085
}

Semantic roles & 50–950 ramp

primary
#161874
secondary
#AAA73C
accent
#E73DEB
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #161874

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

Preview Lab → · Contrast checker → · Palette generator →

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