#2B2A9B#2B2A9B

#2B2A9B is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.3% C 0.177 H 274.1°. Best body text is #FFFFFF at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#2B2A9B
RGBrgb(43, 42, 155)
HSLhsl(241, 57%, 39%)
HSVhsv(241, 73%, 61%)
CMYKcmyk(72.3%, 72.9%, 0%, 39.2%)
CIE-LABlab(25.37, 38.40, -60.91)
CIE-LCHlch(25.37, 72.01, 302.23°)
OKLaboklab(37.29% 0.0126 -0.1761)
OKLCHoklch(37.29% 0.177 274.1)
XYZxyz(7.7387, 4.5353, 31.4716)
Luminance0.0454 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2A9B #9A9B2A
analogous
#2A619B #2B2A9B #632A9B
triadic
#2B2A9B #9B2B2A #2A9B2B
tetradic
#2B2A9B #9B2A61 #9A9B2A #2A9B63
square
#2B2A9B #9B2A61 #9A9B2A #2A9B63
split-complementary
#2B2A9B #9B632A #619B2A
monochromatic
#10103B #1E1D6B #2B2A9B #3A39C9 #6A69D6

Accessibility & contrast

On white

11.01
#2B2A9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#2B2A9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2A9B
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2A9B#FFFFFF#000000##FFFFFF
##2B2A9B1.0011.011.9111.01
#FFFFFF11.011.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419E
Deuteranopia (green-blind)
#003799
Tritanopia (blue-blind)
#004A60
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2b2a9b;
/* rgb */ color: rgb(43, 42, 155);
/* oklch */ color: oklch(37.3% 0.177 274.1);
Tailwind
colors: {
  custom: {
    50: '#7665ba',
    500: '#2b2a9b',
    950: '#000000',
  },
}
SCSS
$custom: #2b2a9b;
$custom-light: #7665ba;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2a9b",
  "rgb": {
    "r": 43,
    "g": 42,
    "b": 155
  },
  "hsl": {
    "h": 240.531,
    "s": 57.36,
    "l": 38.627
  },
  "oklch": {
    "l": 0.37285,
    "c": 0.17659,
    "h": 274.1
  },
  "luminance": 0.04536
}

Semantic roles & 50–950 ramp

primary
#2B2A9B
secondary
#BCBD64
accent
#E147DF
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #2B2A9B

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

Preview Lab → · Contrast checker → · Palette generator →

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