#2B54AA#2B54AA

#2B54AA is a mid, vivid blue. Relative luminance 0.098; OKLCH L 46.6% C 0.146 H 262.9°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#2B54AA
RGBrgb(43, 84, 170)
HSLhsl(221, 60%, 42%)
HSVhsv(221, 75%, 67%)
CMYKcmyk(74.7%, 50.6%, 0%, 33.3%)
CIE-LABlab(37.40, 16.55, -50.34)
CIE-LCHlch(37.40, 52.99, 288.20°)
OKLaboklab(46.6% -0.0181 -0.1447)
OKLCHoklch(46.6% 0.146 262.9)
XYZxyz(11.4197, 9.7553, 39.3035)
Luminance0.0976 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B54AA #AA812B
analogous
#2B94AA #2B54AA #422BAA
triadic
#2B54AA #AA2B54 #54AA2B
tetradic
#2B54AA #AA2B94 #AA812B #2BAA42
square
#2B54AA #AA2B94 #AA812B #2BAA42
split-complementary
#2B54AA #AA422B #94AA2B
monochromatic
#122448 #1F3C79 #2B54AA #4370CF #7495DC

Accessibility & contrast

On white

7.12
#2B54AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#2B54AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B54AA
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B54AA#FFFFFF#000000##FFFFFF
##2B54AA1.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#205EAD
Deuteranopia (green-blind)
#0053A8
Tritanopia (blue-blind)
#006977
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2b54aa;
/* rgb */ color: rgb(43, 84, 170);
/* oklch */ color: oklch(46.6% 0.146 262.9);
Tailwind
colors: {
  custom: {
    50: '#7683c4',
    500: '#2b54aa',
    950: '#000000',
  },
}
SCSS
$custom: #2b54aa;
$custom-light: #7683c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2b54aa",
  "rgb": {
    "r": 43,
    "g": 84,
    "b": 170
  },
  "hsl": {
    "h": 220.63,
    "s": 59.624,
    "l": 41.765
  },
  "oklch": {
    "l": 0.46601,
    "c": 0.14581,
    "h": 262.9
  },
  "luminance": 0.09757
}

Semantic roles & 50–950 ramp

primary
#2B54AA
secondary
#C3A86E
accent
#B045E3
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2B54AA

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

Preview Lab → · Contrast checker → · Palette generator →

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