#161A7E#161A7E

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

Color values

HEX#161A7E
RGBrgb(22, 26, 126)
HSLhsl(238, 70%, 29%)
HSVhsv(238, 83%, 49%)
CMYKcmyk(82.5%, 79.4%, 0%, 50.6%)
CIE-LABlab(17.53, 35.88, -55.81)
CIE-LCHlch(17.53, 66.35, 302.74°)
OKLaboklab(30.43% 0.0003 -0.1617)
OKLCHoklch(30.43% 0.162 270.1)
XYZxyz(4.4649, 2.4152, 19.9655)
Luminance0.0242 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161A7E #7E7A16
analogous
#164E7E #161A7E #46167E
triadic
#161A7E #7E161A #1A7E16
tetradic
#161A7E #7E164E #7E7A16 #167E46
square
#161A7E #7E164E #7E7A16 #167E46
split-complementary
#161A7E #7E4616 #4E7E16
monochromatic
#05051A #0D0F4A #161A7E #1F25B2 #3339DB

Accessibility & contrast

On white

14.16
#161A7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#161A7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161A7E
14.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161A7E#FFFFFF#000000##FFFFFF
##161A7E1.0014.161.4814.16
#FFFFFF14.161.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003081
Deuteranopia (green-blind)
#00267C
Tritanopia (blue-blind)
#00384B
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #161a7e;
/* rgb */ color: rgb(22, 26, 126);
/* oklch */ color: oklch(30.4% 0.162 270.1);
Tailwind
colors: {
  custom: {
    50: '#6958a5',
    500: '#161a7e',
    950: '#000000',
  },
}
SCSS
$custom: #161a7e;
$custom-light: #6958a5;
$custom-dark: #000000;
JSON
{
  "hex": "#161a7e",
  "rgb": {
    "r": 22,
    "g": 26,
    "b": 126
  },
  "hsl": {
    "h": 237.692,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.30431,
    "c": 0.16166,
    "h": 270.1
  },
  "luminance": 0.02416
}

Semantic roles & 50–950 ramp

primary
#161A7E
secondary
#B3AE3D
accent
#E63BED
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07030F
muted
#7A787F

Preview Lab

Preview with #161A7E

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

Preview Lab → · Contrast checker → · Palette generator →

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