#163277#163277

#163277 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.2% C 0.123 H 264.2°. Best body text is #FFFFFF at 11.95:1 contrast (WCAG AA passes).

Color values

HEX#163277
RGBrgb(22, 50, 119)
HSLhsl(223, 69%, 28%)
HSVhsv(223, 82%, 47%)
CMYKcmyk(81.5%, 58%, 0%, 53.3%)
CIE-LABlab(22.94, 16.97, -42.48)
CIE-LCHlch(22.94, 45.74, 291.77°)
OKLaboklab(34.18% -0.0125 -0.1226)
OKLCHoklch(34.18% 0.123 264.2)
XYZxyz(4.8001, 3.7831, 17.9264)
Luminance0.0378 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#163277 #775B16
analogous
#166377 #163277 #2A1677
triadic
#163277 #771632 #327716
tetradic
#163277 #771663 #775B16 #16772A
square
#163277 #771663 #775B16 #16772A
split-complementary
#163277 #772A16 #637716
monochromatic
#050B1A #0C1C43 #163277 #2048AB #2F60D9

Accessibility & contrast

On white

11.95
#163277 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#163277 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #163277
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##163277#FFFFFF#000000##FFFFFF
##1632771.0011.951.7611.95
#FFFFFF11.951.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B79
Deuteranopia (green-blind)
#003276
Tritanopia (blue-blind)
#00434F
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #163277;
/* rgb */ color: rgb(22, 50, 119);
/* oklch */ color: oklch(34.2% 0.123 264.2);
Tailwind
colors: {
  custom: {
    50: '#64699f',
    500: '#163277',
    950: '#000000',
  },
}
SCSS
$custom: #163277;
$custom-light: #64699f;
$custom-dark: #000000;
JSON
{
  "hex": "#163277",
  "rgb": {
    "r": 22,
    "g": 50,
    "b": 119
  },
  "hsl": {
    "h": 222.68,
    "s": 68.794,
    "l": 27.647
  },
  "oklch": {
    "l": 0.3418,
    "c": 0.1232,
    "h": 264.2
  },
  "luminance": 0.03784
}

Semantic roles & 50–950 ramp

primary
#163277
secondary
#AC8C3C
accent
#B93CEC
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #163277

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

Preview Lab → · Contrast checker → · Palette generator →

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