#2C2B8A#2C2B8A

#2C2B8A is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.8% C 0.153 H 275.9°. Best body text is #FFFFFF at 11.54:1 contrast (WCAG AA passes).

Color values

HEX#2C2B8A
RGBrgb(44, 43, 138)
HSLhsl(241, 52%, 35%)
HSVhsv(241, 69%, 54%)
CMYKcmyk(68.1%, 68.8%, 0%, 45.9%)
CIE-LABlab(23.99, 31.97, -52.68)
CIE-LCHlch(23.99, 61.62, 301.26°)
OKLaboklab(35.81% 0.0157 -0.152)
OKLCHoklch(35.81% 0.153 275.9)
XYZxyz(6.4885, 4.0976, 24.4888)
Luminance0.0410 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2B8A #898A2B
analogous
#2B598A #2C2B8A #5C2B8A
triadic
#2C2B8A #8A2C2B #2B8A2C
tetradic
#2C2B8A #8A2B59 #898A2B #2B8A5C
square
#2C2B8A #8A2B59 #898A2B #2B8A5C
split-complementary
#2C2B8A #8A5C2B #598A2B
monochromatic
#0E0E2D #1D1C5B #2C2B8A #3B3AB9 #6361CE

Accessibility & contrast

On white

11.54
#2C2B8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#2C2B8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2B8A
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2B8A#FFFFFF#000000##FFFFFF
##2C2B8A1.0011.541.8211.54
#FFFFFF11.541.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8D
Deuteranopia (green-blind)
#003588
Tritanopia (blue-blind)
#004456
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2c2b8a;
/* rgb */ color: rgb(44, 43, 138);
/* oklch */ color: oklch(35.8% 0.153 275.9);
Tailwind
colors: {
  custom: {
    50: '#7265ad',
    500: '#2c2b8a',
    950: '#000000',
  },
}
SCSS
$custom: #2c2b8a;
$custom-light: #7265ad;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2b8a",
  "rgb": {
    "r": 44,
    "g": 43,
    "b": 138
  },
  "hsl": {
    "h": 240.632,
    "s": 52.486,
    "l": 35.49
  },
  "oklch": {
    "l": 0.35806,
    "c": 0.15285,
    "h": 275.9
  },
  "luminance": 0.04098
}

Semantic roles & 50–950 ramp

primary
#2C2B8A
secondary
#B3B45D
accent
#DC4CDA
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090510
muted
#7B7A7F

Preview Lab

Preview with #2C2B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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