#2054A9#2054A9

#2054A9 is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.1% C 0.148 H 259.9°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#2054A9
RGBrgb(32, 84, 169)
HSLhsl(217, 68%, 39%)
HSVhsv(217, 81%, 66%)
CMYKcmyk(81.1%, 50.3%, 0%, 33.7%)
CIE-LABlab(36.95, 14.87, -50.49)
CIE-LCHlch(36.95, 52.63, 286.41°)
OKLaboklab(46.13% -0.0259 -0.1453)
OKLCHoklch(46.13% 0.148 259.9)
XYZxyz(10.9248, 9.5110, 38.7884)
Luminance0.0951 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2054A9 #A97520
analogous
#2099A9 #2054A9 #3020A9
triadic
#2054A9 #A92054 #54A920
tetradic
#2054A9 #A92099 #A97520 #20A930
square
#2054A9 #A92099 #A97520 #20A930
split-complementary
#2054A9 #A93020 #99A920
monochromatic
#0D2142 #163A76 #2054A9 #2F6FD8 #6292E1

Accessibility & contrast

On white

7.24
#2054A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#2054A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2054A9
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2054A9#FFFFFF#000000##FFFFFF
##2054A91.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#205EAC
Deuteranopia (green-blind)
#0051A7
Tritanopia (blue-blind)
#006976
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2054a9;
/* rgb */ color: rgb(32, 84, 169);
/* oklch */ color: oklch(46.1% 0.148 259.9);
Tailwind
colors: {
  custom: {
    50: '#7283c3',
    500: '#2054a9',
    950: '#000000',
  },
}
SCSS
$custom: #2054a9;
$custom-light: #7283c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2054a9",
  "rgb": {
    "r": 32,
    "g": 84,
    "b": 169
  },
  "hsl": {
    "h": 217.226,
    "s": 68.159,
    "l": 39.412
  },
  "oklch": {
    "l": 0.46128,
    "c": 0.14758,
    "h": 259.9
  },
  "luminance": 0.09512
}

Semantic roles & 50–950 ramp

primary
#2054A9
secondary
#C69F5F
accent
#A93DEB
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2054A9

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

Preview Lab → · Contrast checker → · Palette generator →

#2054A9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva