#2054A2#2054A2

#2054A2 is a mid, vivid blue. Relative luminance 0.093; OKLCH L 45.6% C 0.138 H 258.7°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#2054A2
RGBrgb(32, 84, 162)
HSLhsl(216, 67%, 38%)
HSVhsv(216, 80%, 64%)
CMYKcmyk(80.2%, 48.1%, 0%, 36.5%)
CIE-LABlab(36.47, 12.10, -47.08)
CIE-LCHlch(36.47, 48.61, 284.41°)
OKLaboklab(45.61% -0.027 -0.1353)
OKLCHoklch(45.61% 0.138 258.7)
XYZxyz(10.2852, 9.2551, 35.4198)
Luminance0.0926 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2054A2 #A26E20
analogous
#2095A2 #2054A2 #2D20A2
triadic
#2054A2 #A22054 #54A220
tetradic
#2054A2 #A22095 #A26E20 #20A22D
square
#2054A2 #A22095 #A26E20 #20A22D
split-complementary
#2054A2 #A22D20 #95A220
monochromatic
#0C1F3C #163A6F #2054A2 #2A6FD5 #5D91DF

Accessibility & contrast

On white

7.37
#2054A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#2054A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2054A2
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2054A2#FFFFFF#000000##FFFFFF
##2054A21.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285CA5
Deuteranopia (green-blind)
#0050A0
Tritanopia (blue-blind)
#006773
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2054a2;
/* rgb */ color: rgb(32, 84, 162);
/* oklch */ color: oklch(45.6% 0.138 258.7);
Tailwind
colors: {
  custom: {
    50: '#7183be',
    500: '#2054a2',
    950: '#000000',
  },
}
SCSS
$custom: #2054a2;
$custom-light: #7183be;
$custom-dark: #000000;
JSON
{
  "hex": "#2054a2",
  "rgb": {
    "r": 32,
    "g": 84,
    "b": 162
  },
  "hsl": {
    "h": 216,
    "s": 67.01,
    "l": 38.039
  },
  "oklch": {
    "l": 0.45607,
    "c": 0.13794,
    "h": 258.7
  },
  "luminance": 0.09256
}

Semantic roles & 50–950 ramp

primary
#2054A2
secondary
#C3995A
accent
#A53EEA
background
#F7F7FB
surface
#EDEEF7
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2054A2

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

Preview Lab → · Contrast checker → · Palette generator →

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