#2162A8#2162A8

#2162A8 is a mid, vivid cyan. Relative luminance 0.119; OKLCH L 49.3% C 0.129 H 253.4°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#2162A8
RGBrgb(33, 98, 168)
HSLhsl(211, 67%, 39%)
HSVhsv(211, 80%, 66%)
CMYKcmyk(80.4%, 41.7%, 0%, 34.1%)
CIE-LABlab(41.03, 5.42, -43.34)
CIE-LCHlch(41.03, 43.67, 277.13°)
OKLaboklab(49.27% -0.0369 -0.124)
OKLCHoklch(49.27% 0.129 253.4)
XYZxyz(12.0601, 11.8844, 38.6965)
Luminance0.1189 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2162A8 #A86721
analogous
#21A6A8 #2162A8 #2421A8
triadic
#2162A8 #A82162 #62A821
tetradic
#2162A8 #A821A6 #A86721 #21A824
square
#2162A8 #A821A6 #A86721 #21A824
split-complementary
#2162A8 #A82421 #A6A821
monochromatic
#0D2642 #174475 #2162A8 #3080D6 #639FE0

Accessibility & contrast

On white

6.22
#2162A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#2162A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2162A8#FFFFFF#000000##FFFFFF
##2162A81.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4067AB
Deuteranopia (green-blind)
#285BA7
Tritanopia (blue-blind)
#00737D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #2162a8;
/* rgb */ color: rgb(33, 98, 168);
/* oklch */ color: oklch(49.3% 0.129 253.4);
Tailwind
colors: {
  custom: {
    50: '#728ec2',
    500: '#2162a8',
    950: '#000000',
  },
}
SCSS
$custom: #2162a8;
$custom-light: #728ec2;
$custom-dark: #000000;
JSON
{
  "hex": "#2162a8",
  "rgb": {
    "r": 33,
    "g": 98,
    "b": 168
  },
  "hsl": {
    "h": 211.111,
    "s": 67.164,
    "l": 39.412
  },
  "oklch": {
    "l": 0.4927,
    "c": 0.12935,
    "h": 253.4
  },
  "luminance": 0.11886
}

Semantic roles & 50–950 ramp

primary
#2162A8
secondary
#C5945F
accent
#973EEA
background
#F7F8FC
surface
#EDF0F8
border
#C8CBD1
text
#090C12
muted
#7B7D81

Preview Lab

Preview with #2162A8

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

Preview Lab → · Contrast checker → · Palette generator →

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