#2054A3#2054A3

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

Color values

HEX#2054A3
RGBrgb(32, 84, 163)
HSLhsl(216, 67%, 38%)
HSVhsv(216, 80%, 64%)
CMYKcmyk(80.4%, 48.5%, 0%, 36.1%)
CIE-LABlab(36.54, 12.49, -47.57)
CIE-LCHlch(36.54, 49.19, 284.72°)
OKLaboklab(45.68% -0.0268 -0.1367)
OKLCHoklch(45.68% 0.139 258.9)
XYZxyz(10.3744, 9.2908, 35.8898)
Luminance0.0929 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2054A3 #A36F20
analogous
#2095A3 #2054A3 #2D20A3
triadic
#2054A3 #A32054 #54A320
tetradic
#2054A3 #A32095 #A36F20 #20A32D
square
#2054A3 #A32095 #A36F20 #20A32D
split-complementary
#2054A3 #A32D20 #95A320
monochromatic
#0C1F3D #163A70 #2054A3 #2B6FD5 #5E91DF

Accessibility & contrast

On white

7.35
#2054A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2054A3
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2054A3#FFFFFF#000000##FFFFFF
##2054A31.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.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: #2054a3;
/* rgb */ color: rgb(32, 84, 163);
/* oklch */ color: oklch(45.7% 0.139 258.9);
Tailwind
colors: {
  custom: {
    50: '#7183bf',
    500: '#2054a3',
    950: '#000000',
  },
}
SCSS
$custom: #2054a3;
$custom-light: #7183bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2054a3",
  "rgb": {
    "r": 32,
    "g": 84,
    "b": 163
  },
  "hsl": {
    "h": 216.183,
    "s": 67.179,
    "l": 38.235
  },
  "oklch": {
    "l": 0.45681,
    "c": 0.13932,
    "h": 258.9
  },
  "luminance": 0.09292
}

Semantic roles & 50–950 ramp

primary
#2054A3
secondary
#C49A5B
accent
#A63EEA
background
#F7F7FB
surface
#EDEEF7
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2054A3

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

Preview Lab → · Contrast checker → · Palette generator →

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