#161A7F#161A7F

#161A7F is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.6% C 0.163 H 270.0°. Best body text is #FFFFFF at 14.11:1 contrast (WCAG AA passes).

Color values

HEX#161A7F
RGBrgb(22, 26, 127)
HSLhsl(238, 70%, 29%)
HSVhsv(238, 83%, 50%)
CMYKcmyk(82.7%, 79.5%, 0%, 50.2%)
CIE-LABlab(17.65, 36.24, -56.25)
CIE-LCHlch(17.65, 66.91, 302.79°)
OKLaboklab(30.55% 0.0001 -0.1629)
OKLCHoklch(30.55% 0.163 270)
XYZxyz(4.5297, 2.4411, 20.3070)
Luminance0.0244 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161A7F #7F7B16
analogous
#164F7F #161A7F #47167F
triadic
#161A7F #7F161A #1A7F16
tetradic
#161A7F #7F164F #7F7B16 #167F47
square
#161A7F #7F164F #7F7B16 #167F47
split-complementary
#161A7F #7F4716 #4F7F16
monochromatic
#05051A #0D0F4B #161A7F #1F25B3 #343ADC

Accessibility & contrast

On white

14.11
#161A7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#161A7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161A7F
14.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161A7F#FFFFFF#000000##FFFFFF
##161A7F1.0014.111.4914.11
#FFFFFF14.111.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003082
Deuteranopia (green-blind)
#00267D
Tritanopia (blue-blind)
#00394C
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #161a7f;
/* rgb */ color: rgb(22, 26, 127);
/* oklch */ color: oklch(30.6% 0.163 270.0);
Tailwind
colors: {
  custom: {
    50: '#6958a5',
    500: '#161a7f',
    950: '#000000',
  },
}
SCSS
$custom: #161a7f;
$custom-light: #6958a5;
$custom-dark: #000000;
JSON
{
  "hex": "#161a7f",
  "rgb": {
    "r": 22,
    "g": 26,
    "b": 127
  },
  "hsl": {
    "h": 237.714,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.30551,
    "c": 0.16293,
    "h": 270
  },
  "luminance": 0.02442
}

Semantic roles & 50–950 ramp

primary
#161A7F
secondary
#B4AF3D
accent
#E63BED
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08030F
muted
#7A787F

Preview Lab

Preview with #161A7F

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

Preview Lab → · Contrast checker → · Palette generator →

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