#2B54A0#2B54A0

#2B54A0 is a mid, vivid blue. Relative luminance 0.094; OKLCH L 45.9% C 0.132 H 261.5°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#2B54A0
RGBrgb(43, 84, 160)
HSLhsl(219, 58%, 40%)
HSVhsv(219, 73%, 63%)
CMYKcmyk(73.1%, 47.5%, 0%, 37.3%)
CIE-LABlab(36.73, 12.71, -45.45)
CIE-LCHlch(36.73, 47.20, 285.63°)
OKLaboklab(45.87% -0.0196 -0.1303)
OKLCHoklch(45.87% 0.132 261.5)
XYZxyz(10.5095, 9.3912, 34.5097)
Luminance0.0939 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B54A0 #A0772B
analogous
#2B8FA0 #2B54A0 #3C2BA0
triadic
#2B54A0 #A02B54 #54A02B
tetradic
#2B54A0 #A02B8F #A0772B #2BA03C
square
#2B54A0 #A02B8F #A0772B #2BA03C
split-complementary
#2B54A0 #A03C2B #8FA02B
monochromatic
#112140 #1E3B70 #2B54A0 #3D6FCB #6E93D8

Accessibility & contrast

On white

7.30
#2B54A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#2B54A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B54A0
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B54A0#FFFFFF#000000##FFFFFF
##2B54A01.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5CA3
Deuteranopia (green-blind)
#10519E
Tritanopia (blue-blind)
#006672
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2b54a0;
/* rgb */ color: rgb(43, 84, 160);
/* oklch */ color: oklch(45.9% 0.132 261.5);
Tailwind
colors: {
  custom: {
    50: '#7483bd',
    500: '#2b54a0',
    950: '#000000',
  },
}
SCSS
$custom: #2b54a0;
$custom-light: #7483bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2b54a0",
  "rgb": {
    "r": 43,
    "g": 84,
    "b": 160
  },
  "hsl": {
    "h": 218.974,
    "s": 57.635,
    "l": 39.804
  },
  "oklch": {
    "l": 0.4587,
    "c": 0.13178,
    "h": 261.5
  },
  "luminance": 0.09392
}

Semantic roles & 50–950 ramp

primary
#2B54A0
secondary
#BFA068
accent
#AB47E1
background
#F7F8FB
surface
#EEEFF6
border
#C9CAD0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2B54A0

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

Preview Lab → · Contrast checker → · Palette generator →

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