#2D2C8C#2D2C8C

#2D2C8C is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.2% C 0.154 H 275.9°. Best body text is #FFFFFF at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#2D2C8C
RGBrgb(45, 44, 140)
HSLhsl(241, 52%, 36%)
HSVhsv(241, 69%, 55%)
CMYKcmyk(67.9%, 68.6%, 0%, 45.1%)
CIE-LABlab(24.49, 32.18, -53.11)
CIE-LCHlch(24.49, 62.09, 301.22°)
OKLaboklab(36.24% 0.0159 -0.1533)
OKLCHoklch(36.24% 0.154 275.9)
XYZxyz(6.7149, 4.2521, 25.2727)
Luminance0.0425 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2C8C #8B8C2C
analogous
#2C5B8C #2D2C8C #5D2C8C
triadic
#2D2C8C #8C2D2C #2C8C2D
tetradic
#2D2C8C #8C2C5B #8B8C2C #2C8C5D
square
#2D2C8C #8C2C5B #8B8C2C #2C8C5D
split-complementary
#2D2C8C #8C5D2C #5B8C2C
monochromatic
#0F0F2F #1E1D5D #2D2C8C #3C3BBB #6564CE

Accessibility & contrast

On white

11.35
#2D2C8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#2D2C8C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2C8C
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2C8C#FFFFFF#000000##FFFFFF
##2D2C8C1.0011.351.8511.35
#FFFFFF11.351.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8F
Deuteranopia (green-blind)
#00368A
Tritanopia (blue-blind)
#004558
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2d2c8c;
/* rgb */ color: rgb(45, 44, 140);
/* oklch */ color: oklch(36.2% 0.154 275.9);
Tailwind
colors: {
  custom: {
    50: '#7366af',
    500: '#2d2c8c',
    950: '#000000',
  },
}
SCSS
$custom: #2d2c8c;
$custom-light: #7366af;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2c8c",
  "rgb": {
    "r": 45,
    "g": 44,
    "b": 140
  },
  "hsl": {
    "h": 240.625,
    "s": 52.174,
    "l": 36.078
  },
  "oklch": {
    "l": 0.36242,
    "c": 0.1541,
    "h": 275.9
  },
  "luminance": 0.04253
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D2C8C

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

Preview Lab → · Contrast checker → · Palette generator →

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