#2162AC#2162AC

#2162AC is a mid, vivid cyan. Relative luminance 0.120; OKLCH L 49.5% C 0.135 H 254.5°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#2162AC
RGBrgb(33, 98, 172)
HSLhsl(212, 68%, 40%)
HSVhsv(212, 81%, 67%)
CMYKcmyk(80.8%, 43%, 0%, 32.5%)
CIE-LABlab(41.27, 6.99, -45.31)
CIE-LCHlch(41.27, 45.85, 278.76°)
OKLaboklab(49.54% -0.036 -0.1298)
OKLCHoklch(49.54% 0.135 254.5)
XYZxyz(12.4385, 12.0358, 40.6893)
Luminance0.1204 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2162AC #AC6B21
analogous
#21A8AC #2162AC #2521AC
triadic
#2162AC #AC2162 #62AC21
tetradic
#2162AC #AC21A8 #AC6B21 #21AC25
square
#2162AC #AC21A8 #AC6B21 #21AC25
split-complementary
#2162AC #AC2521 #A8AC21
monochromatic
#0D2745 #174579 #2162AC #3280D8 #66A0E2

Accessibility & contrast

On white

6.16
#2162AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#2162AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2162AC
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2162AC#FFFFFF#000000##FFFFFF
##2162AC1.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D68AF
Deuteranopia (green-blind)
#235CAB
Tritanopia (blue-blind)
#00747E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #2162ac;
/* rgb */ color: rgb(33, 98, 172);
/* oklch */ color: oklch(49.5% 0.135 254.5);
Tailwind
colors: {
  custom: {
    50: '#738ec5',
    500: '#2162ac',
    950: '#000000',
  },
}
SCSS
$custom: #2162ac;
$custom-light: #738ec5;
$custom-dark: #000000;
JSON
{
  "hex": "#2162ac",
  "rgb": {
    "r": 33,
    "g": 98,
    "b": 172
  },
  "hsl": {
    "h": 211.942,
    "s": 67.805,
    "l": 40.196
  },
  "oklch": {
    "l": 0.49536,
    "c": 0.13468,
    "h": 254.5
  },
  "luminance": 0.12037
}

Semantic roles & 50–950 ramp

primary
#2162AC
secondary
#C79862
accent
#9A3DEB
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#090C13
muted
#7B7D82

Preview Lab

Preview with #2162AC

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

Preview Lab → · Contrast checker → · Palette generator →

#2162AC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva