#2159AC#2159AC

#2159AC is a mid, vivid blue. Relative luminance 0.104; OKLCH L 47.5% C 0.145 H 258.6°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#2159AC
RGBrgb(33, 89, 172)
HSLhsl(216, 68%, 40%)
HSVhsv(216, 81%, 67%)
CMYKcmyk(80.8%, 48.3%, 0%, 32.5%)
CIE-LABlab(38.63, 12.85, -49.55)
CIE-LCHlch(38.63, 51.19, 284.54°)
OKLaboklab(47.49% -0.0287 -0.1424)
OKLCHoklch(47.49% 0.145 258.6)
XYZxyz(11.6432, 10.4452, 40.4242)
Luminance0.1045 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2159AC #AC7421
analogous
#219FAC #2159AC #2E21AC
triadic
#2159AC #AC2159 #59AC21
tetradic
#2159AC #AC219F #AC7421 #21AC2E
square
#2159AC #AC219F #AC7421 #21AC2E
split-complementary
#2159AC #AC2E21 #9FAC21
monochromatic
#0D2445 #173E79 #2159AC #3275D8 #6698E2

Accessibility & contrast

On white

6.80
#2159AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#2159AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2159AC
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2159AC#FFFFFF#000000##FFFFFF
##2159AC1.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A62AF
Deuteranopia (green-blind)
#0055AA
Tritanopia (blue-blind)
#006D7A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2159ac;
/* rgb */ color: rgb(33, 89, 172);
/* oklch */ color: oklch(47.5% 0.145 258.6);
Tailwind
colors: {
  custom: {
    50: '#7387c5',
    500: '#2159ac',
    950: '#000000',
  },
}
SCSS
$custom: #2159ac;
$custom-light: #7387c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2159ac",
  "rgb": {
    "r": 33,
    "g": 89,
    "b": 172
  },
  "hsl": {
    "h": 215.827,
    "s": 67.805,
    "l": 40.196
  },
  "oklch": {
    "l": 0.47492,
    "c": 0.1453,
    "h": 258.6
  },
  "luminance": 0.10447
}

Semantic roles & 50–950 ramp

primary
#2159AC
secondary
#C79E62
accent
#A53DEB
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#090B13
muted
#7B7C82

Preview Lab

Preview with #2159AC

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

Preview Lab → · Contrast checker → · Palette generator →

#2159AC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva