#2154A3#2154A3

#2154A3 is a mid, vivid blue. Relative luminance 0.093; OKLCH L 45.7% C 0.139 H 259.1°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#2154A3
RGBrgb(33, 84, 163)
HSLhsl(216, 66%, 38%)
HSVhsv(216, 80%, 64%)
CMYKcmyk(79.8%, 48.5%, 0%, 36.1%)
CIE-LABlab(36.57, 12.60, -47.52)
CIE-LCHlch(36.57, 49.16, 284.86°)
OKLaboklab(45.71% -0.0262 -0.1365)
OKLCHoklch(45.71% 0.139 259.1)
XYZxyz(10.4060, 9.3071, 35.8912)
Luminance0.0931 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2154A3 #A37021
analogous
#2195A3 #2154A3 #2F21A3
triadic
#2154A3 #A32154 #54A321
tetradic
#2154A3 #A32195 #A37021 #21A32F
square
#2154A3 #A32195 #A37021 #21A32F
split-complementary
#2154A3 #A32F21 #95A321
monochromatic
#0C203D #173A70 #2154A3 #2D6FD4 #6092DF

Accessibility & contrast

On white

7.34
#2154A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#2154A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2154A3#FFFFFF#000000##FFFFFF
##2154A31.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275CA6
Deuteranopia (green-blind)
#0050A1
Tritanopia (blue-blind)
#006773
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2154a3;
/* rgb */ color: rgb(33, 84, 163);
/* oklch */ color: oklch(45.7% 0.139 259.1);
Tailwind
colors: {
  custom: {
    50: '#7183bf',
    500: '#2154a3',
    950: '#000000',
  },
}
SCSS
$custom: #2154a3;
$custom-light: #7183bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2154a3",
  "rgb": {
    "r": 33,
    "g": 84,
    "b": 163
  },
  "hsl": {
    "h": 216.462,
    "s": 66.327,
    "l": 38.431
  },
  "oklch": {
    "l": 0.45713,
    "c": 0.13904,
    "h": 259.1
  },
  "luminance": 0.09308
}

Semantic roles & 50–950 ramp

primary
#2154A3
secondary
#C39B5C
accent
#A63FE9
background
#F7F7FB
surface
#EDEEF7
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2154A3

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

Preview Lab → · Contrast checker → · Palette generator →

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