#163174#163174

#163174 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 33.7% C 0.120 H 264.3°. Best body text is #FFFFFF at 12.17:1 contrast (WCAG AA passes).

Color values

HEX#163174
RGBrgb(22, 49, 116)
HSLhsl(223, 68%, 27%)
HSVhsv(223, 81%, 45%)
CMYKcmyk(81%, 57.8%, 0%, 54.5%)
CIE-LABlab(22.40, 16.44, -41.44)
CIE-LCHlch(22.40, 44.58, 291.63°)
OKLaboklab(33.69% -0.012 -0.1195)
OKLCHoklch(33.69% 0.12 264.3)
XYZxyz(4.5805, 3.6276, 16.9784)
Luminance0.0363 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#163174 #745916
analogous
#166074 #163174 #2A1674
triadic
#163174 #741631 #317416
tetradic
#163174 #741660 #745916 #16742A
square
#163174 #741660 #745916 #16742A
split-complementary
#163174 #742A16 #607416
monochromatic
#050B1A #0C1B41 #163174 #2047A7 #2D5ED7

Accessibility & contrast

On white

12.17
#163174 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#163174 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #163174
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##163174#FFFFFF#000000##FFFFFF
##1631741.0012.171.7312.17
#FFFFFF12.171.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A76
Deuteranopia (green-blind)
#003173
Tritanopia (blue-blind)
#00424D
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #163174;
/* rgb */ color: rgb(22, 49, 116);
/* oklch */ color: oklch(33.7% 0.120 264.3);
Tailwind
colors: {
  custom: {
    50: '#64689d',
    500: '#163174',
    950: '#000000',
  },
}
SCSS
$custom: #163174;
$custom-light: #64689d;
$custom-dark: #000000;
JSON
{
  "hex": "#163174",
  "rgb": {
    "r": 22,
    "g": 49,
    "b": 116
  },
  "hsl": {
    "h": 222.766,
    "s": 68.116,
    "l": 27.059
  },
  "oklch": {
    "l": 0.33694,
    "c": 0.12014,
    "h": 264.3
  },
  "luminance": 0.03628
}

Semantic roles & 50–950 ramp

primary
#163174
secondary
#AA8A3C
accent
#B93DEB
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #163174

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

Preview Lab → · Contrast checker → · Palette generator →

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