#161A7C#161A7C

#161A7C is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.2% C 0.159 H 270.2°. Best body text is #FFFFFF at 14.26:1 contrast (WCAG AA passes).

Color values

HEX#161A7C
RGBrgb(22, 26, 124)
HSLhsl(238, 70%, 29%)
HSVhsv(238, 82%, 49%)
CMYKcmyk(82.3%, 79%, 0%, 51.4%)
CIE-LABlab(17.29, 35.17, -54.93)
CIE-LCHlch(17.29, 65.23, 302.63°)
OKLaboklab(30.19% 0.0006 -0.1591)
OKLCHoklch(30.19% 0.159 270.2)
XYZxyz(4.3371, 2.3641, 19.2926)
Luminance0.0237 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161A7C #7C7816
analogous
#164D7C #161A7C #45167C
triadic
#161A7C #7C161A #1A7C16
tetradic
#161A7C #7C164D #7C7816 #167C45
square
#161A7C #7C164D #7C7816 #167C45
split-complementary
#161A7C #7C4516 #4D7C16
monochromatic
#05051A #0D0F48 #161A7C #1F25B0 #3238DB

Accessibility & contrast

On white

14.26
#161A7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #161A7C
14.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161A7C#FFFFFF#000000##FFFFFF
##161A7C1.0014.261.4714.26
#FFFFFF14.261.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00307F
Deuteranopia (green-blind)
#00257A
Tritanopia (blue-blind)
#00374A
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #161a7c;
/* rgb */ color: rgb(22, 26, 124);
/* oklch */ color: oklch(30.2% 0.159 270.2);
Tailwind
colors: {
  custom: {
    50: '#6858a3',
    500: '#161a7c',
    950: '#000000',
  },
}
SCSS
$custom: #161a7c;
$custom-light: #6858a3;
$custom-dark: #000000;
JSON
{
  "hex": "#161a7c",
  "rgb": {
    "r": 22,
    "g": 26,
    "b": 124
  },
  "hsl": {
    "h": 237.647,
    "s": 69.863,
    "l": 28.627
  },
  "oklch": {
    "l": 0.30193,
    "c": 0.1591,
    "h": 270.2
  },
  "luminance": 0.02365
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #161A7C

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

Preview Lab → · Contrast checker → · Palette generator →

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