#161E7B#161E7B

#161E7B is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.7% C 0.154 H 269.7°. Best body text is #FFFFFF at 13.95:1 contrast (WCAG AA passes).

Color values

HEX#161E7B
RGBrgb(22, 30, 123)
HSLhsl(235, 70%, 28%)
HSVhsv(235, 82%, 48%)
CMYKcmyk(82.1%, 75.6%, 0%, 51.8%)
CIE-LABlab(18.05, 32.35, -53.04)
CIE-LCHlch(18.05, 62.13, 301.38°)
OKLaboklab(30.7% -0.0007 -0.1536)
OKLCHoklch(30.7% 0.154 269.7)
XYZxyz(4.3691, 2.5287, 18.9929)
Luminance0.0253 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161E7B #7B7316
analogous
#16507B #161E7B #40167B
triadic
#161E7B #7B161E #1E7B16
tetradic
#161E7B #7B1650 #7B7316 #167B40
square
#161E7B #7B1650 #7B7316 #167B40
split-complementary
#161E7B #7B4016 #507B16
monochromatic
#05061A #0D1147 #161E7B #1F2BAF #313FDA

Accessibility & contrast

On white

13.95
#161E7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#161E7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161E7B
13.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161E7B#FFFFFF#000000##FFFFFF
##161E7B1.0013.951.5113.95
#FFFFFF13.951.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00317E
Deuteranopia (green-blind)
#002779
Tritanopia (blue-blind)
#00394A
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #161e7b;
/* rgb */ color: rgb(22, 30, 123);
/* oklch */ color: oklch(30.7% 0.154 269.7);
Tailwind
colors: {
  custom: {
    50: '#675aa2',
    500: '#161e7b',
    950: '#000000',
  },
}
SCSS
$custom: #161e7b;
$custom-light: #675aa2;
$custom-dark: #000000;
JSON
{
  "hex": "#161e7b",
  "rgb": {
    "r": 22,
    "g": 30,
    "b": 123
  },
  "hsl": {
    "h": 235.248,
    "s": 69.655,
    "l": 28.431
  },
  "oklch": {
    "l": 0.30696,
    "c": 0.15365,
    "h": 269.7
  },
  "luminance": 0.02529
}

Semantic roles & 50–950 ramp

primary
#161E7B
secondary
#B0A73D
accent
#DE3BEC
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F

Preview Lab

Preview with #161E7B

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

Preview Lab → · Contrast checker → · Palette generator →

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