#2D2CB2#2D2CB2

#2D2CB2 is a dark, highly saturated blue. Relative luminance 0.056; OKLCH L 40.1% C 0.203 H 272.8°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#2D2CB2
RGBrgb(45, 44, 178)
HSLhsl(240, 60%, 44%)
HSVhsv(240, 75%, 70%)
CMYKcmyk(74.7%, 75.3%, 0%, 30.2%)
CIE-LABlab(28.31, 45.19, -69.95)
CIE-LCHlch(28.31, 83.28, 302.86°)
OKLaboklab(40.13% 0.0098 -0.2024)
OKLCHoklch(40.13% 0.203 272.8)
XYZxyz(10.0161, 5.5726, 42.6586)
Luminance0.0557 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2CB2 #B1B22C
analogous
#2C6EB2 #2D2CB2 #702CB2
triadic
#2D2CB2 #B22D2C #2CB22D
tetradic
#2D2CB2 #B22C6E #B1B22C #2CB270
square
#2D2CB2 #B22C6E #B1B22C #2CB270
split-complementary
#2D2CB2 #B2702C #6EB22C
monochromatic
#141450 #212081 #2D2CB2 #4A49D2 #7B7ADE

Accessibility & contrast

On white

9.93
#2D2CB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#2D2CB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2CB2
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2CB2#FFFFFF#000000##FFFFFF
##2D2CB21.009.932.119.93
#FFFFFF9.931.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B6
Deuteranopia (green-blind)
#003CB0
Tritanopia (blue-blind)
#00536D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2d2cb2;
/* rgb */ color: rgb(45, 44, 178);
/* oklch */ color: oklch(40.1% 0.203 272.8);
Tailwind
colors: {
  custom: {
    50: '#7c67ca',
    500: '#2d2cb2',
    950: '#000000',
  },
}
SCSS
$custom: #2d2cb2;
$custom-light: #7c67ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2cb2",
  "rgb": {
    "r": 45,
    "g": 44,
    "b": 178
  },
  "hsl": {
    "h": 240.448,
    "s": 60.36,
    "l": 43.529
  },
  "oklch": {
    "l": 0.40126,
    "c": 0.20268,
    "h": 272.8
  },
  "luminance": 0.05574
}

Semantic roles & 50–950 ramp

primary
#2D2CB2
secondary
#C6C673
accent
#E444E2
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2D2CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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