#2154A1#2154A1

#2154A1 is a mid, vivid blue. Relative luminance 0.092; OKLCH L 45.6% C 0.136 H 258.8°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#2154A1
RGBrgb(33, 84, 161)
HSLhsl(216, 66%, 38%)
HSVhsv(216, 80%, 63%)
CMYKcmyk(79.5%, 47.8%, 0%, 36.9%)
CIE-LABlab(36.43, 11.81, -46.54)
CIE-LCHlch(36.43, 48.02, 284.24°)
OKLaboklab(45.57% -0.0265 -0.1337)
OKLCHoklch(45.57% 0.136 258.8)
XYZxyz(10.2282, 9.2360, 34.9550)
Luminance0.0924 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2154A1 #A16E21
analogous
#2194A1 #2154A1 #2E21A1
triadic
#2154A1 #A12154 #54A121
tetradic
#2154A1 #A12194 #A16E21 #21A12E
square
#2154A1 #A12194 #A16E21 #21A12E
split-complementary
#2154A1 #A12E21 #94A121
monochromatic
#0C1F3B #173A6E #2154A1 #2C6FD4 #5E91DE

Accessibility & contrast

On white

7.38
#2154A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#2154A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2154A1#FFFFFF#000000##FFFFFF
##2154A11.007.382.857.38
#FFFFFF7.381.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295CA4
Deuteranopia (green-blind)
#02509F
Tritanopia (blue-blind)
#006672
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2154a1;
/* rgb */ color: rgb(33, 84, 161);
/* oklch */ color: oklch(45.6% 0.136 258.8);
Tailwind
colors: {
  custom: {
    50: '#7183bd',
    500: '#2154a1',
    950: '#000000',
  },
}
SCSS
$custom: #2154a1;
$custom-light: #7183bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2154a1",
  "rgb": {
    "r": 33,
    "g": 84,
    "b": 161
  },
  "hsl": {
    "h": 216.094,
    "s": 65.979,
    "l": 38.039
  },
  "oklch": {
    "l": 0.45567,
    "c": 0.13627,
    "h": 258.8
  },
  "luminance": 0.09237
}

Semantic roles & 50–950 ramp

primary
#2154A1
secondary
#C3995B
accent
#A53FE9
background
#F7F8FB
surface
#EDEFF7
border
#C8CAD0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2154A1

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

Preview Lab → · Contrast checker → · Palette generator →

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