#2178A8#2178A8

#2178A8 is a mid, moderate cyan. Relative luminance 0.166; OKLCH L 54.5% C 0.109 H 238.4°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#2178A8
RGBrgb(33, 120, 168)
HSLhsl(201, 67%, 39%)
HSVhsv(201, 80%, 66%)
CMYKcmyk(80.4%, 28.6%, 0%, 34.1%)
CIE-LABlab(47.73, -8.09, -32.74)
CIE-LCHlch(47.73, 33.72, 256.12°)
OKLaboklab(54.54% -0.057 -0.0926)
OKLCHoklch(54.54% 0.109 238.4)
XYZxyz(14.4087, 16.5817, 39.4794)
Luminance0.1658 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2178A8 #A85121
analogous
#21A895 #2178A8 #2135A8
triadic
#2178A8 #A82178 #78A821
tetradic
#2178A8 #9521A8 #A85121 #35A821
square
#2178A8 #9521A8 #A85121 #35A821
split-complementary
#2178A8 #A82135 #A89521
monochromatic
#0D2F42 #175375 #2178A8 #309BD6 #63B4E0

Accessibility & contrast

On white

4.86
#2178A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#2178A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2178A8
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2178A8#FFFFFF#000000##FFFFFF
##2178A81.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6178AA
Deuteranopia (green-blind)
#4F6CA7
Tritanopia (blue-blind)
#008489
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2178a8;
/* rgb */ color: rgb(33, 120, 168);
/* oklch */ color: oklch(54.5% 0.109 238.4);
Tailwind
colors: {
  custom: {
    50: '#729ec2',
    500: '#2178a8',
    950: '#000000',
  },
}
SCSS
$custom: #2178a8;
$custom-light: #729ec2;
$custom-dark: #000000;
JSON
{
  "hex": "#2178a8",
  "rgb": {
    "r": 33,
    "g": 120,
    "b": 168
  },
  "hsl": {
    "h": 201.333,
    "s": 67.164,
    "l": 39.412
  },
  "oklch": {
    "l": 0.54541,
    "c": 0.10873,
    "h": 238.4
  },
  "luminance": 0.16583
}

Semantic roles & 50–950 ramp

primary
#2178A8
secondary
#C5845F
accent
#7B3EEA
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #2178A8

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

Preview Lab → · Contrast checker → · Palette generator →

#2178A8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva