#2B286C#2B286C

#2B286C is a dark, moderate blue. Relative luminance 0.031; OKLCH L 32.4% C 0.115 H 279.8°. Best body text is #FFFFFF at 12.94:1 contrast (WCAG AA passes).

Color values

HEX#2B286C
RGBrgb(43, 40, 108)
HSLhsl(243, 46%, 29%)
HSVhsv(243, 63%, 42%)
CMYKcmyk(60.2%, 63%, 0%, 57.6%)
CIE-LABlab(20.49, 23.06, -39.33)
CIE-LCHlch(20.49, 45.59, 300.38°)
OKLaboklab(32.4% 0.0196 -0.1129)
OKLCHoklch(32.4% 0.115 279.8)
XYZxyz(4.4610, 3.1136, 14.5504)
Luminance0.0311 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B286C #696C28
analogous
#28476C #2B286C #4D286C
triadic
#2B286C #6C2B28 #286C2B
tetradic
#2B286C #6C2847 #696C28 #286C4D
square
#2B286C #6C2847 #696C28 #286C4D
split-complementary
#2B286C #6C4D28 #476C28
monochromatic
#090816 #19173F #2B286C #3D3999 #5550BE

Accessibility & contrast

On white

12.94
#2B286C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#2B286C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B286C
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B286C#FFFFFF#000000##FFFFFF
##2B286C1.0012.941.6212.94
#FFFFFF12.941.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b286c;
/* rgb */ color: rgb(43, 40, 108);
/* oklch */ color: oklch(32.4% 0.115 279.8);
Tailwind
colors: {
  custom: {
    50: '#6b6297',
    500: '#2b286c',
    950: '#000000',
  },
}
SCSS
$custom: #2b286c;
$custom-light: #6b6297;
$custom-dark: #000000;
JSON
{
  "hex": "#2b286c",
  "rgb": {
    "r": 43,
    "g": 40,
    "b": 108
  },
  "hsl": {
    "h": 242.647,
    "s": 45.946,
    "l": 29.02
  },
  "oklch": {
    "l": 0.32403,
    "c": 0.11461,
    "h": 279.8
  },
  "luminance": 0.03114
}

Semantic roles & 50–950 ramp

primary
#2B286C
secondary
#9B9E51
accent
#D652D0
background
#F6F5F9
surface
#ECEAF2
border
#C7C6CC
text
#07050D
muted
#7A797E

Preview Lab

Preview with #2B286C

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

Preview Lab → · Contrast checker → · Palette generator →

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