#2162BB#2162BB

#2162BB is a mid, vivid cyan. Relative luminance 0.126; OKLCH L 50.6% C 0.155 H 257.6°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#2162BB
RGBrgb(33, 98, 187)
HSLhsl(215, 70%, 43%)
HSVhsv(215, 82%, 73%)
CMYKcmyk(82.4%, 47.6%, 0%, 26.7%)
CIE-LABlab(42.22, 12.85, -52.58)
CIE-LCHlch(42.22, 54.12, 283.74°)
OKLaboklab(50.58% -0.0332 -0.1511)
OKLCHoklch(50.58% 0.155 257.6)
XYZxyz(13.9612, 12.6448, 48.7089)
Luminance0.1265 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2162BB #BB7A21
analogous
#21AFBB #2162BB #2D21BB
triadic
#2162BB #BB2162 #62BB21
tetradic
#2162BB #BB21AF #BB7A21 #21BB2D
square
#2162BB #BB21AF #BB7A21 #21BB2D
split-complementary
#2162BB #BB2D21 #AFBB21
monochromatic
#0F2B53 #184787 #2162BB #3D80DD #71A2E6

Accessibility & contrast

On white

5.95
#2162BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#2162BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2162BB#FFFFFF#000000##FFFFFF
##2162BB1.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#306BBE
Deuteranopia (green-blind)
#005DB9
Tritanopia (blue-blind)
#007785
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2162bb;
/* rgb */ color: rgb(33, 98, 187);
/* oklch */ color: oklch(50.6% 0.155 257.6);
Tailwind
colors: {
  custom: {
    50: '#768ed0',
    500: '#2162bb',
    950: '#000000',
  },
}
SCSS
$custom: #2162bb;
$custom-light: #768ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#2162bb",
  "rgb": {
    "r": 33,
    "g": 98,
    "b": 187
  },
  "hsl": {
    "h": 214.675,
    "s": 70,
    "l": 43.137
  },
  "oklch": {
    "l": 0.50577,
    "c": 0.15473,
    "h": 257.6
  },
  "luminance": 0.12647
}

Semantic roles & 50–950 ramp

primary
#2162BB
secondary
#CCA36B
accent
#A23BED
background
#F7F8FC
surface
#EEF0F9
border
#C9CBD2
text
#0A0C14
muted
#7C7D82

Preview Lab

Preview with #2162BB

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

Preview Lab → · Contrast checker → · Palette generator →

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