#2D2AB5#2D2AB5

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

Color values

HEX#2D2AB5
RGBrgb(45, 42, 181)
HSLhsl(241, 62%, 44%)
HSVhsv(241, 77%, 71%)
CMYKcmyk(75.1%, 76.8%, 0%, 29%)
CIE-LABlab(28.24, 47.27, -71.85)
CIE-LCHlch(28.24, 86.00, 303.34°)
OKLaboklab(40.18% 0.0101 -0.2079)
OKLCHoklch(40.18% 0.208 272.8)
XYZxyz(10.2478, 5.5489, 44.2381)
Luminance0.0555 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2AB5 #B2B52A
analogous
#2A6CB5 #2D2AB5 #722AB5
triadic
#2D2AB5 #B52D2A #2AB52D
tetradic
#2D2AB5 #B52A6C #B2B52A #2AB572
square
#2D2AB5 #B52A6C #B2B52A #2AB572
split-complementary
#2D2AB5 #B5722A #6CB52A
monochromatic
#141352 #211E83 #2D2AB5 #4B48D4 #7C79E0

Accessibility & contrast

On white

9.95
#2D2AB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D2AB5
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2AB5#FFFFFF#000000##FFFFFF
##2D2AB51.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B9
Deuteranopia (green-blind)
#003CB3
Tritanopia (blue-blind)
#00546E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2d2ab5;
/* rgb */ color: rgb(45, 42, 181);
/* oklch */ color: oklch(40.2% 0.208 272.8);
Tailwind
colors: {
  custom: {
    50: '#7d66cd',
    500: '#2d2ab5',
    950: '#000000',
  },
}
SCSS
$custom: #2d2ab5;
$custom-light: #7d66cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2ab5",
  "rgb": {
    "r": 45,
    "g": 42,
    "b": 181
  },
  "hsl": {
    "h": 241.295,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.40177,
    "c": 0.20817,
    "h": 272.8
  },
  "luminance": 0.0555
}

Semantic roles & 50–950 ramp

primary
#2D2AB5
secondary
#C6C873
accent
#E542E2
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0B0614
muted
#7C7A82

Preview Lab

Preview with #2D2AB5

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

Preview Lab → · Contrast checker → · Palette generator →

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