#2154C2#2154C2

#2154C2 is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.1% C 0.181 H 262.8°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#2154C2
RGBrgb(33, 84, 194)
HSLhsl(221, 71%, 45%)
HSVhsv(221, 83%, 76%)
CMYKcmyk(83%, 56.7%, 0%, 23.9%)
CIE-LABlab(38.82, 24.77, -62.16)
CIE-LCHlch(38.82, 66.91, 291.72°)
OKLaboklab(48.14% -0.0227 -0.1796)
OKLCHoklch(48.14% 0.181 262.8)
XYZxyz(13.5316, 10.5574, 52.3531)
Luminance0.1056 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2154C2 #C28F21
analogous
#21A5C2 #2154C2 #3F21C2
triadic
#2154C2 #C22154 #54C221
tetradic
#2154C2 #C221A5 #C28F21 #21C23F
square
#2154C2 #C221A5 #C28F21 #21C23F
split-complementary
#2154C2 #C23F21 #A5C221
monochromatic
#0F2759 #183D8E #2154C2 #4173DF #769AE8

Accessibility & contrast

On white

6.75
#2154C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#2154C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2154C2
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2154C2#FFFFFF#000000##FFFFFF
##2154C21.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C6
Deuteranopia (green-blind)
#0054C0
Tritanopia (blue-blind)
#007083
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2154c2;
/* rgb */ color: rgb(33, 84, 194);
/* oklch */ color: oklch(48.1% 0.181 262.8);
Tailwind
colors: {
  custom: {
    50: '#7983d5',
    500: '#2154c2',
    950: '#000000',
  },
}
SCSS
$custom: #2154c2;
$custom-light: #7983d5;
$custom-dark: #000000;
JSON
{
  "hex": "#2154c2",
  "rgb": {
    "r": 33,
    "g": 84,
    "b": 194
  },
  "hsl": {
    "h": 220.994,
    "s": 70.925,
    "l": 44.51
  },
  "oklch": {
    "l": 0.48144,
    "c": 0.18104,
    "h": 262.8
  },
  "luminance": 0.10559
}

Semantic roles & 50–950 ramp

primary
#2154C2
secondary
#CFB170
accent
#B53AEE
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0A14
muted
#7C7C83

Preview Lab

Preview with #2154C2

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

Preview Lab → · Contrast checker → · Palette generator →

#2154C2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva