#2162AD#2162AD

#2162AD is a mid, vivid cyan. Relative luminance 0.121; OKLCH L 49.6% C 0.136 H 254.7°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#2162AD
RGBrgb(33, 98, 173)
HSLhsl(212, 68%, 40%)
HSVhsv(212, 81%, 68%)
CMYKcmyk(80.9%, 43.4%, 0%, 32.2%)
CIE-LABlab(41.33, 7.38, -45.80)
CIE-LCHlch(41.33, 46.39, 279.15°)
OKLaboklab(49.6% -0.0358 -0.1312)
OKLCHoklch(49.6% 0.136 254.7)
XYZxyz(12.5349, 12.0743, 41.1970)
Luminance0.1208 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2162AD #AD6C21
analogous
#21A8AD #2162AD #2621AD
triadic
#2162AD #AD2162 #62AD21
tetradic
#2162AD #AD21A8 #AD6C21 #21AD26
square
#2162AD #AD21A8 #AD6C21 #21AD26
split-complementary
#2162AD #AD2621 #A8AD21
monochromatic
#0D2846 #17457A #2162AD #3380D8 #66A0E2

Accessibility & contrast

On white

6.15
#2162AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#2162AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2162AD
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2162AD#FFFFFF#000000##FFFFFF
##2162AD1.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C68B0
Deuteranopia (green-blind)
#215CAC
Tritanopia (blue-blind)
#00747F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #2162ad;
/* rgb */ color: rgb(33, 98, 173);
/* oklch */ color: oklch(49.6% 0.136 254.7);
Tailwind
colors: {
  custom: {
    50: '#738ec6',
    500: '#2162ad',
    950: '#000000',
  },
}
SCSS
$custom: #2162ad;
$custom-light: #738ec6;
$custom-dark: #000000;
JSON
{
  "hex": "#2162ad",
  "rgb": {
    "r": 33,
    "g": 98,
    "b": 173
  },
  "hsl": {
    "h": 212.143,
    "s": 67.961,
    "l": 40.392
  },
  "oklch": {
    "l": 0.49603,
    "c": 0.13602,
    "h": 254.7
  },
  "luminance": 0.12076
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2162AD

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

Preview Lab → · Contrast checker → · Palette generator →

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