#2154B1#2154B1

#2154B1 is a mid, vivid blue. Relative luminance 0.098; OKLCH L 46.8% C 0.158 H 261.2°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#2154B1
RGBrgb(33, 84, 177)
HSLhsl(219, 69%, 41%)
HSVhsv(219, 81%, 69%)
CMYKcmyk(81.4%, 52.5%, 0%, 30.6%)
CIE-LABlab(37.55, 18.13, -54.26)
CIE-LCHlch(37.55, 57.21, 288.48°)
OKLaboklab(46.77% -0.0242 -0.1564)
OKLCHoklch(46.77% 0.158 261.2)
XYZxyz(11.7305, 9.8369, 42.8669)
Luminance0.0984 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2154B1 #B17E21
analogous
#219CB1 #2154B1 #3621B1
triadic
#2154B1 #B12154 #54B121
tetradic
#2154B1 #B1219C #B17E21 #21B136
square
#2154B1 #B1219C #B17E21 #21B136
split-complementary
#2154B1 #B13621 #9CB121
monochromatic
#0E234A #173C7D #2154B1 #3670D9 #6994E3

Accessibility & contrast

On white

7.08
#2154B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#2154B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2154B1
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2154B1#FFFFFF#000000##FFFFFF
##2154B11.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#115FB4
Deuteranopia (green-blind)
#0052AF
Tritanopia (blue-blind)
#006B7A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2154b1;
/* rgb */ color: rgb(33, 84, 177);
/* oklch */ color: oklch(46.8% 0.158 261.2);
Tailwind
colors: {
  custom: {
    50: '#7583c9',
    500: '#2154b1',
    950: '#000000',
  },
}
SCSS
$custom: #2154b1;
$custom-light: #7583c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2154b1",
  "rgb": {
    "r": 33,
    "g": 84,
    "b": 177
  },
  "hsl": {
    "h": 218.75,
    "s": 68.571,
    "l": 41.176
  },
  "oklch": {
    "l": 0.46774,
    "c": 0.15824,
    "h": 261.2
  },
  "luminance": 0.09838
}

Semantic roles & 50–950 ramp

primary
#2154B1
secondary
#C9A565
accent
#AD3CEB
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2154B1

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

Preview Lab → · Contrast checker → · Palette generator →

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