#161E8F#161E8F

#161E8F is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.0% C 0.179 H 268.7°. Best body text is #FFFFFF at 12.99:1 contrast (WCAG AA passes).

Color values

HEX#161E8F
RGBrgb(22, 30, 143)
HSLhsl(236, 73%, 32%)
HSVhsv(236, 85%, 56%)
CMYKcmyk(84.6%, 79%, 0%, 43.9%)
CIE-LABlab(20.37, 39.54, -61.81)
CIE-LCHlch(20.37, 73.37, 302.61°)
OKLaboklab(33.03% -0.0039 -0.1791)
OKLCHoklch(33.03% 0.179 268.7)
XYZxyz(5.7514, 3.0816, 26.2730)
Luminance0.0308 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161E8F #8F8716
analogous
#165B8F #161E8F #4B168F
triadic
#161E8F #8F161E #1E8F16
tetradic
#161E8F #8F165B #8F8716 #168F4B
square
#161E8F #8F165B #8F8716 #168F4B
split-complementary
#161E8F #8F4B16 #5B8F16
monochromatic
#060825 #0E135A #161E8F #1E29C4 #3E49E1

Accessibility & contrast

On white

12.99
#161E8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#161E8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161E8F
12.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161E8F#FFFFFF#000000##FFFFFF
##161E8F1.0012.991.6212.99
#FFFFFF12.991.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003792
Deuteranopia (green-blind)
#002B8D
Tritanopia (blue-blind)
#004056
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #161e8f;
/* rgb */ color: rgb(22, 30, 143);
/* oklch */ color: oklch(33.0% 0.179 268.7);
Tailwind
colors: {
  custom: {
    50: '#6d5cb1',
    500: '#161e8f',
    950: '#000000',
  },
}
SCSS
$custom: #161e8f;
$custom-light: #6d5cb1;
$custom-dark: #000000;
JSON
{
  "hex": "#161e8f",
  "rgb": {
    "r": 22,
    "g": 30,
    "b": 143
  },
  "hsl": {
    "h": 236.033,
    "s": 73.333,
    "l": 32.353
  },
  "oklch": {
    "l": 0.33025,
    "c": 0.17913,
    "h": 268.7
  },
  "luminance": 0.03082
}

Semantic roles & 50–950 ramp

primary
#161E8F
secondary
#C1B93F
accent
#E438F0
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #161E8F

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

Preview Lab → · Contrast checker → · Palette generator →

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