#161E80#161E80

#161E80 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.3% C 0.160 H 269.5°. Best body text is #FFFFFF at 13.71:1 contrast (WCAG AA passes).

Color values

HEX#161E80
RGBrgb(22, 30, 128)
HSLhsl(235, 71%, 29%)
HSVhsv(235, 83%, 50%)
CMYKcmyk(82.8%, 76.6%, 0%, 49.8%)
CIE-LABlab(18.61, 34.19, -55.29)
CIE-LCHlch(18.61, 65.01, 301.73°)
OKLaboklab(31.27% -0.0015 -0.1602)
OKLCHoklch(31.27% 0.16 269.5)
XYZxyz(4.6901, 2.6571, 20.6836)
Luminance0.0266 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161E80 #807816
analogous
#165380 #161E80 #431680
triadic
#161E80 #80161E #1E8016
tetradic
#161E80 #801653 #807816 #168043
square
#161E80 #801653 #807816 #168043
split-complementary
#161E80 #804316 #538016
monochromatic
#04061A #0D124C #161E80 #1F2AB4 #3441DC

Accessibility & contrast

On white

13.71
#161E80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#161E80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161E80
13.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161E80#FFFFFF#000000##FFFFFF
##161E801.0013.711.5313.71
#FFFFFF13.711.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003383
Deuteranopia (green-blind)
#00287E
Tritanopia (blue-blind)
#003B4D
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #161e80;
/* rgb */ color: rgb(22, 30, 128);
/* oklch */ color: oklch(31.3% 0.160 269.5);
Tailwind
colors: {
  custom: {
    50: '#695ba6',
    500: '#161e80',
    950: '#000000',
  },
}
SCSS
$custom: #161e80;
$custom-light: #695ba6;
$custom-dark: #000000;
JSON
{
  "hex": "#161e80",
  "rgb": {
    "r": 22,
    "g": 30,
    "b": 128
  },
  "hsl": {
    "h": 235.472,
    "s": 70.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.31269,
    "c": 0.16019,
    "h": 269.5
  },
  "luminance": 0.02658
}

Semantic roles & 50–950 ramp

primary
#161E80
secondary
#B5AC3D
accent
#E03AED
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F

Preview Lab

Preview with #161E80

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

Preview Lab → · Contrast checker → · Palette generator →

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