#2C276F#2C276F

#2C276F is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.6% C 0.120 H 280.5°. Best body text is #FFFFFF at 12.91:1 contrast (WCAG AA passes).

Color values

HEX#2C276F
RGBrgb(44, 39, 111)
HSLhsl(244, 48%, 29%)
HSVhsv(244, 65%, 44%)
CMYKcmyk(60.4%, 64.9%, 0%, 56.5%)
CIE-LABlab(20.57, 25.00, -41.14)
CIE-LCHlch(20.57, 48.14, 301.29°)
OKLaboklab(32.56% 0.0219 -0.1182)
OKLCHoklch(32.56% 0.12 280.5)
XYZxyz(4.6326, 3.1339, 15.3966)
Luminance0.0313 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C276F #6A6F27
analogous
#27466F #2C276F #50276F
triadic
#2C276F #6F2C27 #276F2C
tetradic
#2C276F #6F2746 #6A6F27 #276F50
square
#2C276F #6F2746 #6A6F27 #276F50
split-complementary
#2C276F #6F5027 #466F27
monochromatic
#090817 #1A1742 #2C276F #3E379C #574FC1

Accessibility & contrast

On white

12.91
#2C276F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C276F
12.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C276F#FFFFFF#000000##FFFFFF
##2C276F1.0012.911.6312.91
#FFFFFF12.911.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c276f;
/* rgb */ color: rgb(44, 39, 111);
/* oklch */ color: oklch(32.6% 0.120 280.5);
Tailwind
colors: {
  custom: {
    50: '#6d6199',
    500: '#2c276f',
    950: '#000000',
  },
}
SCSS
$custom: #2c276f;
$custom-light: #6d6199;
$custom-dark: #000000;
JSON
{
  "hex": "#2c276f",
  "rgb": {
    "r": 44,
    "g": 39,
    "b": 111
  },
  "hsl": {
    "h": 244.167,
    "s": 48,
    "l": 29.412
  },
  "oklch": {
    "l": 0.32562,
    "c": 0.12023,
    "h": 280.5
  },
  "luminance": 0.03134
}

Semantic roles & 50–950 ramp

primary
#2C276F
secondary
#9CA250
accent
#D850CE
background
#F6F5F9
surface
#ECEAF2
border
#C7C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #2C276F

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

Preview Lab → · Contrast checker → · Palette generator →

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