#2C2B9B#2C2B9B

#2C2B9B is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.5% C 0.175 H 274.3°. Best body text is #FFFFFF at 10.90:1 contrast (WCAG AA passes).

Color values

HEX#2C2B9B
RGBrgb(44, 43, 155)
HSLhsl(241, 57%, 39%)
HSVhsv(241, 72%, 61%)
CMYKcmyk(71.6%, 72.3%, 0%, 39.2%)
CIE-LABlab(25.65, 37.91, -60.44)
CIE-LCHlch(25.65, 71.35, 302.10°)
OKLaboklab(37.51% 0.0132 -0.1747)
OKLCHoklch(37.51% 0.175 274.3)
XYZxyz(7.8170, 4.6290, 31.4855)
Luminance0.0463 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2B9B #9A9B2B
analogous
#2B629B #2C2B9B #642B9B
triadic
#2C2B9B #9B2C2B #2B9B2C
tetradic
#2C2B9B #9B2B62 #9A9B2B #2B9B64
square
#2C2B9B #9B2B62 #9A9B2B #2B9B64
split-complementary
#2C2B9B #9B642B #629B2B
monochromatic
#11103B #1E1E6B #2C2B9B #3C3BC9 #6C6BD6

Accessibility & contrast

On white

10.90
#2C2B9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#2C2B9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2B9B
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2B9B#FFFFFF#000000##FFFFFF
##2C2B9B1.0010.901.9310.90
#FFFFFF10.901.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429E
Deuteranopia (green-blind)
#003799
Tritanopia (blue-blind)
#004A60
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2c2b9b;
/* rgb */ color: rgb(44, 43, 155);
/* oklch */ color: oklch(37.5% 0.175 274.3);
Tailwind
colors: {
  custom: {
    50: '#7665ba',
    500: '#2c2b9b',
    950: '#000000',
  },
}
SCSS
$custom: #2c2b9b;
$custom-light: #7665ba;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2b9b",
  "rgb": {
    "r": 44,
    "g": 43,
    "b": 155
  },
  "hsl": {
    "h": 240.536,
    "s": 56.566,
    "l": 38.824
  },
  "oklch": {
    "l": 0.37505,
    "c": 0.17525,
    "h": 274.3
  },
  "luminance": 0.0463
}

Semantic roles & 50–950 ramp

primary
#2C2B9B
secondary
#BCBC65
accent
#E048DE
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2C2B9B

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

Preview Lab → · Contrast checker → · Palette generator →

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