#2054AD#2054AD

#2054AD is a mid, vivid blue. Relative luminance 0.097; OKLCH L 46.4% C 0.153 H 260.5°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#2054AD
RGBrgb(32, 84, 173)
HSLhsl(218, 69%, 40%)
HSVhsv(218, 82%, 68%)
CMYKcmyk(81.5%, 51.4%, 0%, 32.2%)
CIE-LABlab(37.23, 16.46, -52.41)
CIE-LCHlch(37.23, 54.93, 287.43°)
OKLaboklab(46.43% -0.0253 -0.1509)
OKLCHoklch(46.43% 0.153 260.5)
XYZxyz(11.3061, 9.6635, 40.7964)
Luminance0.0966 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2054AD #AD7920
analogous
#209BAD #2054AD #3220AD
triadic
#2054AD #AD2054 #54AD20
tetradic
#2054AD #AD209B #AD7920 #20AD32
square
#2054AD #AD209B #AD7920 #20AD32
split-complementary
#2054AD #AD3220 #9BAD20
monochromatic
#0D2246 #163B79 #2054AD #316FD9 #6593E2

Accessibility & contrast

On white

7.16
#2054AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2054AD
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2054AD#FFFFFF#000000##FFFFFF
##2054AD1.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#195EB0
Deuteranopia (green-blind)
#0052AB
Tritanopia (blue-blind)
#006A78
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2054ad;
/* rgb */ color: rgb(32, 84, 173);
/* oklch */ color: oklch(46.4% 0.153 260.5);
Tailwind
colors: {
  custom: {
    50: '#7383c6',
    500: '#2054ad',
    950: '#000000',
  },
}
SCSS
$custom: #2054ad;
$custom-light: #7383c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2054ad",
  "rgb": {
    "r": 32,
    "g": 84,
    "b": 173
  },
  "hsl": {
    "h": 217.872,
    "s": 68.78,
    "l": 40.196
  },
  "oklch": {
    "l": 0.46433,
    "c": 0.15305,
    "h": 260.5
  },
  "luminance": 0.09665
}

Semantic roles & 50–950 ramp

primary
#2054AD
secondary
#C8A261
accent
#AB3CEC
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#090A13
muted
#7B7C82

Preview Lab

Preview with #2054AD

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

Preview Lab → · Contrast checker → · Palette generator →

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