#161F68#161F68

#161F68 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 28.8% C 0.126 H 270.5°. Best body text is #FFFFFF at 14.69:1 contrast (WCAG AA passes).

Color values

HEX#161F68
RGBrgb(22, 31, 104)
HSLhsl(233, 65%, 25%)
HSVhsv(233, 79%, 41%)
CMYKcmyk(78.8%, 70.2%, 0%, 59.2%)
CIE-LABlab(16.25, 24.40, -43.71)
CIE-LCHlch(16.25, 50.06, 299.17°)
OKLaboklab(28.79% 0.001 -0.1264)
OKLCHoklch(28.79% 0.126 270.5)
XYZxyz(3.3187, 2.1497, 13.3340)
Luminance0.0215 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161F68 #685F16
analogous
#164868 #161F68 #361668
triadic
#161F68 #68161F #1F6816
tetradic
#161F68 #681648 #685F16 #166836
square
#161F68 #681648 #685F16 #166836
split-complementary
#161F68 #683616 #486816
monochromatic
#050819 #0B1035 #161F68 #212E9B #2B3DCD

Accessibility & contrast

On white

14.69
#161F68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#161F68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161F68
14.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161F68#FFFFFF#000000##FFFFFF
##161F681.0014.691.4314.69
#FFFFFF14.691.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C6A
Deuteranopia (green-blind)
#002467
Tritanopia (blue-blind)
#003340
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #161f68;
/* rgb */ color: rgb(22, 31, 104);
/* oklch */ color: oklch(28.8% 0.126 270.5);
Tailwind
colors: {
  custom: {
    50: '#625a94',
    500: '#161f68',
    950: '#000000',
  },
}
SCSS
$custom: #161f68;
$custom-light: #625a94;
$custom-dark: #000000;
JSON
{
  "hex": "#161f68",
  "rgb": {
    "r": 22,
    "g": 31,
    "b": 104
  },
  "hsl": {
    "h": 233.415,
    "s": 65.079,
    "l": 24.706
  },
  "oklch": {
    "l": 0.28788,
    "c": 0.12643,
    "h": 270.5
  },
  "luminance": 0.0215
}

Semantic roles & 50–950 ramp

primary
#161F68
secondary
#9F943B
accent
#D640E8
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06040D
muted
#7A797E

Preview Lab

Preview with #161F68

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

Preview Lab → · Contrast checker → · Palette generator →

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