#2B326A#2B326A

#2B326A is a dark, moderate blue. Relative luminance 0.038; OKLCH L 34.3% C 0.097 H 274.7°. Best body text is #FFFFFF at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#2B326A
RGBrgb(43, 50, 106)
HSLhsl(233, 42%, 29%)
HSVhsv(233, 59%, 42%)
CMYKcmyk(59.4%, 52.8%, 0%, 58.4%)
CIE-LABlab(23.12, 15.39, -33.80)
CIE-LCHlch(23.12, 37.14, 294.49°)
OKLaboklab(34.31% 0.008 -0.0965)
OKLCHoklch(34.31% 0.097 274.7)
XYZxyz(4.7375, 3.8351, 14.1235)
Luminance0.0384 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B326A #6A632B
analogous
#2B526A #2B326A #442B6A
triadic
#2B326A #6A2B32 #326A2B
tetradic
#2B326A #6A2B52 #6A632B #2B6A44
square
#2B326A #6A2B52 #6A632B #2B6A44
split-complementary
#2B326A #6A442B #526A2B
monochromatic
#090A16 #191D3E #2B326A #3D4796 #5560BA

Accessibility & contrast

On white

11.88
#2B326A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#2B326A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B326A
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B326A#FFFFFF#000000##FFFFFF
##2B326A1.0011.881.7711.88
#FFFFFF11.881.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#153A6C
Deuteranopia (green-blind)
#0B3569
Tritanopia (blue-blind)
#073F49
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2b326a;
/* rgb */ color: rgb(43, 50, 106);
/* oklch */ color: oklch(34.3% 0.097 274.7);
Tailwind
colors: {
  custom: {
    50: '#6a6995',
    500: '#2b326a',
    950: '#000000',
  },
}
SCSS
$custom: #2b326a;
$custom-light: #6a6995;
$custom-dark: #000000;
JSON
{
  "hex": "#2b326a",
  "rgb": {
    "r": 43,
    "g": 50,
    "b": 106
  },
  "hsl": {
    "h": 233.333,
    "s": 42.282,
    "l": 29.216
  },
  "oklch": {
    "l": 0.34314,
    "c": 0.09688,
    "h": 274.7
  },
  "luminance": 0.03835
}

Semantic roles & 50–950 ramp

primary
#2B326A
secondary
#9C9455
accent
#C456D2
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#07060D
muted
#7A7A7E

Preview Lab

Preview with #2B326A

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

Preview Lab → · Contrast checker → · Palette generator →

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