#2B54AB#2B54AB

#2B54AB is a mid, vivid blue. Relative luminance 0.098; OKLCH L 46.7% C 0.147 H 263.0°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#2B54AB
RGBrgb(43, 84, 171)
HSLhsl(221, 60%, 42%)
HSVhsv(221, 75%, 67%)
CMYKcmyk(74.9%, 50.9%, 0%, 32.9%)
CIE-LABlab(37.47, 16.94, -50.82)
CIE-LCHlch(37.47, 53.57, 288.43°)
OKLaboklab(46.68% -0.018 -0.1461)
OKLCHoklch(46.68% 0.147 263)
XYZxyz(11.5146, 9.7932, 39.8036)
Luminance0.0979 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B54AB #AB822B
analogous
#2B94AB #2B54AB #422BAB
triadic
#2B54AB #AB2B54 #54AB2B
tetradic
#2B54AB #AB2B94 #AB822B #2BAB42
square
#2B54AB #AB2B94 #AB822B #2BAB42
split-complementary
#2B54AB #AB422B #94AB2B
monochromatic
#122449 #1F3C7A #2B54AB #4370D0 #7496DC

Accessibility & contrast

On white

7.10
#2B54AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#2B54AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B54AB
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B54AB#FFFFFF#000000##FFFFFF
##2B54AB1.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F5EAE
Deuteranopia (green-blind)
#0053A9
Tritanopia (blue-blind)
#006977
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2b54ab;
/* rgb */ color: rgb(43, 84, 171);
/* oklch */ color: oklch(46.7% 0.147 263.0);
Tailwind
colors: {
  custom: {
    50: '#7683c5',
    500: '#2b54ab',
    950: '#000000',
  },
}
SCSS
$custom: #2b54ab;
$custom-light: #7683c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2b54ab",
  "rgb": {
    "r": 43,
    "g": 84,
    "b": 171
  },
  "hsl": {
    "h": 220.781,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.46676,
    "c": 0.1472,
    "h": 263
  },
  "luminance": 0.09795
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B54AB

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

Preview Lab → · Contrast checker → · Palette generator →

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