#2154AD#2154AD

#2154AD is a mid, vivid blue. Relative luminance 0.097; OKLCH L 46.5% C 0.153 H 260.7°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#2154AD
RGBrgb(33, 84, 173)
HSLhsl(218, 68%, 40%)
HSVhsv(218, 81%, 68%)
CMYKcmyk(80.9%, 51.4%, 0%, 32.2%)
CIE-LABlab(37.26, 16.55, -52.36)
CIE-LCHlch(37.26, 54.91, 287.55°)
OKLaboklab(46.46% -0.0247 -0.1508)
OKLCHoklch(46.46% 0.153 260.7)
XYZxyz(11.3376, 9.6798, 40.7979)
Luminance0.0968 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2154AD #AD7A21
analogous
#219AAD #2154AD #3421AD
triadic
#2154AD #AD2154 #54AD21
tetradic
#2154AD #AD219A #AD7A21 #21AD34
square
#2154AD #AD219A #AD7A21 #21AD34
split-complementary
#2154AD #AD3421 #9AAD21
monochromatic
#0D2246 #173B7A #2154AD #336FD8 #6693E2

Accessibility & contrast

On white

7.15
#2154AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#2154AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2154AD
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2154AD#FFFFFF#000000##FFFFFF
##2154AD1.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#195EB0
Deuteranopia (green-blind)
#0052AB
Tritanopia (blue-blind)
#006A78
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2154ad;
/* rgb */ color: rgb(33, 84, 173);
/* oklch */ color: oklch(46.5% 0.153 260.7);
Tailwind
colors: {
  custom: {
    50: '#7483c6',
    500: '#2154ad',
    950: '#000000',
  },
}
SCSS
$custom: #2154ad;
$custom-light: #7483c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2154ad",
  "rgb": {
    "r": 33,
    "g": 84,
    "b": 173
  },
  "hsl": {
    "h": 218.143,
    "s": 67.961,
    "l": 40.392
  },
  "oklch": {
    "l": 0.46464,
    "c": 0.15279,
    "h": 260.7
  },
  "luminance": 0.09681
}

Semantic roles & 50–950 ramp

primary
#2154AD
secondary
#C7A362
accent
#AB3DEB
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2154AD

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

Preview Lab → · Contrast checker → · Palette generator →

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