#161E68#161E68

#161E68 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 28.6% C 0.128 H 270.7°. Best body text is #FFFFFF at 14.79:1 contrast (WCAG AA passes).

Color values

HEX#161E68
RGBrgb(22, 30, 104)
HSLhsl(234, 65%, 25%)
HSVhsv(234, 79%, 41%)
CMYKcmyk(78.8%, 71.2%, 0%, 59.2%)
CIE-LABlab(15.99, 25.09, -44.13)
CIE-LCHlch(15.99, 50.77, 299.62°)
OKLaboklab(28.6% 0.0016 -0.1277)
OKLCHoklch(28.6% 0.128 270.7)
XYZxyz(3.2930, 2.0982, 13.3255)
Luminance0.0210 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161E68 #686016
analogous
#164768 #161E68 #371668
triadic
#161E68 #68161E #1E6816
tetradic
#161E68 #681647 #686016 #166837
square
#161E68 #681647 #686016 #166837
split-complementary
#161E68 #683716 #476816
monochromatic
#050719 #0B0F35 #161E68 #212D9B #2B3BCD

Accessibility & contrast

On white

14.79
#161E68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#161E68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161E68
14.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161E68#FFFFFF#000000##FFFFFF
##161E681.0014.791.4214.79
#FFFFFF14.791.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #161e68;
/* rgb */ color: rgb(22, 30, 104);
/* oklch */ color: oklch(28.6% 0.128 270.7);
Tailwind
colors: {
  custom: {
    50: '#625a94',
    500: '#161e68',
    950: '#000000',
  },
}
SCSS
$custom: #161e68;
$custom-light: #625a94;
$custom-dark: #000000;
JSON
{
  "hex": "#161e68",
  "rgb": {
    "r": 22,
    "g": 30,
    "b": 104
  },
  "hsl": {
    "h": 234.146,
    "s": 65.079,
    "l": 24.706
  },
  "oklch": {
    "l": 0.28599,
    "c": 0.12769,
    "h": 270.7
  },
  "luminance": 0.02099
}

Semantic roles & 50–950 ramp

primary
#161E68
secondary
#9F953B
accent
#D840E8
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06030D
muted
#7A787E

Preview Lab

Preview with #161E68

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

Preview Lab → · Contrast checker → · Palette generator →

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