#2C2B8D#2C2B8D

#2C2B8D is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.1% C 0.157 H 275.6°. Best body text is #FFFFFF at 11.43:1 contrast (WCAG AA passes).

Color values

HEX#2C2B8D
RGBrgb(44, 43, 141)
HSLhsl(241, 53%, 36%)
HSVhsv(241, 70%, 55%)
CMYKcmyk(68.8%, 69.5%, 0%, 44.7%)
CIE-LABlab(24.28, 33.03, -54.08)
CIE-LCHlch(24.28, 63.37, 301.42°)
OKLaboklab(36.1% 0.0153 -0.1561)
OKLCHoklch(36.1% 0.157 275.6)
XYZxyz(6.7087, 4.1857, 25.6485)
Luminance0.0419 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2B8D #8C8D2B
analogous
#2B5B8D #2C2B8D #5D2B8D
triadic
#2C2B8D #8D2C2B #2B8D2C
tetradic
#2C2B8D #8D2B5B #8C8D2B #2B8D5D
square
#2C2B8D #8D2B5B #8C8D2B #2B8D5D
split-complementary
#2C2B8D #8D5D2B #5B8D2B
monochromatic
#0F0E2F #1D1D5E #2C2B8D #3B39BC #6463CF

Accessibility & contrast

On white

11.43
#2C2B8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#2C2B8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2B8D
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2B8D#FFFFFF#000000##FFFFFF
##2C2B8D1.0011.431.8411.43
#FFFFFF11.431.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E90
Deuteranopia (green-blind)
#00358B
Tritanopia (blue-blind)
#004558
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2c2b8d;
/* rgb */ color: rgb(44, 43, 141);
/* oklch */ color: oklch(36.1% 0.157 275.6);
Tailwind
colors: {
  custom: {
    50: '#7365af',
    500: '#2c2b8d',
    950: '#000000',
  },
}
SCSS
$custom: #2c2b8d;
$custom-light: #7365af;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2b8d",
  "rgb": {
    "r": 44,
    "g": 43,
    "b": 141
  },
  "hsl": {
    "h": 240.612,
    "s": 53.261,
    "l": 36.078
  },
  "oklch": {
    "l": 0.36099,
    "c": 0.15689,
    "h": 275.6
  },
  "luminance": 0.04186
}

Semantic roles & 50–950 ramp

primary
#2C2B8D
secondary
#B5B65E
accent
#DD4BDB
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090510
muted
#7B7A7F

Preview Lab

Preview with #2C2B8D

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

Preview Lab → · Contrast checker → · Palette generator →

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