#2B328D#2B328D

#2B328D is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.3% C 0.149 H 273.3°. Best body text is #FFFFFF at 10.80:1 contrast (WCAG AA passes).

Color values

HEX#2B328D
RGBrgb(43, 50, 141)
HSLhsl(236, 53%, 36%)
HSVhsv(236, 70%, 55%)
CMYKcmyk(69.5%, 64.5%, 0%, 44.7%)
CIE-LABlab(25.91, 28.35, -51.40)
CIE-LCHlch(25.91, 58.70, 298.88°)
OKLaboklab(37.27% 0.0087 -0.1483)
OKLCHoklch(37.27% 0.149 273.3)
XYZxyz(6.9430, 4.7172, 25.7388)
Luminance0.0472 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B328D #8D862B
analogous
#2B638D #2B328D #552B8D
triadic
#2B328D #8D2B32 #328D2B
tetradic
#2B328D #8D2B63 #8D862B #2B8D55
square
#2B328D #8D2B63 #8D862B #2B8D55
split-complementary
#2B328D #8D552B #638D2B
monochromatic
#0E112F #1D215E #2B328D #3943BC #636BCF

Accessibility & contrast

On white

10.80
#2B328D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B328D
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B328D#FFFFFF#000000##FFFFFF
##2B328D1.0010.801.9410.80
#FFFFFF10.801.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b328d;
/* rgb */ color: rgb(43, 50, 141);
/* oklch */ color: oklch(37.3% 0.149 273.3);
Tailwind
colors: {
  custom: {
    50: '#726aaf',
    500: '#2b328d',
    950: '#000000',
  },
}
SCSS
$custom: #2b328d;
$custom-light: #726aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#2b328d",
  "rgb": {
    "r": 43,
    "g": 50,
    "b": 141
  },
  "hsl": {
    "h": 235.714,
    "s": 53.261,
    "l": 36.078
  },
  "oklch": {
    "l": 0.37274,
    "c": 0.14854,
    "h": 273.3
  },
  "luminance": 0.04718
}

Semantic roles & 50–950 ramp

primary
#2B328D
secondary
#B6AF5E
accent
#D24BDD
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #2B328D

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

Preview Lab → · Contrast checker → · Palette generator →

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