#2C295E#2C295E

#2C295E is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.5% C 0.092 H 282.3°. Best body text is #FFFFFF at 13.24:1 contrast (WCAG AA passes).

Color values

HEX#2C295E
RGBrgb(44, 41, 94)
HSLhsl(243, 39%, 26%)
HSVhsv(243, 56%, 37%)
CMYKcmyk(53.2%, 56.4%, 0%, 63.1%)
CIE-LABlab(19.76, 17.61, -31.35)
CIE-LCHlch(19.76, 35.96, 299.31°)
OKLaboklab(31.53% 0.0196 -0.0894)
OKLCHoklch(31.53% 0.092 282.3)
XYZxyz(3.8514, 2.9293, 10.9500)
Luminance0.0293 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C295E #5B5E29
analogous
#29415E #2C295E #47295E
triadic
#2C295E #5E2C29 #295E2C
tetradic
#2C295E #5E2941 #5B5E29 #295E47
square
#2C295E #5E2941 #5B5E29 #295E47
split-complementary
#2C295E #5E4729 #415E29
monochromatic
#0A0915 #181633 #2C295E #403C89 #554FB2

Accessibility & contrast

On white

13.24
#2C295E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#2C295E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C295E
13.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C295E#FFFFFF#000000##FFFFFF
##2C295E1.0013.241.5913.24
#FFFFFF13.241.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E3260
Deuteranopia (green-blind)
#092E5D
Tritanopia (blue-blind)
#19353F
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2c295e;
/* rgb */ color: rgb(44, 41, 94);
/* oklch */ color: oklch(31.5% 0.092 282.3);
Tailwind
colors: {
  custom: {
    50: '#69628c',
    500: '#2c295e',
    950: '#000000',
  },
}
SCSS
$custom: #2c295e;
$custom-light: #69628c;
$custom-dark: #000000;
JSON
{
  "hex": "#2c295e",
  "rgb": {
    "r": 44,
    "g": 41,
    "b": 94
  },
  "hsl": {
    "h": 243.396,
    "s": 39.259,
    "l": 26.471
  },
  "oklch": {
    "l": 0.31532,
    "c": 0.09153,
    "h": 282.3
  },
  "luminance": 0.0293
}

Semantic roles & 50–950 ramp

primary
#2C295E
secondary
#8D9152
accent
#CF59C8
background
#F6F5F8
surface
#EBEAF0
border
#C6C6CB
text
#07050C
muted
#7A797D

Preview Lab

Preview with #2C295E

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

Preview Lab → · Contrast checker → · Palette generator →

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