#161E7F#161E7F

#161E7F is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.2% C 0.159 H 269.5°. Best body text is #FFFFFF at 13.76:1 contrast (WCAG AA passes).

Color values

HEX#161E7F
RGBrgb(22, 30, 127)
HSLhsl(235, 70%, 29%)
HSVhsv(235, 83%, 50%)
CMYKcmyk(82.7%, 76.4%, 0%, 50.2%)
CIE-LABlab(18.50, 33.83, -54.84)
CIE-LCHlch(18.50, 64.44, 301.67°)
OKLaboklab(31.15% -0.0013 -0.1589)
OKLCHoklch(31.15% 0.159 269.5)
XYZxyz(4.6246, 2.6309, 20.3386)
Luminance0.0263 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161E7F #7F7716
analogous
#16537F #161E7F #43167F
triadic
#161E7F #7F161E #1E7F16
tetradic
#161E7F #7F1653 #7F7716 #167F43
square
#161E7F #7F1653 #7F7716 #167F43
split-complementary
#161E7F #7F4316 #537F16
monochromatic
#05061A #0D124B #161E7F #1F2AB3 #3440DC

Accessibility & contrast

On white

13.76
#161E7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #161E7F
13.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161E7F#FFFFFF#000000##FFFFFF
##161E7F1.0013.761.5313.76
#FFFFFF13.761.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003282
Deuteranopia (green-blind)
#00287D
Tritanopia (blue-blind)
#003A4D
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #161e7f;
/* rgb */ color: rgb(22, 30, 127);
/* oklch */ color: oklch(31.2% 0.159 269.5);
Tailwind
colors: {
  custom: {
    50: '#695ba5',
    500: '#161e7f',
    950: '#000000',
  },
}
SCSS
$custom: #161e7f;
$custom-light: #695ba5;
$custom-dark: #000000;
JSON
{
  "hex": "#161e7f",
  "rgb": {
    "r": 22,
    "g": 30,
    "b": 127
  },
  "hsl": {
    "h": 235.429,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.31153,
    "c": 0.15889,
    "h": 269.5
  },
  "luminance": 0.02631
}

Semantic roles & 50–950 ramp

primary
#161E7F
secondary
#B4AB3D
accent
#E03BED
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F

Preview Lab

Preview with #161E7F

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

Preview Lab → · Contrast checker → · Palette generator →

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