#2B2A99#2B2A99

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

Color values

HEX#2B2A99
RGBrgb(43, 42, 153)
HSLhsl(241, 57%, 38%)
HSVhsv(241, 73%, 60%)
CMYKcmyk(71.9%, 72.5%, 0%, 40%)
CIE-LABlab(25.16, 37.71, -60.02)
CIE-LCHlch(25.16, 70.89, 302.14°)
OKLaboklab(37.08% 0.0129 -0.1735)
OKLCHoklch(37.08% 0.174 274.2)
XYZxyz(7.5721, 4.4687, 30.5943)
Luminance0.0447 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2A99 #98992A
analogous
#2A6099 #2B2A99 #632A99
triadic
#2B2A99 #992B2A #2A992B
tetradic
#2B2A99 #992A60 #98992A #2A9963
square
#2B2A99 #992A60 #98992A #2A9963
split-complementary
#2B2A99 #99632A #60992A
monochromatic
#101039 #1E1D69 #2B2A99 #3938C8 #6968D6

Accessibility & contrast

On white

11.09
#2B2A99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#2B2A99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2A99
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2A99#FFFFFF#000000##FFFFFF
##2B2A991.0011.091.8911.09
#FFFFFF11.091.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419C
Deuteranopia (green-blind)
#003697
Tritanopia (blue-blind)
#00495E
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2b2a99;
/* rgb */ color: rgb(43, 42, 153);
/* oklch */ color: oklch(37.1% 0.174 274.2);
Tailwind
colors: {
  custom: {
    50: '#7565b8',
    500: '#2b2a99',
    950: '#000000',
  },
}
SCSS
$custom: #2b2a99;
$custom-light: #7565b8;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2a99",
  "rgb": {
    "r": 43,
    "g": 42,
    "b": 153
  },
  "hsl": {
    "h": 240.541,
    "s": 56.923,
    "l": 38.235
  },
  "oklch": {
    "l": 0.37078,
    "c": 0.17403,
    "h": 274.2
  },
  "luminance": 0.04469
}

Semantic roles & 50–950 ramp

primary
#2B2A99
secondary
#BBBC63
accent
#E048DF
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0511
muted
#7C7A80

Preview Lab

Preview with #2B2A99

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

Preview Lab → · Contrast checker → · Palette generator →

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