#2C2B9A#2C2B9A

#2C2B9A is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.4% C 0.174 H 274.4°. Best body text is #FFFFFF at 10.94:1 contrast (WCAG AA passes).

Color values

HEX#2C2B9A
RGBrgb(44, 43, 154)
HSLhsl(241, 56%, 39%)
HSVhsv(241, 72%, 60%)
CMYKcmyk(71.4%, 72.1%, 0%, 39.6%)
CIE-LABlab(25.55, 37.57, -60.00)
CIE-LCHlch(25.55, 70.79, 302.05°)
OKLaboklab(37.4% 0.0134 -0.1734)
OKLCHoklch(37.4% 0.174 274.4)
XYZxyz(7.7334, 4.5956, 31.0451)
Luminance0.0460 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2B9A #999A2B
analogous
#2B619A #2C2B9A #632B9A
triadic
#2C2B9A #9A2C2B #2B9A2C
tetradic
#2C2B9A #9A2B61 #999A2B #2B9A63
square
#2C2B9A #9A2B61 #999A2B #2B9A63
split-complementary
#2C2B9A #9A632B #619A2B
monochromatic
#11103A #1E1E6A #2C2B9A #3B3AC8 #6B6AD5

Accessibility & contrast

On white

10.94
#2C2B9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#2C2B9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2B9A
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2B9A#FFFFFF#000000##FFFFFF
##2C2B9A1.0010.941.9210.94
#FFFFFF10.941.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429D
Deuteranopia (green-blind)
#003798
Tritanopia (blue-blind)
#004A5F
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2c2b9a;
/* rgb */ color: rgb(44, 43, 154);
/* oklch */ color: oklch(37.4% 0.174 274.4);
Tailwind
colors: {
  custom: {
    50: '#7665b9',
    500: '#2c2b9a',
    950: '#000000',
  },
}
SCSS
$custom: #2c2b9a;
$custom-light: #7665b9;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2b9a",
  "rgb": {
    "r": 44,
    "g": 43,
    "b": 154
  },
  "hsl": {
    "h": 240.541,
    "s": 56.345,
    "l": 38.627
  },
  "oklch": {
    "l": 0.37402,
    "c": 0.17396,
    "h": 274.4
  },
  "luminance": 0.04596
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C2B9A

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

Preview Lab → · Contrast checker → · Palette generator →

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