#2B286A#2B286A

#2B286A is a dark, moderate blue. Relative luminance 0.031; OKLCH L 32.2% C 0.112 H 280.1°. Best body text is #FFFFFF at 13.01:1 contrast (WCAG AA passes).

Color values

HEX#2B286A
RGBrgb(43, 40, 106)
HSLhsl(243, 45%, 29%)
HSVhsv(243, 62%, 42%)
CMYKcmyk(59.4%, 62.3%, 0%, 58.4%)
CIE-LABlab(20.33, 22.34, -38.30)
CIE-LCHlch(20.33, 44.34, 300.26°)
OKLaboklab(32.23% 0.0196 -0.1099)
OKLCHoklch(32.23% 0.112 280.1)
XYZxyz(4.3558, 3.0715, 13.9962)
Luminance0.0307 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B286A #676A28
analogous
#28466A #2B286A #4C286A
triadic
#2B286A #6A2B28 #286A2B
tetradic
#2B286A #6A2846 #676A28 #286A4C
square
#2B286A #6A2846 #676A28 #286A4C
split-complementary
#2B286A #6A4C28 #466A28
monochromatic
#090816 #19173E #2B286A #3D3996 #5550BD

Accessibility & contrast

On white

13.01
#2B286A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B286A
13.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B286A#FFFFFF#000000##FFFFFF
##2B286A1.0013.011.6113.01
#FFFFFF13.011.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00346C
Deuteranopia (green-blind)
#002E69
Tritanopia (blue-blind)
#0A3844
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2b286a;
/* rgb */ color: rgb(43, 40, 106);
/* oklch */ color: oklch(32.2% 0.112 280.1);
Tailwind
colors: {
  custom: {
    50: '#6b6295',
    500: '#2b286a',
    950: '#000000',
  },
}
SCSS
$custom: #2b286a;
$custom-light: #6b6295;
$custom-dark: #000000;
JSON
{
  "hex": "#2b286a",
  "rgb": {
    "r": 43,
    "g": 40,
    "b": 106
  },
  "hsl": {
    "h": 242.727,
    "s": 45.205,
    "l": 28.627
  },
  "oklch": {
    "l": 0.32229,
    "c": 0.11164,
    "h": 280.1
  },
  "luminance": 0.03072
}

Semantic roles & 50–950 ramp

primary
#2B286A
secondary
#999D51
accent
#D553CF
background
#F6F5F9
surface
#ECEAF2
border
#C7C6CC
text
#07050D
muted
#7A797E

Preview Lab

Preview with #2B286A

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

Preview Lab → · Contrast checker → · Palette generator →

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