#2C296E#2C296E

#2C296E is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.9% C 0.116 H 279.8°. Best body text is #FFFFFF at 12.73:1 contrast (WCAG AA passes).

Color values

HEX#2C296E
RGBrgb(44, 41, 110)
HSLhsl(243, 46%, 30%)
HSVhsv(243, 63%, 43%)
CMYKcmyk(60%, 62.7%, 0%, 56.9%)
CIE-LABlab(21.01, 23.30, -39.79)
CIE-LCHlch(21.01, 46.11, 300.35°)
OKLaboklab(32.86% 0.0198 -0.1142)
OKLCHoklch(32.86% 0.116 279.8)
XYZxyz(4.6452, 3.2468, 15.1307)
Luminance0.0325 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C296E #6B6E29
analogous
#29496E #2C296E #4F296E
triadic
#2C296E #6E2C29 #296E2C
tetradic
#2C296E #6E2949 #6B6E29 #296E4F
square
#2C296E #6E2949 #6B6E29 #296E4F
split-complementary
#2C296E #6E4F29 #496E29
monochromatic
#090816 #1A1841 #2C296E #3E3A9B #5753BF

Accessibility & contrast

On white

12.73
#2C296E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C296E
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C296E#FFFFFF#000000##FFFFFF
##2C296E1.0012.731.6512.73
#FFFFFF12.731.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003570
Deuteranopia (green-blind)
#00306D
Tritanopia (blue-blind)
#073A47
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2c296e;
/* rgb */ color: rgb(44, 41, 110);
/* oklch */ color: oklch(32.9% 0.116 279.8);
Tailwind
colors: {
  custom: {
    50: '#6c6398',
    500: '#2c296e',
    950: '#000000',
  },
}
SCSS
$custom: #2c296e;
$custom-light: #6c6398;
$custom-dark: #000000;
JSON
{
  "hex": "#2c296e",
  "rgb": {
    "r": 44,
    "g": 41,
    "b": 110
  },
  "hsl": {
    "h": 242.609,
    "s": 45.695,
    "l": 29.608
  },
  "oklch": {
    "l": 0.32855,
    "c": 0.11593,
    "h": 279.8
  },
  "luminance": 0.03247
}

Semantic roles & 50–950 ramp

primary
#2C296E
secondary
#9DA053
accent
#D552D0
background
#F6F5F9
surface
#ECEAF2
border
#C7C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #2C296E

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

Preview Lab → · Contrast checker → · Palette generator →

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