#2C286B#2C286B

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

Color values

HEX#2C286B
RGBrgb(44, 40, 107)
HSLhsl(244, 46%, 29%)
HSVhsv(244, 63%, 42%)
CMYKcmyk(58.9%, 62.6%, 0%, 58%)
CIE-LABlab(20.50, 22.91, -38.67)
CIE-LCHlch(20.50, 44.95, 300.64°)
OKLaboklab(32.4% 0.021 -0.111)
OKLCHoklch(32.4% 0.113 280.7)
XYZxyz(4.4505, 3.1143, 14.2737)
Luminance0.0312 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C286B #676B28
analogous
#28466B #2C286B #4E286B
triadic
#2C286B #6B2C28 #286B2C
tetradic
#2C286B #6B2846 #676B28 #286B4E
square
#2C286B #6B2846 #676B28 #286B4E
split-complementary
#2C286B #6B4E28 #466B28
monochromatic
#090816 #1A173E #2C286B #3E3998 #5650BE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C286B#FFFFFF#000000##FFFFFF
##2C286B1.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)
#00346D
Deuteranopia (green-blind)
#002F6A
Tritanopia (blue-blind)
#0C3845
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2c286b;
/* rgb */ color: rgb(44, 40, 107);
/* oklch */ color: oklch(32.4% 0.113 280.7);
Tailwind
colors: {
  custom: {
    50: '#6c6296',
    500: '#2c286b',
    950: '#000000',
  },
}
SCSS
$custom: #2c286b;
$custom-light: #6c6296;
$custom-dark: #000000;
JSON
{
  "hex": "#2c286b",
  "rgb": {
    "r": 44,
    "g": 40,
    "b": 107
  },
  "hsl": {
    "h": 243.582,
    "s": 45.578,
    "l": 28.824
  },
  "oklch": {
    "l": 0.32401,
    "c": 0.11293,
    "h": 280.7
  },
  "luminance": 0.03115
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C286B

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

Preview Lab → · Contrast checker → · Palette generator →

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