#2B54A5#2B54A5

#2B54A5 is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.2% C 0.139 H 262.2°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#2B54A5
RGBrgb(43, 84, 165)
HSLhsl(220, 59%, 41%)
HSVhsv(220, 74%, 65%)
CMYKcmyk(73.9%, 49.1%, 0%, 35.3%)
CIE-LABlab(37.06, 14.63, -47.91)
CIE-LCHlch(37.06, 50.09, 286.98°)
OKLaboklab(46.23% -0.0188 -0.1375)
OKLCHoklch(46.23% 0.139 262.2)
XYZxyz(10.9557, 9.5697, 36.8598)
Luminance0.0957 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B54A5 #A57C2B
analogous
#2B91A5 #2B54A5 #3F2BA5
triadic
#2B54A5 #A52B54 #54A52B
tetradic
#2B54A5 #A52B91 #A57C2B #2BA53F
square
#2B54A5 #A52B91 #A57C2B #2BA53F
split-complementary
#2B54A5 #A53F2B #91A52B
monochromatic
#122344 #1E3B74 #2B54A5 #406FCD #7194DA

Accessibility & contrast

On white

7.21
#2B54A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#2B54A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B54A5
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B54A5#FFFFFF#000000##FFFFFF
##2B54A51.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275DA8
Deuteranopia (green-blind)
#0052A3
Tritanopia (blue-blind)
#006774
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2b54a5;
/* rgb */ color: rgb(43, 84, 165);
/* oklch */ color: oklch(46.2% 0.139 262.2);
Tailwind
colors: {
  custom: {
    50: '#7583c0',
    500: '#2b54a5',
    950: '#000000',
  },
}
SCSS
$custom: #2b54a5;
$custom-light: #7583c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2b54a5",
  "rgb": {
    "r": 43,
    "g": 84,
    "b": 165
  },
  "hsl": {
    "h": 219.836,
    "s": 58.654,
    "l": 40.784
  },
  "oklch": {
    "l": 0.46231,
    "c": 0.13882,
    "h": 262.2
  },
  "luminance": 0.09571
}

Semantic roles & 50–950 ramp

primary
#2B54A5
secondary
#C1A46B
accent
#AD46E2
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2B54A5

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

Preview Lab → · Contrast checker → · Palette generator →

#2B54A5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva