#2B2A9A#2B2A9A

#2B2A9A is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.2% C 0.175 H 274.2°. Best body text is #FFFFFF at 11.05:1 contrast (WCAG AA passes).

Color values

HEX#2B2A9A
RGBrgb(43, 42, 154)
HSLhsl(241, 57%, 38%)
HSVhsv(241, 73%, 60%)
CMYKcmyk(72.1%, 72.7%, 0%, 39.6%)
CIE-LABlab(25.27, 38.06, -60.47)
CIE-LCHlch(25.27, 71.45, 302.18°)
OKLaboklab(37.18% 0.0127 -0.1748)
OKLCHoklch(37.18% 0.175 274.2)
XYZxyz(7.6550, 4.5019, 31.0311)
Luminance0.0450 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2A9A #999A2A
analogous
#2A619A #2B2A9A #632A9A
triadic
#2B2A9A #9A2B2A #2A9A2B
tetradic
#2B2A9A #9A2A61 #999A2A #2A9A63
square
#2B2A9A #9A2A61 #999A2A #2A9A63
split-complementary
#2B2A9A #9A632A #619A2A
monochromatic
#10103A #1E1D6A #2B2A9A #3A38C9 #6968D6

Accessibility & contrast

On white

11.05
#2B2A9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#2B2A9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2A9A
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2A9A#FFFFFF#000000##FFFFFF
##2B2A9A1.0011.051.9011.05
#FFFFFF11.051.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419D
Deuteranopia (green-blind)
#003798
Tritanopia (blue-blind)
#00495F
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2b2a9a;
/* rgb */ color: rgb(43, 42, 154);
/* oklch */ color: oklch(37.2% 0.175 274.2);
Tailwind
colors: {
  custom: {
    50: '#7665b9',
    500: '#2b2a9a',
    950: '#000000',
  },
}
SCSS
$custom: #2b2a9a;
$custom-light: #7665b9;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2a9a",
  "rgb": {
    "r": 43,
    "g": 42,
    "b": 154
  },
  "hsl": {
    "h": 240.536,
    "s": 57.143,
    "l": 38.431
  },
  "oklch": {
    "l": 0.37181,
    "c": 0.17531,
    "h": 274.2
  },
  "luminance": 0.04503
}

Semantic roles & 50–950 ramp

primary
#2B2A9A
secondary
#BCBC63
accent
#E047DF
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #2B2A9A

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

Preview Lab → · Contrast checker → · Palette generator →

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