#2D2C8D#2D2C8D

#2D2C8D is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.3% C 0.155 H 275.8°. Best body text is #FFFFFF at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#2D2C8D
RGBrgb(45, 44, 141)
HSLhsl(241, 52%, 36%)
HSVhsv(241, 69%, 55%)
CMYKcmyk(68.1%, 68.8%, 0%, 44.7%)
CIE-LABlab(24.58, 32.53, -53.57)
CIE-LCHlch(24.58, 62.68, 301.27°)
OKLaboklab(36.34% 0.0158 -0.1546)
OKLCHoklch(36.34% 0.155 275.8)
XYZxyz(6.7890, 4.2817, 25.6628)
Luminance0.0428 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2C8D #8C8D2C
analogous
#2C5C8D #2D2C8D #5E2C8D
triadic
#2D2C8D #8D2D2C #2C8D2D
tetradic
#2D2C8D #8D2C5C #8C8D2C #2C8D5E
square
#2D2C8D #8D2C5C #8C8D2C #2C8D5E
split-complementary
#2D2C8D #8D5E2C #5C8D2C
monochromatic
#0F0F30 #1E1D5E #2D2C8D #3C3BBC #6665CF

Accessibility & contrast

On white

11.31
#2D2C8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#2D2C8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2C8D
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2C8D#FFFFFF#000000##FFFFFF
##2D2C8D1.0011.311.8611.31
#FFFFFF11.311.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F90
Deuteranopia (green-blind)
#00368B
Tritanopia (blue-blind)
#004658
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2d2c8d;
/* rgb */ color: rgb(45, 44, 141);
/* oklch */ color: oklch(36.3% 0.155 275.8);
Tailwind
colors: {
  custom: {
    50: '#7366af',
    500: '#2d2c8d',
    950: '#000000',
  },
}
SCSS
$custom: #2d2c8d;
$custom-light: #7366af;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2c8d",
  "rgb": {
    "r": 45,
    "g": 44,
    "b": 141
  },
  "hsl": {
    "h": 240.619,
    "s": 52.432,
    "l": 36.275
  },
  "oklch": {
    "l": 0.36339,
    "c": 0.15545,
    "h": 275.8
  },
  "luminance": 0.04282
}

Semantic roles & 50–950 ramp

primary
#2D2C8D
secondary
#B4B560
accent
#DC4CDA
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #2D2C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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