#163254#163254

#163254 is a dark, moderate cyan. Relative luminance 0.031; OKLCH L 31.4% C 0.070 H 254.6°. Best body text is #FFFFFF at 12.98:1 contrast (WCAG AA passes).

Color values

HEX#163254
RGBrgb(22, 50, 84)
HSLhsl(213, 58%, 21%)
HSVhsv(213, 74%, 33%)
CMYKcmyk(73.8%, 40.5%, 0%, 67.1%)
CIE-LABlab(20.41, 2.33, -23.77)
CIE-LCHlch(20.41, 23.88, 275.59°)
OKLaboklab(31.43% -0.0186 -0.0676)
OKLCHoklch(31.43% 0.07 254.6)
XYZxyz(3.0711, 3.0916, 8.8207)
Luminance0.0309 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#163254 #543816
analogous
#165154 #163254 #191654
triadic
#163254 #541632 #325416
tetradic
#163254 #541651 #543816 #165419
square
#163254 #541651 #543816 #165419
split-complementary
#163254 #541916 #515416
monochromatic
#060E18 #091524 #163254 #234F84 #2F6CB5

Accessibility & contrast

On white

12.98
#163254 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#163254 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #163254
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##163254#FFFFFF#000000##FFFFFF
##1632541.0012.981.6212.98
#FFFFFF12.981.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#233455
Deuteranopia (green-blind)
#1A2F53
Tritanopia (blue-blind)
#003A3F
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #163254;
/* rgb */ color: rgb(22, 50, 84);
/* oklch */ color: oklch(31.4% 0.070 254.6);
Tailwind
colors: {
  custom: {
    50: '#5b6984',
    500: '#163254',
    950: '#000000',
  },
}
SCSS
$custom: #163254;
$custom-light: #5b6984;
$custom-dark: #000000;
JSON
{
  "hex": "#163254",
  "rgb": {
    "r": 22,
    "g": 50,
    "b": 84
  },
  "hsl": {
    "h": 212.903,
    "s": 58.491,
    "l": 20.784
  },
  "oklch": {
    "l": 0.31426,
    "c": 0.07008,
    "h": 254.6
  },
  "luminance": 0.03092
}

Semantic roles & 50–950 ramp

primary
#163254
secondary
#8B673A
accent
#9B46E2
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04060B
muted
#797A7C

Preview Lab

Preview with #163254

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

Preview Lab → · Contrast checker → · Palette generator →

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