#2B329D#2B329D

#2B329D is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.8% C 0.170 H 272.5°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#2B329D
RGBrgb(43, 50, 157)
HSLhsl(236, 57%, 39%)
HSVhsv(236, 73%, 62%)
CMYKcmyk(72.6%, 68.2%, 0%, 38.4%)
CIE-LABlab(27.38, 34.16, -58.83)
CIE-LCHlch(27.38, 68.03, 300.14°)
OKLaboklab(38.79% 0.0074 -0.1701)
OKLCHoklch(38.79% 0.17 272.5)
XYZxyz(8.2206, 5.2283, 32.4677)
Luminance0.0523 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B329D #9D962B
analogous
#2B6B9D #2B329D #5D2B9D
triadic
#2B329D #9D2B32 #329D2B
tetradic
#2B329D #9D2B6B #9D962B #2B9D5D
square
#2B329D #9D2B6B #9D962B #2B9D5D
split-complementary
#2B329D #9D5D2B #6B9D2B
monochromatic
#11133D #1E236D #2B329D #3C44CA #6C72D7

Accessibility & contrast

On white

10.26
#2B329D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#2B329D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B329D
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B329D#FFFFFF#000000##FFFFFF
##2B329D1.0010.262.0510.26
#FFFFFF10.261.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A0
Deuteranopia (green-blind)
#003B9B
Tritanopia (blue-blind)
#004F63
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2b329d;
/* rgb */ color: rgb(43, 50, 157);
/* oklch */ color: oklch(38.8% 0.170 272.5);
Tailwind
colors: {
  custom: {
    50: '#766abb',
    500: '#2b329d',
    950: '#000000',
  },
}
SCSS
$custom: #2b329d;
$custom-light: #766abb;
$custom-dark: #000000;
JSON
{
  "hex": "#2b329d",
  "rgb": {
    "r": 43,
    "g": 50,
    "b": 157
  },
  "hsl": {
    "h": 236.316,
    "s": 57,
    "l": 39.216
  },
  "oklch": {
    "l": 0.38791,
    "c": 0.17023,
    "h": 272.5
  },
  "luminance": 0.05229
}

Semantic roles & 50–950 ramp

primary
#2B329D
secondary
#BDB866
accent
#D748E0
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2B329D

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

Preview Lab → · Contrast checker → · Palette generator →

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