#2C295F#2C295F

#2C295F is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.6% C 0.093 H 282.2°. Best body text is #FFFFFF at 13.21:1 contrast (WCAG AA passes).

Color values

HEX#2C295F
RGBrgb(44, 41, 95)
HSLhsl(243, 40%, 27%)
HSVhsv(243, 57%, 37%)
CMYKcmyk(53.7%, 56.8%, 0%, 62.7%)
CIE-LABlab(19.83, 17.96, -31.90)
CIE-LCHlch(19.83, 36.60, 299.38°)
OKLaboklab(31.61% 0.0196 -0.091)
OKLCHoklch(31.61% 0.093 282.2)
XYZxyz(3.8966, 2.9474, 11.1878)
Luminance0.0295 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C295F #5C5F29
analogous
#29415F #2C295F #47295F
triadic
#2C295F #5F2C29 #295F2C
tetradic
#2C295F #5F2941 #5C5F29 #295F47
square
#2C295F #5F2941 #5C5F29 #295F47
split-complementary
#2C295F #5F4729 #415F29
monochromatic
#0A0915 #181734 #2C295F #403B8A #554FB3

Accessibility & contrast

On white

13.21
#2C295F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C295F
13.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C295F#FFFFFF#000000##FFFFFF
##2C295F1.0013.211.5913.21
#FFFFFF13.211.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C3261
Deuteranopia (green-blind)
#072E5E
Tritanopia (blue-blind)
#19353F
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2c295f;
/* rgb */ color: rgb(44, 41, 95);
/* oklch */ color: oklch(31.6% 0.093 282.2);
Tailwind
colors: {
  custom: {
    50: '#6a628d',
    500: '#2c295f',
    950: '#000000',
  },
}
SCSS
$custom: #2c295f;
$custom-light: #6a628d;
$custom-dark: #000000;
JSON
{
  "hex": "#2c295f",
  "rgb": {
    "r": 44,
    "g": 41,
    "b": 95
  },
  "hsl": {
    "h": 243.333,
    "s": 39.706,
    "l": 26.667
  },
  "oklch": {
    "l": 0.31611,
    "c": 0.0931,
    "h": 282.2
  },
  "luminance": 0.02948
}

Semantic roles & 50–950 ramp

primary
#2C295F
secondary
#8E9252
accent
#D058C9
background
#F6F5F8
surface
#EBEAF0
border
#C6C6CB
text
#07050C
muted
#7A797D

Preview Lab

Preview with #2C295F

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

Preview Lab → · Contrast checker → · Palette generator →

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