#2B54AC#2B54AC

#2B54AC is a mid, vivid blue. Relative luminance 0.098; OKLCH L 46.8% C 0.149 H 263.1°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#2B54AC
RGBrgb(43, 84, 172)
HSLhsl(221, 60%, 42%)
HSVhsv(221, 75%, 67%)
CMYKcmyk(75%, 51.2%, 0%, 32.5%)
CIE-LABlab(37.54, 17.32, -51.30)
CIE-LCHlch(37.54, 54.14, 288.66°)
OKLaboklab(46.75% -0.0178 -0.1475)
OKLCHoklch(46.75% 0.149 263.1)
XYZxyz(11.6103, 9.8315, 40.3075)
Luminance0.0983 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B54AC #AC832B
analogous
#2B95AC #2B54AC #422BAC
triadic
#2B54AC #AC2B54 #54AC2B
tetradic
#2B54AC #AC2B95 #AC832B #2BAC42
square
#2B54AC #AC2B95 #AC832B #2BAC42
split-complementary
#2B54AC #AC422B #95AC2B
monochromatic
#13244A #1F3C7B #2B54AC #4471D0 #7596DC

Accessibility & contrast

On white

7.08
#2B54AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#2B54AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B54AC
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B54AC#FFFFFF#000000##FFFFFF
##2B54AC1.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D5FAF
Deuteranopia (green-blind)
#0053AA
Tritanopia (blue-blind)
#006978
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2b54ac;
/* rgb */ color: rgb(43, 84, 172);
/* oklch */ color: oklch(46.8% 0.149 263.1);
Tailwind
colors: {
  custom: {
    50: '#7783c5',
    500: '#2b54ac',
    950: '#000000',
  },
}
SCSS
$custom: #2b54ac;
$custom-light: #7783c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2b54ac",
  "rgb": {
    "r": 43,
    "g": 84,
    "b": 172
  },
  "hsl": {
    "h": 220.93,
    "s": 60,
    "l": 42.157
  },
  "oklch": {
    "l": 0.46751,
    "c": 0.1486,
    "h": 263.1
  },
  "luminance": 0.09833
}

Semantic roles & 50–950 ramp

primary
#2B54AC
secondary
#C4A96F
accent
#B145E3
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2B54AC

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

Preview Lab → · Contrast checker → · Palette generator →

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