#2D2CB7#2D2CB7

#2D2CB7 is a dark, highly saturated blue. Relative luminance 0.058; OKLCH L 40.7% C 0.209 H 272.4°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#2D2CB7
RGBrgb(45, 44, 183)
HSLhsl(240, 61%, 45%)
HSVhsv(240, 76%, 72%)
CMYKcmyk(75.4%, 76%, 0%, 28.2%)
CIE-LABlab(28.84, 46.83, -72.05)
CIE-LCHlch(28.84, 85.93, 303.02°)
OKLaboklab(40.66% 0.0089 -0.2085)
OKLCHoklch(40.66% 0.209 272.4)
XYZxyz(10.5272, 5.7770, 45.3508)
Luminance0.0578 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2CB7 #B6B72C
analogous
#2C70B7 #2D2CB7 #732CB7
triadic
#2D2CB7 #B72D2C #2CB72D
tetradic
#2D2CB7 #B72C70 #B6B72C #2CB773
square
#2D2CB7 #B72C70 #B6B72C #2CB773
split-complementary
#2D2CB7 #B7732C #70B72C
monochromatic
#151454 #212086 #2D2CB7 #4D4CD4 #7E7EE0

Accessibility & contrast

On white

9.74
#2D2CB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#2D2CB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2CB7
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2CB7#FFFFFF#000000##FFFFFF
##2D2CB71.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BBB
Deuteranopia (green-blind)
#003DB5
Tritanopia (blue-blind)
#005570
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2d2cb7;
/* rgb */ color: rgb(45, 44, 183);
/* oklch */ color: oklch(40.7% 0.209 272.4);
Tailwind
colors: {
  custom: {
    50: '#7d67ce',
    500: '#2d2cb7',
    950: '#000000',
  },
}
SCSS
$custom: #2d2cb7;
$custom-light: #7d67ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2cb7",
  "rgb": {
    "r": 45,
    "g": 44,
    "b": 183
  },
  "hsl": {
    "h": 240.432,
    "s": 61.233,
    "l": 44.51
  },
  "oklch": {
    "l": 0.40663,
    "c": 0.20871,
    "h": 272.4
  },
  "luminance": 0.05778
}

Semantic roles & 50–950 ramp

primary
#2D2CB7
secondary
#C8C876
accent
#E443E3
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #2D2CB7

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

Preview Lab → · Contrast checker → · Palette generator →

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