#2B326F#2B326F

#2B326F is a dark, moderate blue. Relative luminance 0.039; OKLCH L 34.7% C 0.105 H 274.7°. Best body text is #FFFFFF at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#2B326F
RGBrgb(43, 50, 111)
HSLhsl(234, 44%, 30%)
HSVhsv(234, 61%, 44%)
CMYKcmyk(61.3%, 55%, 0%, 56.5%)
CIE-LABlab(23.48, 17.24, -36.44)
CIE-LCHlch(23.48, 40.31, 295.33°)
OKLaboklab(34.7% 0.0085 -0.1043)
OKLCHoklch(34.7% 0.105 274.7)
XYZxyz(5.0052, 3.9421, 15.5330)
Luminance0.0394 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B326F #6F682B
analogous
#2B546F #2B326F #462B6F
triadic
#2B326F #6F2B32 #326F2B
tetradic
#2B326F #6F2B54 #6F682B #2B6F46
square
#2B326F #6F2B54 #6F682B #2B6F46
split-complementary
#2B326F #6F462B #546F2B
monochromatic
#090A17 #1A1E43 #2B326F #3C469B #5761BE

Accessibility & contrast

On white

11.74
#2B326F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#2B326F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B326F
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B326F#FFFFFF#000000##FFFFFF
##2B326F1.0011.741.7911.74
#FFFFFF11.741.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F3B71
Deuteranopia (green-blind)
#00356E
Tritanopia (blue-blind)
#00404B
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2b326f;
/* rgb */ color: rgb(43, 50, 111);
/* oklch */ color: oklch(34.7% 0.105 274.7);
Tailwind
colors: {
  custom: {
    50: '#6b6999',
    500: '#2b326f',
    950: '#000000',
  },
}
SCSS
$custom: #2b326f;
$custom-light: #6b6999;
$custom-dark: #000000;
JSON
{
  "hex": "#2b326f",
  "rgb": {
    "r": 43,
    "g": 50,
    "b": 111
  },
  "hsl": {
    "h": 233.824,
    "s": 44.156,
    "l": 30.196
  },
  "oklch": {
    "l": 0.34701,
    "c": 0.10465,
    "h": 274.7
  },
  "luminance": 0.03942
}

Semantic roles & 50–950 ramp

primary
#2B326F
secondary
#A19955
accent
#C754D4
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #2B326F

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

Preview Lab → · Contrast checker → · Palette generator →

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