#2C296F#2C296F

#2C296F is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.9% C 0.117 H 279.7°. Best body text is #FFFFFF at 12.70:1 contrast (WCAG AA passes).

Color values

HEX#2C296F
RGBrgb(44, 41, 111)
HSLhsl(243, 46%, 30%)
HSVhsv(243, 63%, 44%)
CMYKcmyk(60.4%, 63.1%, 0%, 56.5%)
CIE-LABlab(21.09, 23.65, -40.30)
CIE-LCHlch(21.09, 46.73, 300.41°)
OKLaboklab(32.94% 0.0198 -0.1157)
OKLCHoklch(32.94% 0.117 279.7)
XYZxyz(4.7000, 3.2687, 15.4191)
Luminance0.0327 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C296F #6C6F29
analogous
#29496F #2C296F #4F296F
triadic
#2C296F #6F2C29 #296F2C
tetradic
#2C296F #6F2949 #6C6F29 #296F4F
square
#2C296F #6F2949 #6C6F29 #296F4F
split-complementary
#2C296F #6F4F29 #496F29
monochromatic
#090816 #1A1842 #2C296F #3E3A9C #5853BF

Accessibility & contrast

On white

12.70
#2C296F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#2C296F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C296F
12.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C296F#FFFFFF#000000##FFFFFF
##2C296F1.0012.701.6512.70
#FFFFFF12.701.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003571
Deuteranopia (green-blind)
#00306E
Tritanopia (blue-blind)
#053A47
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2c296f;
/* rgb */ color: rgb(44, 41, 111);
/* oklch */ color: oklch(32.9% 0.117 279.7);
Tailwind
colors: {
  custom: {
    50: '#6d6399',
    500: '#2c296f',
    950: '#000000',
  },
}
SCSS
$custom: #2c296f;
$custom-light: #6d6399;
$custom-dark: #000000;
JSON
{
  "hex": "#2c296f",
  "rgb": {
    "r": 44,
    "g": 41,
    "b": 111
  },
  "hsl": {
    "h": 242.571,
    "s": 46.053,
    "l": 29.804
  },
  "oklch": {
    "l": 0.32942,
    "c": 0.11741,
    "h": 279.7
  },
  "luminance": 0.03269
}

Semantic roles & 50–950 ramp

primary
#2C296F
secondary
#9EA153
accent
#D652D0
background
#F6F5F9
surface
#ECEAF2
border
#C7C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #2C296F

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

Preview Lab → · Contrast checker → · Palette generator →

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