#2154AC#2154AC

#2154AC is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.4% C 0.151 H 260.6°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#2154AC
RGBrgb(33, 84, 172)
HSLhsl(218, 68%, 40%)
HSVhsv(218, 81%, 67%)
CMYKcmyk(80.8%, 51.2%, 0%, 32.5%)
CIE-LABlab(37.19, 16.16, -51.88)
CIE-LCHlch(37.19, 54.34, 287.30°)
OKLaboklab(46.39% -0.0248 -0.1494)
OKLCHoklch(46.39% 0.151 260.6)
XYZxyz(11.2412, 9.6412, 40.2902)
Luminance0.0964 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2154AC #AC7921
analogous
#2199AC #2154AC #3421AC
triadic
#2154AC #AC2154 #54AC21
tetradic
#2154AC #AC2199 #AC7921 #21AC34
square
#2154AC #AC2199 #AC7921 #21AC34
split-complementary
#2154AC #AC3421 #99AC21
monochromatic
#0D2245 #173B79 #2154AC #326FD8 #6693E2

Accessibility & contrast

On white

7.17
#2154AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#2154AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2154AC
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2154AC#FFFFFF#000000##FFFFFF
##2154AC1.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B5EAF
Deuteranopia (green-blind)
#0052AA
Tritanopia (blue-blind)
#006978
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2154ac;
/* rgb */ color: rgb(33, 84, 172);
/* oklch */ color: oklch(46.4% 0.151 260.6);
Tailwind
colors: {
  custom: {
    50: '#7383c5',
    500: '#2154ac',
    950: '#000000',
  },
}
SCSS
$custom: #2154ac;
$custom-light: #7383c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2154ac",
  "rgb": {
    "r": 33,
    "g": 84,
    "b": 172
  },
  "hsl": {
    "h": 217.986,
    "s": 67.805,
    "l": 40.196
  },
  "oklch": {
    "l": 0.46388,
    "c": 0.15142,
    "h": 260.6
  },
  "luminance": 0.09643
}

Semantic roles & 50–950 ramp

primary
#2154AC
secondary
#C7A262
accent
#AB3DEB
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#090A13
muted
#7B7C82

Preview Lab

Preview with #2154AC

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

Preview Lab → · Contrast checker → · Palette generator →

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