#2C2B8B#2C2B8B

#2C2B8B is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.9% C 0.154 H 275.8°. Best body text is #FFFFFF at 11.50:1 contrast (WCAG AA passes).

Color values

HEX#2C2B8B
RGBrgb(44, 43, 139)
HSLhsl(241, 53%, 36%)
HSVhsv(241, 69%, 55%)
CMYKcmyk(68.3%, 69.1%, 0%, 45.5%)
CIE-LABlab(24.09, 32.33, -53.14)
CIE-LCHlch(24.09, 62.20, 301.31°)
OKLaboklab(35.9% 0.0155 -0.1534)
OKLCHoklch(35.9% 0.154 275.8)
XYZxyz(6.5613, 4.1267, 24.8719)
Luminance0.0413 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2B8B #8A8B2B
analogous
#2B5A8B #2C2B8B #5C2B8B
triadic
#2C2B8B #8B2C2B #2B8B2C
tetradic
#2C2B8B #8B2B5A #8A8B2B #2B8B5C
square
#2C2B8B #8B2B5A #8A8B2B #2B8B5C
split-complementary
#2C2B8B #8B5C2B #5A8B2B
monochromatic
#0E0E2E #1D1D5C #2C2B8B #3B39BA #6362CE

Accessibility & contrast

On white

11.50
#2C2B8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C2B8B
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2B8B#FFFFFF#000000##FFFFFF
##2C2B8B1.0011.501.8311.50
#FFFFFF11.501.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8E
Deuteranopia (green-blind)
#003589
Tritanopia (blue-blind)
#004457
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2c2b8b;
/* rgb */ color: rgb(44, 43, 139);
/* oklch */ color: oklch(35.9% 0.154 275.8);
Tailwind
colors: {
  custom: {
    50: '#7265ae',
    500: '#2c2b8b',
    950: '#000000',
  },
}
SCSS
$custom: #2c2b8b;
$custom-light: #7265ae;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2b8b",
  "rgb": {
    "r": 44,
    "g": 43,
    "b": 139
  },
  "hsl": {
    "h": 240.625,
    "s": 52.747,
    "l": 35.686
  },
  "oklch": {
    "l": 0.35904,
    "c": 0.1542,
    "h": 275.8
  },
  "luminance": 0.04127
}

Semantic roles & 50–950 ramp

primary
#2C2B8B
secondary
#B4B55D
accent
#DC4CDB
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090510
muted
#7B7A7F

Preview Lab

Preview with #2C2B8B

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

Preview Lab → · Contrast checker → · Palette generator →

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