#2B299A#2B299A

#2B299A is a dark, vivid blue. Relative luminance 0.044; OKLCH L 37.0% C 0.176 H 274.3°. Best body text is #FFFFFF at 11.13:1 contrast (WCAG AA passes).

Color values

HEX#2B299A
RGBrgb(43, 41, 154)
HSLhsl(241, 58%, 38%)
HSVhsv(241, 73%, 60%)
CMYKcmyk(72.1%, 73.4%, 0%, 39.6%)
CIE-LABlab(25.05, 38.66, -60.82)
CIE-LCHlch(25.05, 72.07, 302.44°)
OKLaboklab(37.03% 0.0133 -0.1759)
OKLCHoklch(37.03% 0.176 274.3)
XYZxyz(7.6200, 4.4318, 31.0194)
Luminance0.0443 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B299A #989A29
analogous
#295F9A #2B299A #63299A
triadic
#2B299A #9A2B29 #299A2B
tetradic
#2B299A #9A295F #989A29 #299A63
square
#2B299A #9A295F #989A29 #299A63
split-complementary
#2B299A #9A6329 #5F9A29
monochromatic
#100F39 #1E1C6A #2B299A #3937CA #6967D7

Accessibility & contrast

On white

11.13
#2B299A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B299A
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B299A#FFFFFF#000000##FFFFFF
##2B299A1.0011.131.8911.13
#FFFFFF11.131.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b299a;
/* rgb */ color: rgb(43, 41, 154);
/* oklch */ color: oklch(37.0% 0.176 274.3);
Tailwind
colors: {
  custom: {
    50: '#7664b9',
    500: '#2b299a',
    950: '#000000',
  },
}
SCSS
$custom: #2b299a;
$custom-light: #7664b9;
$custom-dark: #000000;
JSON
{
  "hex": "#2b299a",
  "rgb": {
    "r": 43,
    "g": 41,
    "b": 154
  },
  "hsl": {
    "h": 241.062,
    "s": 57.949,
    "l": 38.235
  },
  "oklch": {
    "l": 0.37028,
    "c": 0.17638,
    "h": 274.3
  },
  "luminance": 0.04433
}

Semantic roles & 50–950 ramp

primary
#2B299A
secondary
#BBBD62
accent
#E147DE
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #2B299A

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

Preview Lab → · Contrast checker → · Palette generator →

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