#2D2AB2#2D2AB2

#2D2AB2 is a dark, highly saturated blue. Relative luminance 0.054; OKLCH L 39.9% C 0.205 H 273.0°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#2D2AB2
RGBrgb(45, 42, 178)
HSLhsl(241, 62%, 43%)
HSVhsv(241, 76%, 70%)
CMYKcmyk(74.7%, 76.4%, 0%, 30.2%)
CIE-LABlab(27.92, 46.29, -70.60)
CIE-LCHlch(27.92, 84.42, 303.25°)
OKLaboklab(39.85% 0.0107 -0.2043)
OKLCHoklch(39.85% 0.205 273)
XYZxyz(9.9433, 5.4271, 42.6344)
Luminance0.0543 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2AB2 #AFB22A
analogous
#2A6BB2 #2D2AB2 #712AB2
triadic
#2D2AB2 #B22D2A #2AB22D
tetradic
#2D2AB2 #B22A6B #AFB22A #2AB271
square
#2D2AB2 #B22A6B #AFB22A #2AB271
split-complementary
#2D2AB2 #B2712A #6BB22A
monochromatic
#14134F #201E80 #2D2AB2 #4946D3 #7A77DF

Accessibility & contrast

On white

10.07
#2D2AB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#2D2AB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2AB2
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2AB2#FFFFFF#000000##FFFFFF
##2D2AB21.0010.072.0910.07
#FFFFFF10.071.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B6
Deuteranopia (green-blind)
#003BB0
Tritanopia (blue-blind)
#00526C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2d2ab2;
/* rgb */ color: rgb(45, 42, 178);
/* oklch */ color: oklch(39.9% 0.205 273.0);
Tailwind
colors: {
  custom: {
    50: '#7c66ca',
    500: '#2d2ab2',
    950: '#000000',
  },
}
SCSS
$custom: #2d2ab2;
$custom-light: #7c66ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2ab2",
  "rgb": {
    "r": 45,
    "g": 42,
    "b": 178
  },
  "hsl": {
    "h": 241.324,
    "s": 61.818,
    "l": 43.137
  },
  "oklch": {
    "l": 0.39851,
    "c": 0.20457,
    "h": 273
  },
  "luminance": 0.05428
}

Semantic roles & 50–950 ramp

primary
#2D2AB2
secondary
#C5C771
accent
#E543E1
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2D2AB2

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

Preview Lab → · Contrast checker → · Palette generator →

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