#2B299B#2B299B

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

Color values

HEX#2B299B
RGBrgb(43, 41, 155)
HSLhsl(241, 58%, 38%)
HSVhsv(241, 74%, 61%)
CMYKcmyk(72.3%, 73.5%, 0%, 39.2%)
CIE-LABlab(25.15, 39.00, -61.27)
CIE-LCHlch(25.15, 72.62, 302.48°)
OKLaboklab(37.13% 0.0131 -0.1772)
OKLCHoklch(37.13% 0.178 274.2)
XYZxyz(7.7036, 4.4653, 31.4599)
Luminance0.0447 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B299B #999B29
analogous
#29609B #2B299B #64299B
triadic
#2B299B #9B2B29 #299B2B
tetradic
#2B299B #9B2960 #999B29 #299B64
square
#2B299B #9B2960 #999B29 #299B64
split-complementary
#2B299B #9B6429 #609B29
monochromatic
#100F3A #1E1C6B #2B299B #3A37CA #6967D7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B299B#FFFFFF#000000##FFFFFF
##2B299B1.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)
#00419E
Deuteranopia (green-blind)
#003699
Tritanopia (blue-blind)
#00495F
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2b299b;
/* rgb */ color: rgb(43, 41, 155);
/* oklch */ color: oklch(37.1% 0.178 274.2);
Tailwind
colors: {
  custom: {
    50: '#7664ba',
    500: '#2b299b',
    950: '#000000',
  },
}
SCSS
$custom: #2b299b;
$custom-light: #7664ba;
$custom-dark: #000000;
JSON
{
  "hex": "#2b299b",
  "rgb": {
    "r": 43,
    "g": 41,
    "b": 155
  },
  "hsl": {
    "h": 241.053,
    "s": 58.163,
    "l": 38.431
  },
  "oklch": {
    "l": 0.37132,
    "c": 0.17766,
    "h": 274.2
  },
  "luminance": 0.04466
}

Semantic roles & 50–950 ramp

primary
#2B299B
secondary
#BCBD63
accent
#E146DF
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #2B299B

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

Preview Lab → · Contrast checker → · Palette generator →

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