#2C236A#2C236A

#2C236A is a dark, moderate blue. Relative luminance 0.028; OKLCH L 31.4% C 0.119 H 282.9°. Best body text is #FFFFFF at 13.50:1 contrast (WCAG AA passes).

Color values

HEX#2C236A
RGBrgb(44, 35, 106)
HSLhsl(248, 50%, 28%)
HSVhsv(248, 67%, 42%)
CMYKcmyk(58.5%, 67%, 0%, 58.4%)
CIE-LABlab(19.13, 25.91, -40.24)
CIE-LCHlch(19.13, 47.86, 302.77°)
OKLaboklab(31.37% 0.0265 -0.1156)
OKLCHoklch(31.37% 0.119 282.9)
XYZxyz(4.2405, 2.7779, 13.9456)
Luminance0.0278 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C236A #616A23
analogous
#233D6A #2C236A #50236A
triadic
#2C236A #6A2C23 #236A2C
tetradic
#2C236A #6A233D #616A23 #236A50
square
#2C236A #6A233D #616A23 #236A50
split-complementary
#2C236A #6A5023 #3D6A23
monochromatic
#0A0817 #19143C #2C236A #3F3298 #5546C2

Accessibility & contrast

On white

13.50
#2C236A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#2C236A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C236A
13.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C236A#FFFFFF#000000##FFFFFF
##2C236A1.0013.501.5613.50
#FFFFFF13.501.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00316C
Deuteranopia (green-blind)
#002C69
Tritanopia (blue-blind)
#0E3443
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #2c236a;
/* rgb */ color: rgb(44, 35, 106);
/* oklch */ color: oklch(31.4% 0.119 282.9);
Tailwind
colors: {
  custom: {
    50: '#6c5e95',
    500: '#2c236a',
    950: '#000000',
  },
}
SCSS
$custom: #2c236a;
$custom-light: #6c5e95;
$custom-dark: #000000;
JSON
{
  "hex": "#2c236a",
  "rgb": {
    "r": 44,
    "g": 35,
    "b": 106
  },
  "hsl": {
    "h": 247.606,
    "s": 50.355,
    "l": 27.647
  },
  "oklch": {
    "l": 0.31374,
    "c": 0.1186,
    "h": 282.9
  },
  "luminance": 0.02778
}

Semantic roles & 50–950 ramp

primary
#2C236A
secondary
#939D4B
accent
#DA4EC8
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040D
muted
#7A797E

Preview Lab

Preview with #2C236A

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

Preview Lab → · Contrast checker → · Palette generator →

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