#2162AA#2162AA

#2162AA is a mid, vivid cyan. Relative luminance 0.120; OKLCH L 49.4% C 0.132 H 254.0°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#2162AA
RGBrgb(33, 98, 170)
HSLhsl(212, 67%, 40%)
HSVhsv(212, 81%, 67%)
CMYKcmyk(80.6%, 42.4%, 0%, 33.3%)
CIE-LABlab(41.15, 6.20, -44.33)
CIE-LCHlch(41.15, 44.76, 277.97°)
OKLaboklab(49.4% -0.0365 -0.1269)
OKLCHoklch(49.4% 0.132 254)
XYZxyz(12.2479, 11.9595, 39.6853)
Luminance0.1196 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2162AA #AA6921
analogous
#21A7AA #2162AA #2521AA
triadic
#2162AA #AA2162 #62AA21
tetradic
#2162AA #AA21A7 #AA6921 #21AA25
square
#2162AA #AA21A7 #AA6921 #21AA25
split-complementary
#2162AA #AA2521 #A7AA21
monochromatic
#0D2743 #174477 #2162AA #3180D7 #64A0E1

Accessibility & contrast

On white

6.19
#2162AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#2162AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2162AA#FFFFFF#000000##FFFFFF
##2162AA1.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E68AD
Deuteranopia (green-blind)
#265BA9
Tritanopia (blue-blind)
#00737D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #2162aa;
/* rgb */ color: rgb(33, 98, 170);
/* oklch */ color: oklch(49.4% 0.132 254.0);
Tailwind
colors: {
  custom: {
    50: '#728ec4',
    500: '#2162aa',
    950: '#000000',
  },
}
SCSS
$custom: #2162aa;
$custom-light: #728ec4;
$custom-dark: #000000;
JSON
{
  "hex": "#2162aa",
  "rgb": {
    "r": 33,
    "g": 98,
    "b": 170
  },
  "hsl": {
    "h": 211.533,
    "s": 67.488,
    "l": 39.804
  },
  "oklch": {
    "l": 0.49402,
    "c": 0.13201,
    "h": 254
  },
  "luminance": 0.11961
}

Semantic roles & 50–950 ramp

primary
#2162AA
secondary
#C69661
accent
#983DEA
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#090C12
muted
#7B7D81

Preview Lab

Preview with #2162AA

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

Preview Lab → · Contrast checker → · Palette generator →

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