#2178A1#2178A1

#2178A1 is a mid, moderate cyan. Relative luminance 0.163; OKLCH L 54.2% C 0.101 H 234.2°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#2178A1
RGBrgb(33, 120, 161)
HSLhsl(199, 66%, 38%)
HSVhsv(199, 80%, 63%)
CMYKcmyk(79.5%, 25.5%, 0%, 36.9%)
CIE-LABlab(47.40, -10.65, -29.16)
CIE-LCHlch(47.40, 31.04, 249.93°)
OKLaboklab(54.17% -0.0594 -0.0822)
OKLCHoklch(54.17% 0.101 234.2)
XYZxyz(13.7741, 16.3278, 36.1369)
Luminance0.1633 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2178A1 #A14A21
analogous
#21A18A #2178A1 #2138A1
triadic
#2178A1 #A12178 #78A121
tetradic
#2178A1 #8A21A1 #A14A21 #38A121
square
#2178A1 #8A21A1 #A14A21 #38A121
split-complementary
#2178A1 #A12138 #A18A21
monochromatic
#0C2C3B #17526E #2178A1 #2C9ED4 #5EB5DE

Accessibility & contrast

On white

4.92
#2178A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#2178A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2178A1
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2178A1#FFFFFF#000000##FFFFFF
##2178A11.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6477A3
Deuteranopia (green-blind)
#536BA0
Tritanopia (blue-blind)
#008386
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2178a1;
/* rgb */ color: rgb(33, 120, 161);
/* oklch */ color: oklch(54.2% 0.101 234.2);
Tailwind
colors: {
  custom: {
    50: '#719ebd',
    500: '#2178a1',
    950: '#000000',
  },
}
SCSS
$custom: #2178a1;
$custom-light: #719ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#2178a1",
  "rgb": {
    "r": 33,
    "g": 120,
    "b": 161
  },
  "hsl": {
    "h": 199.219,
    "s": 65.979,
    "l": 38.039
  },
  "oklch": {
    "l": 0.54174,
    "c": 0.10144,
    "h": 234.2
  },
  "luminance": 0.16329
}

Semantic roles & 50–950 ramp

primary
#2178A1
secondary
#C37C5B
accent
#753FE9
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #2178A1

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

Preview Lab → · Contrast checker → · Palette generator →

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