#2054AC#2054AC

#2054AC is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.4% C 0.152 H 260.3°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#2054AC
RGBrgb(32, 84, 172)
HSLhsl(218, 69%, 40%)
HSVhsv(218, 81%, 67%)
CMYKcmyk(81.4%, 51.2%, 0%, 32.5%)
CIE-LABlab(37.16, 16.06, -51.93)
CIE-LCHlch(37.16, 54.35, 287.19°)
OKLaboklab(46.36% -0.0255 -0.1495)
OKLCHoklch(46.36% 0.152 260.3)
XYZxyz(11.2097, 9.6249, 40.2887)
Luminance0.0963 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2054AC #AC7820
analogous
#209AAC #2054AC #3220AC
triadic
#2054AC #AC2054 #54AC20
tetradic
#2054AC #AC209A #AC7820 #20AC32
square
#2054AC #AC209A #AC7820 #20AC32
split-complementary
#2054AC #AC3220 #9AAC20
monochromatic
#0D2245 #163B78 #2054AC #316FD9 #6493E2

Accessibility & contrast

On white

7.18
#2054AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#2054AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2054AC
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2054AC#FFFFFF#000000##FFFFFF
##2054AC1.007.182.937.18
#FFFFFF7.181.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B5EAF
Deuteranopia (green-blind)
#0051AA
Tritanopia (blue-blind)
#006978
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2054ac;
/* rgb */ color: rgb(32, 84, 172);
/* oklch */ color: oklch(46.4% 0.152 260.3);
Tailwind
colors: {
  custom: {
    50: '#7383c5',
    500: '#2054ac',
    950: '#000000',
  },
}
SCSS
$custom: #2054ac;
$custom-light: #7383c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2054ac",
  "rgb": {
    "r": 32,
    "g": 84,
    "b": 172
  },
  "hsl": {
    "h": 217.714,
    "s": 68.627,
    "l": 40
  },
  "oklch": {
    "l": 0.46356,
    "c": 0.15168,
    "h": 260.3
  },
  "luminance": 0.09626
}

Semantic roles & 50–950 ramp

primary
#2054AC
secondary
#C7A160
accent
#AA3CEB
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#090A13
muted
#7B7C82

Preview Lab

Preview with #2054AC

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

Preview Lab → · Contrast checker → · Palette generator →

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