#161A7B#161A7B

#161A7B is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.1% C 0.158 H 270.3°. Best body text is #FFFFFF at 14.31:1 contrast (WCAG AA passes).

Color values

HEX#161A7B
RGBrgb(22, 26, 123)
HSLhsl(238, 70%, 28%)
HSVhsv(238, 82%, 48%)
CMYKcmyk(82.1%, 78.9%, 0%, 51.8%)
CIE-LABlab(17.17, 34.81, -54.49)
CIE-LCHlch(17.17, 64.66, 302.57°)
OKLaboklab(30.08% 0.0008 -0.1578)
OKLCHoklch(30.08% 0.158 270.3)
XYZxyz(4.2742, 2.3389, 18.9612)
Luminance0.0234 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161A7B #7B7716
analogous
#164C7B #161A7B #44167B
triadic
#161A7B #7B161A #1A7B16
tetradic
#161A7B #7B164C #7B7716 #167B44
square
#161A7B #7B164C #7B7716 #167B44
split-complementary
#161A7B #7B4416 #4C7B16
monochromatic
#05051A #0D0F47 #161A7B #1F25AF #3138DA

Accessibility & contrast

On white

14.31
#161A7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #161A7B
14.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161A7B#FFFFFF#000000##FFFFFF
##161A7B1.0014.311.4714.31
#FFFFFF14.311.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F7E
Deuteranopia (green-blind)
#002579
Tritanopia (blue-blind)
#003749
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #161a7b;
/* rgb */ color: rgb(22, 26, 123);
/* oklch */ color: oklch(30.1% 0.158 270.3);
Tailwind
colors: {
  custom: {
    50: '#6858a2',
    500: '#161a7b',
    950: '#000000',
  },
}
SCSS
$custom: #161a7b;
$custom-light: #6858a2;
$custom-dark: #000000;
JSON
{
  "hex": "#161a7b",
  "rgb": {
    "r": 22,
    "g": 26,
    "b": 123
  },
  "hsl": {
    "h": 237.624,
    "s": 69.655,
    "l": 28.431
  },
  "oklch": {
    "l": 0.30075,
    "c": 0.15782,
    "h": 270.3
  },
  "luminance": 0.02339
}

Semantic roles & 50–950 ramp

primary
#161A7B
secondary
#B0AC3D
accent
#E53BEC
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07030F
muted
#7A787F

Preview Lab

Preview with #161A7B

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

Preview Lab → · Contrast checker → · Palette generator →

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