#161E74#161E74

#161E74 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 29.9% C 0.144 H 270.1°. Best body text is #FFFFFF at 14.27:1 contrast (WCAG AA passes).

Color values

HEX#161E74
RGBrgb(22, 30, 116)
HSLhsl(235, 68%, 27%)
HSVhsv(235, 81%, 45%)
CMYKcmyk(81%, 74.1%, 0%, 54.5%)
CIE-LABlab(17.27, 29.73, -49.84)
CIE-LCHlch(17.27, 58.03, 300.82°)
OKLaboklab(29.91% 0.0002 -0.1443)
OKLCHoklch(29.91% 0.144 270.1)
XYZxyz(3.9465, 2.3596, 16.7671)
Luminance0.0236 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161E74 #746C16
analogous
#164D74 #161E74 #3D1674
triadic
#161E74 #74161E #1E7416
tetradic
#161E74 #74164D #746C16 #16743D
square
#161E74 #74164D #746C16 #16743D
split-complementary
#161E74 #743D16 #4D7416
monochromatic
#05071A #0C1141 #161E74 #202BA7 #2D3CD7

Accessibility & contrast

On white

14.27
#161E74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#161E74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161E74
14.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161E74#FFFFFF#000000##FFFFFF
##161E741.0014.271.4714.27
#FFFFFF14.271.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F77
Deuteranopia (green-blind)
#002672
Tritanopia (blue-blind)
#003646
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #161e74;
/* rgb */ color: rgb(22, 30, 116);
/* oklch */ color: oklch(29.9% 0.144 270.1);
Tailwind
colors: {
  custom: {
    50: '#655a9d',
    500: '#161e74',
    950: '#000000',
  },
}
SCSS
$custom: #161e74;
$custom-light: #655a9d;
$custom-dark: #000000;
JSON
{
  "hex": "#161e74",
  "rgb": {
    "r": 22,
    "g": 30,
    "b": 116
  },
  "hsl": {
    "h": 234.894,
    "s": 68.116,
    "l": 27.059
  },
  "oklch": {
    "l": 0.29908,
    "c": 0.14431,
    "h": 270.1
  },
  "luminance": 0.0236
}

Semantic roles & 50–950 ramp

primary
#161E74
secondary
#AAA03C
accent
#DC3DEB
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #161E74

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

Preview Lab → · Contrast checker → · Palette generator →

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