#2162B3#2162B3

#2162B3 is a mid, vivid cyan. Relative luminance 0.123; OKLCH L 50.0% C 0.144 H 256.1°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#2162B3
RGBrgb(33, 98, 179)
HSLhsl(213, 69%, 42%)
HSVhsv(213, 82%, 70%)
CMYKcmyk(81.6%, 45.3%, 0%, 29.8%)
CIE-LABlab(41.71, 9.72, -48.73)
CIE-LCHlch(41.71, 49.69, 281.28°)
OKLaboklab(50.01% -0.0346 -0.1398)
OKLCHoklch(50.01% 0.144 256.1)
XYZxyz(13.1285, 12.3118, 44.3236)
Luminance0.1231 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2162B3 #B37221
analogous
#21ABB3 #2162B3 #2921B3
triadic
#2162B3 #B32162 #62B321
tetradic
#2162B3 #B321AB #B37221 #21B329
square
#2162B3 #B321AB #B37221 #21B329
split-complementary
#2162B3 #B32921 #ABB321
monochromatic
#0E294C #17467F #2162B3 #3780DA #6BA1E4

Accessibility & contrast

On white

6.06
#2162B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#2162B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2162B3#FFFFFF#000000##FFFFFF
##2162B31.006.063.466.06
#FFFFFF6.061.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3769B6
Deuteranopia (green-blind)
#165CB1
Tritanopia (blue-blind)
#007582
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2162b3;
/* rgb */ color: rgb(33, 98, 179);
/* oklch */ color: oklch(50.0% 0.144 256.1);
Tailwind
colors: {
  custom: {
    50: '#748eca',
    500: '#2162b3',
    950: '#000000',
  },
}
SCSS
$custom: #2162b3;
$custom-light: #748eca;
$custom-dark: #000000;
JSON
{
  "hex": "#2162b3",
  "rgb": {
    "r": 33,
    "g": 98,
    "b": 179
  },
  "hsl": {
    "h": 213.288,
    "s": 68.868,
    "l": 41.569
  },
  "oklch": {
    "l": 0.50013,
    "c": 0.14404,
    "h": 256.1
  },
  "luminance": 0.12313
}

Semantic roles & 50–950 ramp

primary
#2162B3
secondary
#CA9D66
accent
#9E3CEC
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2162B3

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

Preview Lab → · Contrast checker → · Palette generator →

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