#2B329E#2B329E

#2B329E is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.9% C 0.172 H 272.4°. Best body text is #FFFFFF at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#2B329E
RGBrgb(43, 50, 158)
HSLhsl(236, 57%, 39%)
HSVhsv(236, 73%, 62%)
CMYKcmyk(72.8%, 68.4%, 0%, 38%)
CIE-LABlab(27.47, 34.51, -59.28)
CIE-LCHlch(27.47, 68.60, 300.21°)
OKLaboklab(38.89% 0.0073 -0.1714)
OKLCHoklch(38.89% 0.172 272.4)
XYZxyz(8.3063, 5.2626, 32.9191)
Luminance0.0526 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B329E #9E972B
analogous
#2B6C9E #2B329E #5E2B9E
triadic
#2B329E #9E2B32 #329E2B
tetradic
#2B329E #9E2B6C #9E972B #2B9E5E
square
#2B329E #9E2B6C #9E972B #2B9E5E
split-complementary
#2B329E #9E5E2B #6C9E2B
monochromatic
#11143E #1E236E #2B329E #3C45CA #6C73D7

Accessibility & contrast

On white

10.23
#2B329E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B329E
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B329E#FFFFFF#000000##FFFFFF
##2B329E1.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b329e;
/* rgb */ color: rgb(43, 50, 158);
/* oklch */ color: oklch(38.9% 0.172 272.4);
Tailwind
colors: {
  custom: {
    50: '#766abc',
    500: '#2b329e',
    950: '#000000',
  },
}
SCSS
$custom: #2b329e;
$custom-light: #766abc;
$custom-dark: #000000;
JSON
{
  "hex": "#2b329e",
  "rgb": {
    "r": 43,
    "g": 50,
    "b": 158
  },
  "hsl": {
    "h": 236.348,
    "s": 57.214,
    "l": 39.412
  },
  "oklch": {
    "l": 0.38889,
    "c": 0.17154,
    "h": 272.4
  },
  "luminance": 0.05263
}

Semantic roles & 50–950 ramp

primary
#2B329E
secondary
#BEB967
accent
#D747E0
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2B329E

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

Preview Lab → · Contrast checker → · Palette generator →

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