#2C286F#2C286F

#2C286F is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.8% C 0.119 H 280.1°. Best body text is #FFFFFF at 12.80:1 contrast (WCAG AA passes).

Color values

HEX#2C286F
RGBrgb(44, 40, 111)
HSLhsl(243, 47%, 30%)
HSVhsv(243, 64%, 44%)
CMYKcmyk(60.4%, 64%, 0%, 56.5%)
CIE-LABlab(20.83, 24.33, -40.72)
CIE-LCHlch(20.83, 47.44, 300.86°)
OKLaboklab(32.75% 0.0208 -0.117)
OKLCHoklch(32.75% 0.119 280.1)
XYZxyz(4.6658, 3.2004, 15.4077)
Luminance0.0320 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C286F #6B6F28
analogous
#28486F #2C286F #50286F
triadic
#2C286F #6F2C28 #286F2C
tetradic
#2C286F #6F2848 #6B6F28 #286F50
square
#2C286F #6F2848 #6B6F28 #286F50
split-complementary
#2C286F #6F5028 #486F28
monochromatic
#090816 #1A1842 #2C286F #3E389C #5751C0

Accessibility & contrast

On white

12.80
#2C286F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#2C286F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C286F
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C286F#FFFFFF#000000##FFFFFF
##2C286F1.0012.801.6412.80
#FFFFFF12.801.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003571
Deuteranopia (green-blind)
#002F6E
Tritanopia (blue-blind)
#053947
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2c286f;
/* rgb */ color: rgb(44, 40, 111);
/* oklch */ color: oklch(32.8% 0.119 280.1);
Tailwind
colors: {
  custom: {
    50: '#6d6299',
    500: '#2c286f',
    950: '#000000',
  },
}
SCSS
$custom: #2c286f;
$custom-light: #6d6299;
$custom-dark: #000000;
JSON
{
  "hex": "#2c286f",
  "rgb": {
    "r": 44,
    "g": 40,
    "b": 111
  },
  "hsl": {
    "h": 243.38,
    "s": 47.02,
    "l": 29.608
  },
  "oklch": {
    "l": 0.32751,
    "c": 0.11882,
    "h": 280.1
  },
  "luminance": 0.03201
}

Semantic roles & 50–950 ramp

primary
#2C286F
secondary
#9DA151
accent
#D751CF
background
#F6F5F9
surface
#ECEAF2
border
#C7C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #2C286F

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

Preview Lab → · Contrast checker → · Palette generator →

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