#2B276A#2B276A

#2B276A is a dark, moderate blue. Relative luminance 0.030; OKLCH L 32.0% C 0.113 H 280.6°. Best body text is #FFFFFF at 13.12:1 contrast (WCAG AA passes).

Color values

HEX#2B276A
RGBrgb(43, 39, 106)
HSLhsl(244, 46%, 28%)
HSVhsv(244, 63%, 42%)
CMYKcmyk(59.4%, 63.2%, 0%, 58.4%)
CIE-LABlab(20.06, 23.02, -38.73)
CIE-LCHlch(20.06, 45.06, 300.73°)
OKLaboklab(32.03% 0.0207 -0.1112)
OKLCHoklch(32.03% 0.113 280.6)
XYZxyz(4.3225, 3.0050, 13.9851)
Luminance0.0301 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B276A #666A27
analogous
#27446A #2B276A #4C276A
triadic
#2B276A #6A2B27 #276A2B
tetradic
#2B276A #6A2744 #666A27 #276A4C
square
#2B276A #6A2744 #666A27 #276A4C
split-complementary
#2B276A #6A4C27 #446A27
monochromatic
#090816 #19173D #2B276A #3D3797 #544EBE

Accessibility & contrast

On white

13.12
#2B276A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#2B276A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B276A
13.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B276A#FFFFFF#000000##FFFFFF
##2B276A1.0013.121.6013.12
#FFFFFF13.121.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00336C
Deuteranopia (green-blind)
#002E69
Tritanopia (blue-blind)
#0A3744
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2b276a;
/* rgb */ color: rgb(43, 39, 106);
/* oklch */ color: oklch(32.0% 0.113 280.6);
Tailwind
colors: {
  custom: {
    50: '#6b6195',
    500: '#2b276a',
    950: '#000000',
  },
}
SCSS
$custom: #2b276a;
$custom-light: #6b6195;
$custom-dark: #000000;
JSON
{
  "hex": "#2b276a",
  "rgb": {
    "r": 43,
    "g": 39,
    "b": 106
  },
  "hsl": {
    "h": 243.582,
    "s": 46.207,
    "l": 28.431
  },
  "oklch": {
    "l": 0.32034,
    "c": 0.11308,
    "h": 280.6
  },
  "luminance": 0.03005
}

Semantic roles & 50–950 ramp

primary
#2B276A
secondary
#989D50
accent
#D652CE
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07050D
muted
#7A797E

Preview Lab

Preview with #2B276A

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

Preview Lab → · Contrast checker → · Palette generator →

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