#2159B1#2159B1

#2159B1 is a mid, vivid blue. Relative luminance 0.106; OKLCH L 47.9% C 0.152 H 259.4°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#2159B1
RGBrgb(33, 89, 177)
HSLhsl(217, 69%, 41%)
HSVhsv(217, 81%, 69%)
CMYKcmyk(81.4%, 49.7%, 0%, 30.6%)
CIE-LABlab(38.97, 14.82, -51.96)
CIE-LCHlch(38.97, 54.03, 285.92°)
OKLaboklab(47.86% -0.0279 -0.1495)
OKLCHoklch(47.86% 0.152 259.4)
XYZxyz(12.1325, 10.6409, 43.0009)
Luminance0.1064 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2159B1 #B17921
analogous
#21A1B1 #2159B1 #3121B1
triadic
#2159B1 #B12159 #59B121
tetradic
#2159B1 #B121A1 #B17921 #21B131
square
#2159B1 #B121A1 #B17921 #21B131
split-complementary
#2159B1 #B13121 #A1B121
monochromatic
#0E254A #173F7D #2159B1 #3675D9 #6999E3

Accessibility & contrast

On white

6.71
#2159B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#2159B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2159B1
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2159B1#FFFFFF#000000##FFFFFF
##2159B11.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2463B4
Deuteranopia (green-blind)
#0056AF
Tritanopia (blue-blind)
#006E7C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2159b1;
/* rgb */ color: rgb(33, 89, 177);
/* oklch */ color: oklch(47.9% 0.152 259.4);
Tailwind
colors: {
  custom: {
    50: '#7487c9',
    500: '#2159b1',
    950: '#000000',
  },
}
SCSS
$custom: #2159b1;
$custom-light: #7487c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2159b1",
  "rgb": {
    "r": 33,
    "g": 89,
    "b": 177
  },
  "hsl": {
    "h": 216.667,
    "s": 68.571,
    "l": 41.176
  },
  "oklch": {
    "l": 0.4786,
    "c": 0.1521,
    "h": 259.4
  },
  "luminance": 0.10642
}

Semantic roles & 50–950 ramp

primary
#2159B1
secondary
#C9A265
accent
#A73CEB
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2159B1

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

Preview Lab → · Contrast checker → · Palette generator →

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