#2B326B#2B326B

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

Color values

HEX#2B326B
RGBrgb(43, 50, 107)
HSLhsl(233, 43%, 29%)
HSVhsv(233, 60%, 42%)
CMYKcmyk(59.8%, 53.3%, 0%, 58%)
CIE-LABlab(23.19, 15.76, -34.33)
CIE-LCHlch(23.19, 37.77, 294.67°)
OKLaboklab(34.39% 0.0081 -0.0981)
OKLCHoklch(34.39% 0.098 274.7)
XYZxyz(4.7898, 3.8560, 14.3989)
Luminance0.0386 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B326B #6B642B
analogous
#2B526B #2B326B #442B6B
triadic
#2B326B #6B2B32 #326B2B
tetradic
#2B326B #6B2B52 #6B642B #2B6B44
square
#2B326B #6B2B52 #6B642B #2B6B44
split-complementary
#2B326B #6B442B #526B2B
monochromatic
#090A16 #191E3F #2B326B #3D4697 #5661BB

Accessibility & contrast

On white

11.86
#2B326B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B326B
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B326B#FFFFFF#000000##FFFFFF
##2B326B1.0011.861.7711.86
#FFFFFF11.861.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#143A6D
Deuteranopia (green-blind)
#09356A
Tritanopia (blue-blind)
#053F49
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2b326b;
/* rgb */ color: rgb(43, 50, 107);
/* oklch */ color: oklch(34.4% 0.098 274.7);
Tailwind
colors: {
  custom: {
    50: '#6b6996',
    500: '#2b326b',
    950: '#000000',
  },
}
SCSS
$custom: #2b326b;
$custom-light: #6b6996;
$custom-dark: #000000;
JSON
{
  "hex": "#2b326b",
  "rgb": {
    "r": 43,
    "g": 50,
    "b": 107
  },
  "hsl": {
    "h": 233.438,
    "s": 42.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.3439,
    "c": 0.09845,
    "h": 274.7
  },
  "luminance": 0.03856
}

Semantic roles & 50–950 ramp

primary
#2B326B
secondary
#9D9555
accent
#C555D2
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060D
muted
#7A7A7E

Preview Lab

Preview with #2B326B

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

Preview Lab → · Contrast checker → · Palette generator →

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