#2B328E#2B328E

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

Color values

HEX#2B328E
RGBrgb(43, 50, 142)
HSLhsl(236, 54%, 36%)
HSVhsv(236, 70%, 56%)
CMYKcmyk(69.7%, 64.8%, 0%, 44.3%)
CIE-LABlab(26.00, 28.72, -51.87)
CIE-LCHlch(26.00, 59.29, 298.97°)
OKLaboklab(37.37% 0.0086 -0.1497)
OKLCHoklch(37.37% 0.15 273.3)
XYZxyz(7.0177, 4.7471, 26.1324)
Luminance0.0475 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B328E #8E872B
analogous
#2B648E #2B328E #562B8E
triadic
#2B328E #8E2B32 #328E2B
tetradic
#2B328E #8E2B64 #8E872B #2B8E56
square
#2B328E #8E2B64 #8E872B #2B8E56
split-complementary
#2B328E #8E562B #648E2B
monochromatic
#0F1130 #1D215F #2B328E #3943BD #636BD0

Accessibility & contrast

On white

10.77
#2B328E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#2B328E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B328E
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B328E#FFFFFF#000000##FFFFFF
##2B328E1.0010.771.9510.77
#FFFFFF10.771.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004291
Deuteranopia (green-blind)
#00398C
Tritanopia (blue-blind)
#004A5B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2b328e;
/* rgb */ color: rgb(43, 50, 142);
/* oklch */ color: oklch(37.4% 0.150 273.3);
Tailwind
colors: {
  custom: {
    50: '#726ab0',
    500: '#2b328e',
    950: '#000000',
  },
}
SCSS
$custom: #2b328e;
$custom-light: #726ab0;
$custom-dark: #000000;
JSON
{
  "hex": "#2b328e",
  "rgb": {
    "r": 43,
    "g": 50,
    "b": 142
  },
  "hsl": {
    "h": 235.758,
    "s": 53.514,
    "l": 36.275
  },
  "oklch": {
    "l": 0.37367,
    "c": 0.14994,
    "h": 273.3
  },
  "luminance": 0.04748
}

Semantic roles & 50–950 ramp

primary
#2B328E
secondary
#B6B05F
accent
#D34BDD
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2B328E

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

Preview Lab → · Contrast checker → · Palette generator →

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