#2D2CBB#2D2CBB

#2D2CBB is a dark, highly saturated blue. Relative luminance 0.059; OKLCH L 41.1% C 0.213 H 272.2°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#2D2CBB
RGBrgb(45, 44, 187)
HSLhsl(240, 62%, 45%)
HSVhsv(240, 76%, 73%)
CMYKcmyk(75.9%, 76.5%, 0%, 26.7%)
CIE-LABlab(29.28, 48.14, -73.70)
CIE-LCHlch(29.28, 88.03, 303.15°)
OKLaboklab(41.1% 0.0081 -0.2133)
OKLCHoklch(41.1% 0.213 272.2)
XYZxyz(10.9495, 5.9459, 47.5747)
Luminance0.0595 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2CBB #BABB2C
analogous
#2C72BB #2D2CBB #752CBB
triadic
#2D2CBB #BB2D2C #2CBB2D
tetradic
#2D2CBB #BB2C72 #BABB2C #2CBB75
square
#2D2CBB #BB2C72 #BABB2C #2CBB75
split-complementary
#2D2CBB #BB752C #72BB2C
monochromatic
#151558 #212089 #2D2CBB #504FD6 #8180E1

Accessibility & contrast

On white

9.59
#2D2CBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#2D2CBB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2CBB
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2CBB#FFFFFF#000000##FFFFFF
##2D2CBB1.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CBF
Deuteranopia (green-blind)
#003EB9
Tritanopia (blue-blind)
#005772
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2d2cbb;
/* rgb */ color: rgb(45, 44, 187);
/* oklch */ color: oklch(41.1% 0.213 272.2);
Tailwind
colors: {
  custom: {
    50: '#7e68d1',
    500: '#2d2cbb',
    950: '#000000',
  },
}
SCSS
$custom: #2d2cbb;
$custom-light: #7e68d1;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2cbb",
  "rgb": {
    "r": 45,
    "g": 44,
    "b": 187
  },
  "hsl": {
    "h": 240.42,
    "s": 61.905,
    "l": 45.294
  },
  "oklch": {
    "l": 0.41096,
    "c": 0.21348,
    "h": 272.2
  },
  "luminance": 0.05947
}

Semantic roles & 50–950 ramp

primary
#2D2CBB
secondary
#C9CA79
accent
#E543E4
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #2D2CBB

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

Preview Lab → · Contrast checker → · Palette generator →

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