#2D2AB4#2D2AB4

#2D2AB4 is a dark, highly saturated blue. Relative luminance 0.055; OKLCH L 40.1% C 0.207 H 272.9°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#2D2AB4
RGBrgb(45, 42, 180)
HSLhsl(241, 62%, 44%)
HSVhsv(241, 77%, 71%)
CMYKcmyk(75%, 76.7%, 0%, 29.4%)
CIE-LABlab(28.14, 46.94, -71.43)
CIE-LCHlch(28.14, 85.47, 303.31°)
OKLaboklab(40.07% 0.0103 -0.2067)
OKLCHoklch(40.07% 0.207 272.9)
XYZxyz(10.1456, 5.5080, 43.6996)
Luminance0.0551 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2AB4 #B1B42A
analogous
#2A6CB4 #2D2AB4 #722AB4
triadic
#2D2AB4 #B42D2A #2AB42D
tetradic
#2D2AB4 #B42A6C #B1B42A #2AB472
square
#2D2AB4 #B42A6C #B1B42A #2AB472
split-complementary
#2D2AB4 #B4722A #6CB42A
monochromatic
#141351 #211E82 #2D2AB4 #4A47D4 #7B79E0

Accessibility & contrast

On white

9.99
#2D2AB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#2D2AB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2AB4
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2AB4#FFFFFF#000000##FFFFFF
##2D2AB41.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B8
Deuteranopia (green-blind)
#003CB2
Tritanopia (blue-blind)
#00536E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2d2ab4;
/* rgb */ color: rgb(45, 42, 180);
/* oklch */ color: oklch(40.1% 0.207 272.9);
Tailwind
colors: {
  custom: {
    50: '#7c66cc',
    500: '#2d2ab4',
    950: '#000000',
  },
}
SCSS
$custom: #2d2ab4;
$custom-light: #7c66cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2ab4",
  "rgb": {
    "r": 45,
    "g": 42,
    "b": 180
  },
  "hsl": {
    "h": 241.304,
    "s": 62.162,
    "l": 43.529
  },
  "oklch": {
    "l": 0.40068,
    "c": 0.20697,
    "h": 272.9
  },
  "luminance": 0.05509
}

Semantic roles & 50–950 ramp

primary
#2D2AB4
secondary
#C6C872
accent
#E543E2
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0B0614
muted
#7C7A82

Preview Lab

Preview with #2D2AB4

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

Preview Lab → · Contrast checker → · Palette generator →

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