#2B276C#2B276C

#2B276C is a dark, moderate blue. Relative luminance 0.030; OKLCH L 32.2% C 0.116 H 280.3°. Best body text is #FFFFFF at 13.05:1 contrast (WCAG AA passes).

Color values

HEX#2B276C
RGBrgb(43, 39, 108)
HSLhsl(243, 47%, 29%)
HSVhsv(243, 64%, 42%)
CMYKcmyk(60.2%, 63.9%, 0%, 57.6%)
CIE-LABlab(20.23, 23.74, -39.76)
CIE-LCHlch(20.23, 46.31, 300.84°)
OKLaboklab(32.21% 0.0207 -0.1142)
OKLCHoklch(32.21% 0.116 280.3)
XYZxyz(4.4277, 3.0470, 14.5393)
Luminance0.0305 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B276C #686C27
analogous
#27466C #2B276C #4E276C
triadic
#2B276C #6C2B27 #276C2B
tetradic
#2B276C #6C2746 #686C27 #276C4E
square
#2B276C #6C2746 #686C27 #276C4E
split-complementary
#2B276C #6C4E27 #466C27
monochromatic
#090816 #19173F #2B276C #3D3799 #554EBF

Accessibility & contrast

On white

13.05
#2B276C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#2B276C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B276C
13.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B276C#FFFFFF#000000##FFFFFF
##2B276C1.0013.051.6113.05
#FFFFFF13.051.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00336E
Deuteranopia (green-blind)
#002E6B
Tritanopia (blue-blind)
#063845
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2b276c;
/* rgb */ color: rgb(43, 39, 108);
/* oklch */ color: oklch(32.2% 0.116 280.3);
Tailwind
colors: {
  custom: {
    50: '#6c6197',
    500: '#2b276c',
    950: '#000000',
  },
}
SCSS
$custom: #2b276c;
$custom-light: #6c6197;
$custom-dark: #000000;
JSON
{
  "hex": "#2b276c",
  "rgb": {
    "r": 43,
    "g": 39,
    "b": 108
  },
  "hsl": {
    "h": 243.478,
    "s": 46.939,
    "l": 28.824
  },
  "oklch": {
    "l": 0.3221,
    "c": 0.11603,
    "h": 280.3
  },
  "luminance": 0.03047
}

Semantic roles & 50–950 ramp

primary
#2B276C
secondary
#9A9F50
accent
#D751CF
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07050D
muted
#7A797E

Preview Lab

Preview with #2B276C

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

Preview Lab → · Contrast checker → · Palette generator →

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