#161774#161774

#161774 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.8% C 0.152 H 271.2°. Best body text is #FFFFFF at 14.91:1 contrast (WCAG AA passes).

Color values

HEX#161774
RGBrgb(22, 23, 116)
HSLhsl(239, 68%, 27%)
HSVhsv(239, 81%, 45%)
CMYKcmyk(81%, 80.2%, 0%, 54.5%)
CIE-LABlab(15.72, 34.09, -52.41)
CIE-LCHlch(15.72, 62.52, 303.05°)
OKLaboklab(28.8% 0.0033 -0.1517)
OKLCHoklch(28.8% 0.152 271.2)
XYZxyz(3.7886, 2.0439, 16.7145)
Luminance0.0204 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161774 #747316
analogous
#164674 #161774 #441674
triadic
#161774 #741617 #177416
tetradic
#161774 #741646 #747316 #167444
square
#161774 #741646 #747316 #167444
split-complementary
#161774 #744416 #467416
monochromatic
#05051A #0C0D41 #161774 #2021A7 #2D2FD7

Accessibility & contrast

On white

14.91
#161774 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#161774 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161774
14.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161774#FFFFFF#000000##FFFFFF
##1617741.0014.911.4114.91
#FFFFFF14.911.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #161774;
/* rgb */ color: rgb(22, 23, 116);
/* oklch */ color: oklch(28.8% 0.152 271.2);
Tailwind
colors: {
  custom: {
    50: '#66569d',
    500: '#161774',
    950: '#000000',
  },
}
SCSS
$custom: #161774;
$custom-light: #66569d;
$custom-dark: #000000;
JSON
{
  "hex": "#161774",
  "rgb": {
    "r": 22,
    "g": 23,
    "b": 116
  },
  "hsl": {
    "h": 239.362,
    "s": 68.116,
    "l": 27.059
  },
  "oklch": {
    "l": 0.288,
    "c": 0.15177,
    "h": 271.2
  },
  "luminance": 0.02044
}

Semantic roles & 50–950 ramp

primary
#161774
secondary
#AAA93C
accent
#E93DEB
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #161774

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

Preview Lab → · Contrast checker → · Palette generator →

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