#2B328C#2B328C

#2B328C is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.2% C 0.147 H 273.4°. Best body text is #FFFFFF at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#2B328C
RGBrgb(43, 50, 140)
HSLhsl(236, 53%, 36%)
HSVhsv(236, 69%, 55%)
CMYKcmyk(69.3%, 64.3%, 0%, 45.1%)
CIE-LABlab(25.83, 27.98, -50.92)
CIE-LCHlch(25.83, 58.10, 298.79°)
OKLaboklab(37.18% 0.0087 -0.1469)
OKLCHoklch(37.18% 0.147 273.4)
XYZxyz(6.8689, 4.6876, 25.3487)
Luminance0.0469 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B328C #8C852B
analogous
#2B628C #2B328C #542B8C
triadic
#2B328C #8C2B32 #328C2B
tetradic
#2B328C #8C2B62 #8C852B #2B8C54
square
#2B328C #8C2B62 #8C852B #2B8C54
split-complementary
#2B328C #8C542B #628C2B
monochromatic
#0E112E #1D215D #2B328C #3943BB #626ACF

Accessibility & contrast

On white

10.84
#2B328C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#2B328C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B328C
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B328C#FFFFFF#000000##FFFFFF
##2B328C1.0010.841.9410.84
#FFFFFF10.841.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428F
Deuteranopia (green-blind)
#00398A
Tritanopia (blue-blind)
#00495A
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2b328c;
/* rgb */ color: rgb(43, 50, 140);
/* oklch */ color: oklch(37.2% 0.147 273.4);
Tailwind
colors: {
  custom: {
    50: '#726aae',
    500: '#2b328c',
    950: '#000000',
  },
}
SCSS
$custom: #2b328c;
$custom-light: #726aae;
$custom-dark: #000000;
JSON
{
  "hex": "#2b328c",
  "rgb": {
    "r": 43,
    "g": 50,
    "b": 140
  },
  "hsl": {
    "h": 235.67,
    "s": 53.005,
    "l": 35.882
  },
  "oklch": {
    "l": 0.37182,
    "c": 0.14716,
    "h": 273.4
  },
  "luminance": 0.04688
}

Semantic roles & 50–950 ramp

primary
#2B328C
secondary
#B5AF5E
accent
#D24BDC
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #2B328C

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

Preview Lab → · Contrast checker → · Palette generator →

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