#2C276D#2C276D

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

Color values

HEX#2C276D
RGBrgb(44, 39, 109)
HSLhsl(244, 47%, 29%)
HSVhsv(244, 64%, 43%)
CMYKcmyk(59.6%, 64.2%, 0%, 57.3%)
CIE-LABlab(20.40, 24.29, -40.12)
CIE-LCHlch(20.40, 46.91, 301.19°)
OKLaboklab(32.38% 0.022 -0.1152)
OKLCHoklch(32.38% 0.117 280.8)
XYZxyz(4.5237, 3.0903, 14.8232)
Luminance0.0309 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C276D #686D27
analogous
#27456D #2C276D #4F276D
triadic
#2C276D #6D2C27 #276D2C
tetradic
#2C276D #6D2745 #686D27 #276D4F
square
#2C276D #6D2745 #686D27 #276D4F
split-complementary
#2C276D #6D4F27 #456D27
monochromatic
#090817 #1A1740 #2C276D #3E379A #574FC0

Accessibility & contrast

On white

12.98
#2C276D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C276D
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C276D#FFFFFF#000000##FFFFFF
##2C276D1.0012.981.6212.98
#FFFFFF12.981.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c276d;
/* rgb */ color: rgb(44, 39, 109);
/* oklch */ color: oklch(32.4% 0.117 280.8);
Tailwind
colors: {
  custom: {
    50: '#6c6197',
    500: '#2c276d',
    950: '#000000',
  },
}
SCSS
$custom: #2c276d;
$custom-light: #6c6197;
$custom-dark: #000000;
JSON
{
  "hex": "#2c276d",
  "rgb": {
    "r": 44,
    "g": 39,
    "b": 109
  },
  "hsl": {
    "h": 244.286,
    "s": 47.297,
    "l": 29.02
  },
  "oklch": {
    "l": 0.32384,
    "c": 0.11731,
    "h": 280.8
  },
  "luminance": 0.03091
}

Semantic roles & 50–950 ramp

primary
#2C276D
secondary
#9AA050
accent
#D751CD
background
#F6F5F9
surface
#ECEAF2
border
#C7C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #2C276D

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

Preview Lab → · Contrast checker → · Palette generator →

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