#163F78#163F78

#163F78 is a dark, moderate cyan. Relative luminance 0.051; OKLCH L 37.3% C 0.108 H 257.6°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#163F78
RGBrgb(22, 63, 120)
HSLhsl(215, 69%, 28%)
HSVhsv(215, 82%, 47%)
CMYKcmyk(81.7%, 47.5%, 0%, 52.9%)
CIE-LABlab(26.96, 8.17, -36.61)
CIE-LCHlch(26.96, 37.51, 282.58°)
OKLaboklab(37.28% -0.0231 -0.105)
OKLCHoklch(37.28% 0.108 257.6)
XYZxyz(5.4973, 5.0810, 18.4567)
Luminance0.0508 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#163F78 #784F16
analogous
#167078 #163F78 #1E1678
triadic
#163F78 #78163F #3F7816
tetradic
#163F78 #781670 #784F16 #16781E
square
#163F78 #781670 #784F16 #16781E
split-complementary
#163F78 #781E16 #707816
monochromatic
#050E1A #0D2444 #163F78 #1F5AAC #2F76D9

Accessibility & contrast

On white

10.41
#163F78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#163F78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #163F78
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##163F78#FFFFFF#000000##FFFFFF
##163F781.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21447A
Deuteranopia (green-blind)
#0A3C77
Tritanopia (blue-blind)
#004D55
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #163f78;
/* rgb */ color: rgb(22, 63, 120);
/* oklch */ color: oklch(37.3% 0.108 257.6);
Tailwind
colors: {
  custom: {
    50: '#64739f',
    500: '#163f78',
    950: '#000000',
  },
}
SCSS
$custom: #163f78;
$custom-light: #64739f;
$custom-dark: #000000;
JSON
{
  "hex": "#163f78",
  "rgb": {
    "r": 22,
    "g": 63,
    "b": 120
  },
  "hsl": {
    "h": 214.898,
    "s": 69.014,
    "l": 27.843
  },
  "oklch": {
    "l": 0.37277,
    "c": 0.10756,
    "h": 257.6
  },
  "luminance": 0.05082
}

Semantic roles & 50–950 ramp

primary
#163F78
secondary
#AD7E3C
accent
#A23CEC
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06080E
muted
#7A7B7E

Preview Lab

Preview with #163F78

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

Preview Lab → · Contrast checker → · Palette generator →

#163F78 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva