#2159B2#2159B2

#2159B2 is a mid, vivid blue. Relative luminance 0.107; OKLCH L 47.9% C 0.153 H 259.6°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#2159B2
RGBrgb(33, 89, 178)
HSLhsl(217, 69%, 41%)
HSVhsv(217, 81%, 70%)
CMYKcmyk(81.5%, 50%, 0%, 30.2%)
CIE-LABlab(39.04, 15.21, -52.44)
CIE-LCHlch(39.04, 54.60, 286.17°)
OKLaboklab(47.94% -0.0278 -0.1509)
OKLCHoklch(47.94% 0.153 259.6)
XYZxyz(12.2325, 10.6810, 43.5278)
Luminance0.1068 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2159B2 #B27A21
analogous
#21A2B2 #2159B2 #3221B2
triadic
#2159B2 #B22159 #59B221
tetradic
#2159B2 #B221A2 #B27A21 #21B232
square
#2159B2 #B221A2 #B27A21 #21B232
split-complementary
#2159B2 #B23221 #A2B221
monochromatic
#0E254B #173F7E #2159B2 #3676DA #6A99E3

Accessibility & contrast

On white

6.70
#2159B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#2159B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2159B2
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2159B2#FFFFFF#000000##FFFFFF
##2159B21.006.703.146.70
#FFFFFF6.701.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2263B5
Deuteranopia (green-blind)
#0056B0
Tritanopia (blue-blind)
#006F7D
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2159b2;
/* rgb */ color: rgb(33, 89, 178);
/* oklch */ color: oklch(47.9% 0.153 259.6);
Tailwind
colors: {
  custom: {
    50: '#7587ca',
    500: '#2159b2',
    950: '#000000',
  },
}
SCSS
$custom: #2159b2;
$custom-light: #7587ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2159b2",
  "rgb": {
    "r": 33,
    "g": 89,
    "b": 178
  },
  "hsl": {
    "h": 216.828,
    "s": 68.72,
    "l": 41.373
  },
  "oklch": {
    "l": 0.47935,
    "c": 0.15346,
    "h": 259.6
  },
  "luminance": 0.10682
}

Semantic roles & 50–950 ramp

primary
#2159B2
secondary
#C9A366
accent
#A83CEC
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2159B2

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

Preview Lab → · Contrast checker → · Palette generator →

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