#2D2CB5#2D2CB5

#2D2CB5 is a dark, highly saturated blue. Relative luminance 0.057; OKLCH L 40.4% C 0.206 H 272.6°. Best body text is #FFFFFF at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#2D2CB5
RGBrgb(45, 44, 181)
HSLhsl(240, 61%, 44%)
HSVhsv(240, 76%, 71%)
CMYKcmyk(75.1%, 75.7%, 0%, 29%)
CIE-LABlab(28.63, 46.18, -71.21)
CIE-LCHlch(28.63, 84.87, 302.96°)
OKLaboklab(40.45% 0.0093 -0.2061)
OKLCHoklch(40.45% 0.206 272.6)
XYZxyz(10.3206, 5.6944, 44.2623)
Luminance0.0570 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2CB5 #B4B52C
analogous
#2C70B5 #2D2CB5 #722CB5
triadic
#2D2CB5 #B52D2C #2CB52D
tetradic
#2D2CB5 #B52C70 #B4B52C #2CB572
square
#2D2CB5 #B52C70 #B4B52C #2CB572
split-complementary
#2D2CB5 #B5722C #70B52C
monochromatic
#151453 #212084 #2D2CB5 #4C4BD3 #7D7CDF

Accessibility & contrast

On white

9.82
#2D2CB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#2D2CB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2CB5
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2CB5#FFFFFF#000000##FFFFFF
##2D2CB51.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB9
Deuteranopia (green-blind)
#003DB3
Tritanopia (blue-blind)
#00546F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2d2cb5;
/* rgb */ color: rgb(45, 44, 181);
/* oklch */ color: oklch(40.4% 0.206 272.6);
Tailwind
colors: {
  custom: {
    50: '#7d67cd',
    500: '#2d2cb5',
    950: '#000000',
  },
}
SCSS
$custom: #2d2cb5;
$custom-light: #7d67cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2cb5",
  "rgb": {
    "r": 45,
    "g": 44,
    "b": 181
  },
  "hsl": {
    "h": 240.438,
    "s": 60.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.40447,
    "c": 0.20631,
    "h": 272.6
  },
  "luminance": 0.05695
}

Semantic roles & 50–950 ramp

primary
#2D2CB5
secondary
#C7C875
accent
#E444E3
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0B0614
muted
#7C7A82

Preview Lab

Preview with #2D2CB5

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

Preview Lab → · Contrast checker → · Palette generator →

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