#2C276E#2C276E

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

Color values

HEX#2C276E
RGBrgb(44, 39, 110)
HSLhsl(244, 48%, 29%)
HSVhsv(244, 65%, 43%)
CMYKcmyk(60%, 64.5%, 0%, 56.9%)
CIE-LABlab(20.49, 24.65, -40.63)
CIE-LCHlch(20.49, 47.52, 301.24°)
OKLaboklab(32.47% 0.0219 -0.1167)
OKLCHoklch(32.47% 0.119 280.6)
XYZxyz(4.5778, 3.1120, 15.1083)
Luminance0.0311 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C276E #696E27
analogous
#27466E #2C276E #50276E
triadic
#2C276E #6E2C27 #276E2C
tetradic
#2C276E #6E2746 #696E27 #276E50
square
#2C276E #6E2746 #696E27 #276E50
split-complementary
#2C276E #6E5027 #466E27
monochromatic
#090817 #1A1741 #2C276E #3E379B #574FC1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C276E#FFFFFF#000000##FFFFFF
##2C276E1.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)
#003470
Deuteranopia (green-blind)
#002F6D
Tritanopia (blue-blind)
#073846
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2c276e;
/* rgb */ color: rgb(44, 39, 110);
/* oklch */ color: oklch(32.5% 0.119 280.6);
Tailwind
colors: {
  custom: {
    50: '#6d6198',
    500: '#2c276e',
    950: '#000000',
  },
}
SCSS
$custom: #2c276e;
$custom-light: #6d6198;
$custom-dark: #000000;
JSON
{
  "hex": "#2c276e",
  "rgb": {
    "r": 44,
    "g": 39,
    "b": 110
  },
  "hsl": {
    "h": 244.225,
    "s": 47.651,
    "l": 29.216
  },
  "oklch": {
    "l": 0.32473,
    "c": 0.11877,
    "h": 280.6
  },
  "luminance": 0.03112
}

Semantic roles & 50–950 ramp

primary
#2C276E
secondary
#9BA150
accent
#D751CE
background
#F6F5F9
surface
#ECEAF2
border
#C7C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #2C276E

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

Preview Lab → · Contrast checker → · Palette generator →

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