#2B328F#2B328F

#2B328F is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.5% C 0.151 H 273.2°. Best body text is #FFFFFF at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#2B328F
RGBrgb(43, 50, 143)
HSLhsl(236, 54%, 36%)
HSVhsv(236, 70%, 56%)
CMYKcmyk(69.9%, 65%, 0%, 43.9%)
CIE-LABlab(26.09, 29.08, -52.35)
CIE-LCHlch(26.09, 59.88, 299.06°)
OKLaboklab(37.46% 0.0085 -0.1511)
OKLCHoklch(37.46% 0.151 273.2)
XYZxyz(7.0931, 4.7773, 26.5296)
Luminance0.0478 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B328F #8F882B
analogous
#2B648F #2B328F #562B8F
triadic
#2B328F #8F2B32 #328F2B
tetradic
#2B328F #8F2B64 #8F882B #2B8F56
square
#2B328F #8F2B64 #8F882B #2B8F56
split-complementary
#2B328F #8F562B #648F2B
monochromatic
#0F1131 #1D2260 #2B328F #3942BE #646CD0

Accessibility & contrast

On white

10.74
#2B328F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#2B328F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B328F
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B328F#FFFFFF#000000##FFFFFF
##2B328F1.0010.741.9610.74
#FFFFFF10.741.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b328f;
/* rgb */ color: rgb(43, 50, 143);
/* oklch */ color: oklch(37.5% 0.151 273.2);
Tailwind
colors: {
  custom: {
    50: '#726ab1',
    500: '#2b328f',
    950: '#000000',
  },
}
SCSS
$custom: #2b328f;
$custom-light: #726ab1;
$custom-dark: #000000;
JSON
{
  "hex": "#2b328f",
  "rgb": {
    "r": 43,
    "g": 50,
    "b": 143
  },
  "hsl": {
    "h": 235.8,
    "s": 53.763,
    "l": 36.471
  },
  "oklch": {
    "l": 0.37459,
    "c": 0.15131,
    "h": 273.2
  },
  "luminance": 0.04778
}

Semantic roles & 50–950 ramp

primary
#2B328F
secondary
#B7B05F
accent
#D34BDD
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2B328F

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

Preview Lab → · Contrast checker → · Palette generator →

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