#2D2AB6#2D2AB6

#2D2AB6 is a dark, highly saturated blue. Relative luminance 0.056; OKLCH L 40.3% C 0.209 H 272.7°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#2D2AB6
RGBrgb(45, 42, 182)
HSLhsl(241, 63%, 44%)
HSVhsv(241, 77%, 71%)
CMYKcmyk(75.3%, 76.9%, 0%, 28.6%)
CIE-LABlab(28.35, 47.59, -72.26)
CIE-LCHlch(28.35, 86.52, 303.37°)
OKLaboklab(40.29% 0.0099 -0.2091)
OKLCHoklch(40.29% 0.209 272.7)
XYZxyz(10.3508, 5.5901, 44.7804)
Luminance0.0559 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2AB6 #B3B62A
analogous
#2A6DB6 #2D2AB6 #732AB6
triadic
#2D2AB6 #B62D2A #2AB62D
tetradic
#2D2AB6 #B62A6D #B3B62A #2AB673
square
#2D2AB6 #B62A6D #B3B62A #2AB673
split-complementary
#2D2AB6 #B6732A #6DB62A
monochromatic
#141353 #211F84 #2D2AB6 #4B48D5 #7C7AE0

Accessibility & contrast

On white

9.91
#2D2AB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#2D2AB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2AB6
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2AB6#FFFFFF#000000##FFFFFF
##2D2AB61.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d2ab6;
/* rgb */ color: rgb(45, 42, 182);
/* oklch */ color: oklch(40.3% 0.209 272.7);
Tailwind
colors: {
  custom: {
    50: '#7d66cd',
    500: '#2d2ab6',
    950: '#000000',
  },
}
SCSS
$custom: #2d2ab6;
$custom-light: #7d66cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2ab6",
  "rgb": {
    "r": 45,
    "g": 42,
    "b": 182
  },
  "hsl": {
    "h": 241.286,
    "s": 62.5,
    "l": 43.922
  },
  "oklch": {
    "l": 0.40286,
    "c": 0.20935,
    "h": 272.7
  },
  "luminance": 0.05591
}

Semantic roles & 50–950 ramp

primary
#2D2AB6
secondary
#C7C873
accent
#E642E2
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0B0614
muted
#7C7A82

Preview Lab

Preview with #2D2AB6

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

Preview Lab → · Contrast checker → · Palette generator →

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