#2C239C#2C239C

#2C239C is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.4% C 0.185 H 275.4°. Best body text is #FFFFFF at 11.49:1 contrast (WCAG AA passes).

Color values

HEX#2C239C
RGBrgb(44, 35, 156)
HSLhsl(244, 63%, 37%)
HSVhsv(244, 78%, 61%)
CMYKcmyk(71.8%, 77.6%, 0%, 38.8%)
CIE-LABlab(24.12, 42.84, -63.58)
CIE-LCHlch(24.12, 76.67, 303.97°)
OKLaboklab(36.45% 0.0174 -0.1838)
OKLCHoklch(36.45% 0.185 275.4)
XYZxyz(7.6385, 4.1371, 31.8420)
Luminance0.0414 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C239C #939C23
analogous
#23569C #2C239C #69239C
triadic
#2C239C #9C2C23 #239C2C
tetradic
#2C239C #9C2356 #939C23 #239C69
square
#2C239C #9C2356 #939C23 #239C69
split-complementary
#2C239C #9C6923 #569C23
monochromatic
#100D38 #1E186A #2C239C #3A2ECE #685EDB

Accessibility & contrast

On white

11.49
#2C239C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#2C239C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C239C
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C239C#FFFFFF#000000##FFFFFF
##2C239C1.0011.491.8311.49
#FFFFFF11.491.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F9F
Deuteranopia (green-blind)
#00349A
Tritanopia (blue-blind)
#00475E
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2c239c;
/* rgb */ color: rgb(44, 35, 156);
/* oklch */ color: oklch(36.4% 0.185 275.4);
Tailwind
colors: {
  custom: {
    50: '#7760ba',
    500: '#2c239c',
    950: '#000000',
  },
}
SCSS
$custom: #2c239c;
$custom-light: #7760ba;
$custom-dark: #000000;
JSON
{
  "hex": "#2c239c",
  "rgb": {
    "r": 44,
    "g": 35,
    "b": 156
  },
  "hsl": {
    "h": 244.463,
    "s": 63.351,
    "l": 37.451
  },
  "oklch": {
    "l": 0.3645,
    "c": 0.18466,
    "h": 275.4
  },
  "luminance": 0.04138
}

Semantic roles & 50–950 ramp

primary
#2C239C
secondary
#B8C05B
accent
#E641DA
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2C239C

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

Preview Lab → · Contrast checker → · Palette generator →

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