#161E5F#161E5F

#161E5F is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.7% C 0.115 H 271.2°. Best body text is #FFFFFF at 15.16:1 contrast (WCAG AA passes).

Color values

HEX#161E5F
RGBrgb(22, 30, 95)
HSLhsl(233, 62%, 23%)
HSVhsv(233, 77%, 37%)
CMYKcmyk(76.8%, 68.4%, 0%, 62.7%)
CIE-LABlab(15.09, 21.51, -39.67)
CIE-LCHlch(15.09, 45.13, 298.47°)
OKLaboklab(27.66% 0.0024 -0.1146)
OKLCHoklch(27.66% 0.115 271.2)
XYZxyz(2.8600, 1.9251, 11.0451)
Luminance0.0192 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161E5F #5F5716
analogous
#16425F #161E5F #33165F
triadic
#161E5F #5F161E #1E5F16
tetradic
#161E5F #5F1642 #5F5716 #165F33
square
#161E5F #5F1642 #5F5716 #165F33
split-complementary
#161E5F #5F3316 #425F16
monochromatic
#060819 #0A0E2D #161E5F #222E91 #2D3DC2

Accessibility & contrast

On white

15.16
#161E5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#161E5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161E5F
15.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161E5F#FFFFFF#000000##FFFFFF
##161E5F1.0015.161.3915.16
#FFFFFF15.161.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002961
Deuteranopia (green-blind)
#00235E
Tritanopia (blue-blind)
#002F3B
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #161e5f;
/* rgb */ color: rgb(22, 30, 95);
/* oklch */ color: oklch(27.7% 0.115 271.2);
Tailwind
colors: {
  custom: {
    50: '#60598d',
    500: '#161e5f',
    950: '#000000',
  },
}
SCSS
$custom: #161e5f;
$custom-light: #60598d;
$custom-dark: #000000;
JSON
{
  "hex": "#161e5f",
  "rgb": {
    "r": 22,
    "g": 30,
    "b": 95
  },
  "hsl": {
    "h": 233.425,
    "s": 62.393,
    "l": 22.941
  },
  "oklch": {
    "l": 0.27661,
    "c": 0.11465,
    "h": 271.2
  },
  "luminance": 0.01925
}

Semantic roles & 50–950 ramp

primary
#161E5F
secondary
#968C3B
accent
#D442E5
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05030C
muted
#7A787D

Preview Lab

Preview with #161E5F

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

Preview Lab → · Contrast checker → · Palette generator →

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