#2154A6#2154A6

#2154A6 is a mid, vivid blue. Relative luminance 0.094; OKLCH L 45.9% C 0.143 H 259.7°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#2154A6
RGBrgb(33, 84, 166)
HSLhsl(217, 67%, 39%)
HSVhsv(217, 80%, 65%)
CMYKcmyk(80.1%, 49.4%, 0%, 34.9%)
CIE-LABlab(36.77, 13.79, -48.98)
CIE-LCHlch(36.77, 50.89, 285.72°)
OKLaboklab(45.93% -0.0257 -0.1409)
OKLCHoklch(45.93% 0.143 259.7)
XYZxyz(10.6779, 9.4159, 37.3237)
Luminance0.0942 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2154A6 #A67321
analogous
#2197A6 #2154A6 #3021A6
triadic
#2154A6 #A62154 #54A621
tetradic
#2154A6 #A62197 #A67321 #21A630
square
#2154A6 #A62197 #A67321 #21A630
split-complementary
#2154A6 #A63021 #97A621
monochromatic
#0D2040 #173A73 #2154A6 #2F6FD6 #6292E0

Accessibility & contrast

On white

7.28
#2154A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#2154A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2154A6
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2154A6#FFFFFF#000000##FFFFFF
##2154A61.007.282.887.28
#FFFFFF7.281.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245DA9
Deuteranopia (green-blind)
#0051A4
Tritanopia (blue-blind)
#006875
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2154a6;
/* rgb */ color: rgb(33, 84, 166);
/* oklch */ color: oklch(45.9% 0.143 259.7);
Tailwind
colors: {
  custom: {
    50: '#7283c1',
    500: '#2154a6',
    950: '#000000',
  },
}
SCSS
$custom: #2154a6;
$custom-light: #7283c1;
$custom-dark: #000000;
JSON
{
  "hex": "#2154a6",
  "rgb": {
    "r": 33,
    "g": 84,
    "b": 166
  },
  "hsl": {
    "h": 216.992,
    "s": 66.834,
    "l": 39.02
  },
  "oklch": {
    "l": 0.45935,
    "c": 0.14319,
    "h": 259.7
  },
  "luminance": 0.09417
}

Semantic roles & 50–950 ramp

primary
#2154A6
secondary
#C59D5E
accent
#A83EEA
background
#F7F7FB
surface
#EDEEF7
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2154A6

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

Preview Lab → · Contrast checker → · Palette generator →

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