#2154BA#2154BA

#2154BA is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.5% C 0.170 H 262.1°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#2154BA
RGBrgb(33, 84, 186)
HSLhsl(220, 70%, 43%)
HSVhsv(220, 82%, 73%)
CMYKcmyk(82.3%, 54.8%, 0%, 27.1%)
CIE-LABlab(38.21, 21.66, -58.48)
CIE-LCHlch(38.21, 62.36, 290.32°)
OKLaboklab(47.49% -0.0233 -0.1688)
OKLCHoklch(47.49% 0.17 262.1)
XYZxyz(12.6573, 10.2076, 47.7480)
Luminance0.1021 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2154BA #BA8721
analogous
#21A0BA #2154BA #3A21BA
triadic
#2154BA #BA2154 #54BA21
tetradic
#2154BA #BA21A0 #BA8721 #21BA3A
square
#2154BA #BA21A0 #BA8721 #21BA3A
split-complementary
#2154BA #BA3A21 #A0BA21
monochromatic
#0F2552 #183D86 #2154BA #3C71DC #7097E6

Accessibility & contrast

On white

6.90
#2154BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#2154BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2154BA
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2154BA#FFFFFF#000000##FFFFFF
##2154BA1.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BE
Deuteranopia (green-blind)
#0053B8
Tritanopia (blue-blind)
#006D7F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2154ba;
/* rgb */ color: rgb(33, 84, 186);
/* oklch */ color: oklch(47.5% 0.170 262.1);
Tailwind
colors: {
  custom: {
    50: '#7783cf',
    500: '#2154ba',
    950: '#000000',
  },
}
SCSS
$custom: #2154ba;
$custom-light: #7783cf;
$custom-dark: #000000;
JSON
{
  "hex": "#2154ba",
  "rgb": {
    "r": 33,
    "g": 84,
    "b": 186
  },
  "hsl": {
    "h": 220,
    "s": 69.863,
    "l": 42.941
  },
  "oklch": {
    "l": 0.47489,
    "c": 0.17039,
    "h": 262.1
  },
  "luminance": 0.10209
}

Semantic roles & 50–950 ramp

primary
#2154BA
secondary
#CCAC6B
accent
#B13BED
background
#F7F7FC
surface
#EEEEF9
border
#C9C9D2
text
#0A0A14
muted
#7C7C82

Preview Lab

Preview with #2154BA

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

Preview Lab → · Contrast checker → · Palette generator →

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