#163261#163261

#163261 is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.4% C 0.090 H 260.1°. Best body text is #FFFFFF at 12.63:1 contrast (WCAG AA passes).

Color values

HEX#163261
RGBrgb(22, 50, 97)
HSLhsl(218, 63%, 23%)
HSVhsv(218, 77%, 38%)
CMYKcmyk(77.3%, 48.5%, 0%, 62%)
CIE-LABlab(21.26, 7.74, -30.99)
CIE-LCHlch(21.26, 31.94, 284.03°)
OKLaboklab(32.37% -0.0154 -0.0888)
OKLCHoklch(32.37% 0.09 260.1)
XYZxyz(3.6284, 3.3145, 11.7555)
Luminance0.0331 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#163261 #614516
analogous
#165761 #163261 #1F1661
triadic
#163261 #611632 #326116
tetradic
#163261 #611657 #614516 #16611F
square
#163261 #611657 #614516 #16611F
split-complementary
#163261 #611F16 #576116
monochromatic
#060D19 #0B182F #163261 #214C93 #2D65C5

Accessibility & contrast

On white

12.63
#163261 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#163261 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #163261
12.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##163261#FFFFFF#000000##FFFFFF
##1632611.0012.631.6612.63
#FFFFFF12.631.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3763
Deuteranopia (green-blind)
#0A3060
Tritanopia (blue-blind)
#003D44
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #163261;
/* rgb */ color: rgb(22, 50, 97);
/* oklch */ color: oklch(32.4% 0.090 260.1);
Tailwind
colors: {
  custom: {
    50: '#5f698e',
    500: '#163261',
    950: '#000000',
  },
}
SCSS
$custom: #163261;
$custom-light: #5f698e;
$custom-dark: #000000;
JSON
{
  "hex": "#163261",
  "rgb": {
    "r": 22,
    "g": 50,
    "b": 97
  },
  "hsl": {
    "h": 217.6,
    "s": 63.025,
    "l": 23.333
  },
  "oklch": {
    "l": 0.32366,
    "c": 0.0901,
    "h": 260.1
  },
  "luminance": 0.03315
}

Semantic roles & 50–950 ramp

primary
#163261
secondary
#98753B
accent
#A942E6
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05060C
muted
#797A7D

Preview Lab

Preview with #163261

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

Preview Lab → · Contrast checker → · Palette generator →

#163261 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva