#2C286D#2C286D

#2C286D is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.6% C 0.116 H 280.4°. Best body text is #FFFFFF at 12.87:1 contrast (WCAG AA passes).

Color values

HEX#2C286D
RGBrgb(44, 40, 109)
HSLhsl(243, 46%, 29%)
HSVhsv(243, 63%, 43%)
CMYKcmyk(59.6%, 63.3%, 0%, 57.3%)
CIE-LABlab(20.66, 23.62, -39.70)
CIE-LCHlch(20.66, 46.20, 300.75°)
OKLaboklab(32.57% 0.0209 -0.114)
OKLCHoklch(32.57% 0.116 280.4)
XYZxyz(4.5570, 3.1569, 14.8342)
Luminance0.0316 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C286D #696D28
analogous
#28476D #2C286D #4F286D
triadic
#2C286D #6D2C28 #286D2C
tetradic
#2C286D #6D2847 #696D28 #286D4F
square
#2C286D #6D2847 #696D28 #286D4F
split-complementary
#2C286D #6D4F28 #476D28
monochromatic
#090816 #1A1840 #2C286D #3E389A #5750BF

Accessibility & contrast

On white

12.87
#2C286D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#2C286D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C286D
12.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C286D#FFFFFF#000000##FFFFFF
##2C286D1.0012.871.6312.87
#FFFFFF12.871.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00346F
Deuteranopia (green-blind)
#002F6C
Tritanopia (blue-blind)
#093946
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2c286d;
/* rgb */ color: rgb(44, 40, 109);
/* oklch */ color: oklch(32.6% 0.116 280.4);
Tailwind
colors: {
  custom: {
    50: '#6c6297',
    500: '#2c286d',
    950: '#000000',
  },
}
SCSS
$custom: #2c286d;
$custom-light: #6c6297;
$custom-dark: #000000;
JSON
{
  "hex": "#2c286d",
  "rgb": {
    "r": 44,
    "g": 40,
    "b": 109
  },
  "hsl": {
    "h": 243.478,
    "s": 46.309,
    "l": 29.216
  },
  "oklch": {
    "l": 0.32575,
    "c": 0.11588,
    "h": 280.4
  },
  "luminance": 0.03157
}

Semantic roles & 50–950 ramp

primary
#2C286D
secondary
#9B9F51
accent
#D652CE
background
#F6F5F9
surface
#ECEAF2
border
#C7C6CC
text
#07050D
muted
#7A797E

Preview Lab

Preview with #2C286D

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

Preview Lab → · Contrast checker → · Palette generator →

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