#2D2C8B#2D2C8B

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

Color values

HEX#2D2C8B
RGBrgb(45, 44, 139)
HSLhsl(241, 52%, 36%)
HSVhsv(241, 68%, 55%)
CMYKcmyk(67.6%, 68.3%, 0%, 45.5%)
CIE-LABlab(24.39, 31.83, -52.64)
CIE-LCHlch(24.39, 61.51, 301.16°)
OKLaboklab(36.15% 0.016 -0.1519)
OKLCHoklch(36.15% 0.153 276)
XYZxyz(6.6415, 4.2228, 24.8862)
Luminance0.0422 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2C8B #8A8B2C
analogous
#2C5A8B #2D2C8B #5C2C8B
triadic
#2D2C8B #8B2D2C #2C8B2D
tetradic
#2D2C8B #8B2C5A #8A8B2C #2C8B5C
square
#2D2C8B #8B2C5A #8A8B2C #2C8B5C
split-complementary
#2D2C8B #8B5C2C #5A8B2C
monochromatic
#0F0F2E #1E1D5D #2D2C8B #3C3BB9 #6564CE

Accessibility & contrast

On white

11.38
#2D2C8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D2C8B
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2C8B#FFFFFF#000000##FFFFFF
##2D2C8B1.0011.381.8411.38
#FFFFFF11.381.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8E
Deuteranopia (green-blind)
#003689
Tritanopia (blue-blind)
#004557
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2d2c8b;
/* rgb */ color: rgb(45, 44, 139);
/* oklch */ color: oklch(36.1% 0.153 276.0);
Tailwind
colors: {
  custom: {
    50: '#7365ae',
    500: '#2d2c8b',
    950: '#000000',
  },
}
SCSS
$custom: #2d2c8b;
$custom-light: #7365ae;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2c8b",
  "rgb": {
    "r": 45,
    "g": 44,
    "b": 139
  },
  "hsl": {
    "h": 240.632,
    "s": 51.913,
    "l": 35.882
  },
  "oklch": {
    "l": 0.36146,
    "c": 0.15275,
    "h": 276
  },
  "luminance": 0.04223
}

Semantic roles & 50–950 ramp

primary
#2D2C8B
secondary
#B3B45F
accent
#DB4CDA
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #2D2C8B

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

Preview Lab → · Contrast checker → · Palette generator →

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