#2054A0#2054A0

#2054A0 is a mid, vivid blue. Relative luminance 0.092; OKLCH L 45.5% C 0.135 H 258.3°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#2054A0
RGBrgb(32, 84, 160)
HSLhsl(216, 67%, 38%)
HSVhsv(216, 80%, 63%)
CMYKcmyk(80%, 47.5%, 0%, 37.3%)
CIE-LABlab(36.34, 11.30, -46.10)
CIE-LCHlch(36.34, 47.47, 283.78°)
OKLaboklab(45.46% -0.0273 -0.1324)
OKLCHoklch(45.46% 0.135 258.3)
XYZxyz(10.1088, 9.1846, 34.4909)
Luminance0.0919 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2054A0 #A06C20
analogous
#2094A0 #2054A0 #2C20A0
triadic
#2054A0 #A02054 #54A020
tetradic
#2054A0 #A02094 #A06C20 #20A02C
square
#2054A0 #A02094 #A06C20 #20A02C
split-complementary
#2054A0 #A02C20 #94A020
monochromatic
#0C1E3A #16396D #2054A0 #2A6FD3 #5C91DE

Accessibility & contrast

On white

7.40
#2054A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#2054A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2054A0
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2054A0#FFFFFF#000000##FFFFFF
##2054A01.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5CA3
Deuteranopia (green-blind)
#05509E
Tritanopia (blue-blind)
#006672
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2054a0;
/* rgb */ color: rgb(32, 84, 160);
/* oklch */ color: oklch(45.5% 0.135 258.3);
Tailwind
colors: {
  custom: {
    50: '#7083bd',
    500: '#2054a0',
    950: '#000000',
  },
}
SCSS
$custom: #2054a0;
$custom-light: #7083bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2054a0",
  "rgb": {
    "r": 32,
    "g": 84,
    "b": 160
  },
  "hsl": {
    "h": 215.625,
    "s": 66.667,
    "l": 37.647
  },
  "oklch": {
    "l": 0.45461,
    "c": 0.13517,
    "h": 258.3
  },
  "luminance": 0.09186
}

Semantic roles & 50–950 ramp

primary
#2054A0
secondary
#C39859
accent
#A43EEA
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2054A0

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

Preview Lab → · Contrast checker → · Palette generator →

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