#2D2ABA#2D2ABA

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

Color values

HEX#2D2ABA
RGBrgb(45, 42, 186)
HSLhsl(241, 63%, 45%)
HSVhsv(241, 77%, 73%)
CMYKcmyk(75.8%, 77.4%, 0%, 27.1%)
CIE-LABlab(28.79, 48.88, -73.91)
CIE-LCHlch(28.79, 88.61, 303.48°)
OKLaboklab(40.72% 0.0091 -0.2139)
OKLCHoklch(40.72% 0.214 272.4)
XYZxyz(10.7701, 5.7578, 46.9886)
Luminance0.0576 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2ABA #B7BA2A
analogous
#2A6FBA #2D2ABA #752ABA
triadic
#2D2ABA #BA2D2A #2ABA2D
tetradic
#2D2ABA #BA2A6F #B7BA2A #2ABA75
square
#2D2ABA #BA2A6F #B7BA2A #2ABA75
split-complementary
#2D2ABA #BA752A #6FBA2A
monochromatic
#151356 #211F88 #2D2ABA #4E4BD6 #7F7DE2

Accessibility & contrast

On white

9.76
#2D2ABA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#2D2ABA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2ABA
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2ABA#FFFFFF#000000##FFFFFF
##2D2ABA1.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BBE
Deuteranopia (green-blind)
#003DB8
Tritanopia (blue-blind)
#005671
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2d2aba;
/* rgb */ color: rgb(45, 42, 186);
/* oklch */ color: oklch(40.7% 0.214 272.4);
Tailwind
colors: {
  custom: {
    50: '#7e66d0',
    500: '#2d2aba',
    950: '#000000',
  },
}
SCSS
$custom: #2d2aba;
$custom-light: #7e66d0;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2aba",
  "rgb": {
    "r": 45,
    "g": 42,
    "b": 186
  },
  "hsl": {
    "h": 241.25,
    "s": 63.158,
    "l": 44.706
  },
  "oklch": {
    "l": 0.40724,
    "c": 0.2141,
    "h": 272.4
  },
  "luminance": 0.05759
}

Semantic roles & 50–950 ramp

primary
#2D2ABA
secondary
#C8CA76
accent
#E642E3
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #2D2ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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