#2154AA#2154AA

#2154AA is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.2% C 0.149 H 260.3°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#2154AA
RGBrgb(33, 84, 170)
HSLhsl(218, 67%, 40%)
HSVhsv(218, 81%, 67%)
CMYKcmyk(80.6%, 50.6%, 0%, 33.3%)
CIE-LABlab(37.05, 15.37, -50.92)
CIE-LCHlch(37.05, 53.19, 286.80°)
OKLaboklab(46.24% -0.0251 -0.1466)
OKLCHoklch(46.24% 0.149 260.3)
XYZxyz(11.0506, 9.5649, 39.2862)
Luminance0.0957 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2154AA #AA7721
analogous
#2199AA #2154AA #3221AA
triadic
#2154AA #AA2154 #54AA21
tetradic
#2154AA #AA2199 #AA7721 #21AA32
square
#2154AA #AA2199 #AA7721 #21AA32
split-complementary
#2154AA #AA3221 #99AA21
monochromatic
#0D2143 #173B77 #2154AA #316FD7 #6493E1

Accessibility & contrast

On white

7.21
#2154AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

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

Contrast matrix

fg \ bg##2154AA#FFFFFF#000000##FFFFFF
##2154AA1.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E5EAD
Deuteranopia (green-blind)
#0051A8
Tritanopia (blue-blind)
#006977
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2154aa;
/* rgb */ color: rgb(33, 84, 170);
/* oklch */ color: oklch(46.2% 0.149 260.3);
Tailwind
colors: {
  custom: {
    50: '#7383c4',
    500: '#2154aa',
    950: '#000000',
  },
}
SCSS
$custom: #2154aa;
$custom-light: #7383c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2154aa",
  "rgb": {
    "r": 33,
    "g": 84,
    "b": 170
  },
  "hsl": {
    "h": 217.664,
    "s": 67.488,
    "l": 39.804
  },
  "oklch": {
    "l": 0.46235,
    "c": 0.14869,
    "h": 260.3
  },
  "luminance": 0.09566
}

Semantic roles & 50–950 ramp

primary
#2154AA
secondary
#C6A061
accent
#AA3DEA
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#090A13
muted
#7B7C82

Preview Lab

Preview with #2154AA

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

Preview Lab → · Contrast checker → · Palette generator →

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