#2C296C#2C296C

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

Color values

HEX#2C296C
RGBrgb(44, 41, 108)
HSLhsl(243, 45%, 29%)
HSVhsv(243, 62%, 42%)
CMYKcmyk(59.3%, 62%, 0%, 57.6%)
CIE-LABlab(20.84, 22.58, -38.76)
CIE-LCHlch(20.84, 44.86, 300.22°)
OKLaboklab(32.68% 0.0199 -0.1112)
OKLCHoklch(32.68% 0.113 280.1)
XYZxyz(4.5376, 3.2038, 14.5637)
Luminance0.0320 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C296C #696C29
analogous
#29486C #2C296C #4E296C
triadic
#2C296C #6C2C29 #296C2C
tetradic
#2C296C #6C2948 #696C29 #296C4E
square
#2C296C #6C2948 #696C29 #296C4E
split-complementary
#2C296C #6C4E29 #486C29
monochromatic
#090816 #1A1840 #2C296C #3E3A98 #5752BD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C296C#FFFFFF#000000##FFFFFF
##2C296C1.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)
#00356E
Deuteranopia (green-blind)
#00306B
Tritanopia (blue-blind)
#0A3946
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2c296c;
/* rgb */ color: rgb(44, 41, 108);
/* oklch */ color: oklch(32.7% 0.113 280.1);
Tailwind
colors: {
  custom: {
    50: '#6c6397',
    500: '#2c296c',
    950: '#000000',
  },
}
SCSS
$custom: #2c296c;
$custom-light: #6c6397;
$custom-dark: #000000;
JSON
{
  "hex": "#2c296c",
  "rgb": {
    "r": 44,
    "g": 41,
    "b": 108
  },
  "hsl": {
    "h": 242.687,
    "s": 44.966,
    "l": 29.216
  },
  "oklch": {
    "l": 0.32682,
    "c": 0.11297,
    "h": 280.1
  },
  "luminance": 0.03204
}

Semantic roles & 50–950 ramp

primary
#2C296C
secondary
#9B9E53
accent
#D553CF
background
#F6F5F9
surface
#ECEAF2
border
#C7C6CC
text
#07050D
muted
#7A797E

Preview Lab

Preview with #2C296C

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

Preview Lab → · Contrast checker → · Palette generator →

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