#2154A9#2154A9

#2154A9 is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.2% C 0.147 H 260.1°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#2154A9
RGBrgb(33, 84, 169)
HSLhsl(218, 67%, 40%)
HSVhsv(218, 80%, 66%)
CMYKcmyk(80.5%, 50.3%, 0%, 33.7%)
CIE-LABlab(36.98, 14.98, -50.44)
CIE-LCHlch(36.98, 52.61, 286.54°)
OKLaboklab(46.16% -0.0253 -0.1451)
OKLCHoklch(46.16% 0.147 260.1)
XYZxyz(10.9563, 9.5272, 38.7899)
Luminance0.0953 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2154A9 #A97621
analogous
#2198A9 #2154A9 #3221A9
triadic
#2154A9 #A92154 #54A921
tetradic
#2154A9 #A92198 #A97621 #21A932
square
#2154A9 #A92198 #A97621 #21A932
split-complementary
#2154A9 #A93221 #98A921
monochromatic
#0D2143 #173B76 #2154A9 #316FD7 #6493E1

Accessibility & contrast

On white

7.23
#2154A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#2154A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2154A9
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2154A9#FFFFFF#000000##FFFFFF
##2154A91.007.232.917.23
#FFFFFF7.231.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#205EAC
Deuteranopia (green-blind)
#0051A7
Tritanopia (blue-blind)
#006976
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2154a9;
/* rgb */ color: rgb(33, 84, 169);
/* oklch */ color: oklch(46.2% 0.147 260.1);
Tailwind
colors: {
  custom: {
    50: '#7383c3',
    500: '#2154a9',
    950: '#000000',
  },
}
SCSS
$custom: #2154a9;
$custom-light: #7383c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2154a9",
  "rgb": {
    "r": 33,
    "g": 84,
    "b": 169
  },
  "hsl": {
    "h": 217.5,
    "s": 67.327,
    "l": 39.608
  },
  "oklch": {
    "l": 0.4616,
    "c": 0.14731,
    "h": 260.1
  },
  "luminance": 0.09529
}

Semantic roles & 50–950 ramp

primary
#2154A9
secondary
#C6A060
accent
#A93EEA
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2154A9

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

Preview Lab → · Contrast checker → · Palette generator →

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