#2154B4#2154B4

#2154B4 is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.0% C 0.162 H 261.5°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#2154B4
RGBrgb(33, 84, 180)
HSLhsl(219, 69%, 42%)
HSVhsv(219, 82%, 71%)
CMYKcmyk(81.7%, 53.3%, 0%, 29.4%)
CIE-LABlab(37.77, 19.31, -55.67)
CIE-LCHlch(37.77, 58.93, 289.13°)
OKLaboklab(47.01% -0.0239 -0.1605)
OKLCHoklch(47.01% 0.162 261.5)
XYZxyz(12.0328, 9.9578, 44.4590)
Luminance0.0996 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2154B4 #B48121
analogous
#219EB4 #2154B4 #3821B4
triadic
#2154B4 #B42154 #54B421
tetradic
#2154B4 #B4219E #B48121 #21B438
square
#2154B4 #B4219E #B48121 #21B438
split-complementary
#2154B4 #B43821 #9EB421
monochromatic
#0E244D #183C80 #2154B4 #3870DA #6B95E4

Accessibility & contrast

On white

7.02
#2154B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#2154B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2154B4
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2154B4#FFFFFF#000000##FFFFFF
##2154B41.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0760B7
Deuteranopia (green-blind)
#0053B2
Tritanopia (blue-blind)
#006C7C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2154b4;
/* rgb */ color: rgb(33, 84, 180);
/* oklch */ color: oklch(47.0% 0.162 261.5);
Tailwind
colors: {
  custom: {
    50: '#7583cb',
    500: '#2154b4',
    950: '#000000',
  },
}
SCSS
$custom: #2154b4;
$custom-light: #7583cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2154b4",
  "rgb": {
    "r": 33,
    "g": 84,
    "b": 180
  },
  "hsl": {
    "h": 219.184,
    "s": 69.014,
    "l": 41.765
  },
  "oklch": {
    "l": 0.4701,
    "c": 0.16232,
    "h": 261.5
  },
  "luminance": 0.09959
}

Semantic roles & 50–950 ramp

primary
#2154B4
secondary
#CAA867
accent
#AF3CEC
background
#F7F7FC
surface
#EEEEF9
border
#C9C9D2
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2154B4

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

Preview Lab → · Contrast checker → · Palette generator →

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