#2D2AB3#2D2AB3

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

Color values

HEX#2D2AB3
RGBrgb(45, 42, 179)
HSLhsl(241, 62%, 43%)
HSVhsv(241, 77%, 70%)
CMYKcmyk(74.9%, 76.5%, 0%, 29.8%)
CIE-LABlab(28.03, 46.62, -71.01)
CIE-LCHlch(28.03, 84.95, 303.28°)
OKLaboklab(39.96% 0.0105 -0.2055)
OKLCHoklch(39.96% 0.206 272.9)
XYZxyz(10.0441, 5.4674, 43.1651)
Luminance0.0547 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2AB3 #B0B32A
analogous
#2A6BB3 #2D2AB3 #712AB3
triadic
#2D2AB3 #B32D2A #2AB32D
tetradic
#2D2AB3 #B32A6B #B0B32A #2AB371
square
#2D2AB3 #B32A6B #B0B32A #2AB371
split-complementary
#2D2AB3 #B3712A #6BB32A
monochromatic
#141350 #211E81 #2D2AB3 #4A46D4 #7A78DF

Accessibility & contrast

On white

10.03
#2D2AB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D2AB3
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2AB3#FFFFFF#000000##FFFFFF
##2D2AB31.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B7
Deuteranopia (green-blind)
#003BB1
Tritanopia (blue-blind)
#00536D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2d2ab3;
/* rgb */ color: rgb(45, 42, 179);
/* oklch */ color: oklch(40.0% 0.206 272.9);
Tailwind
colors: {
  custom: {
    50: '#7c66cb',
    500: '#2d2ab3',
    950: '#000000',
  },
}
SCSS
$custom: #2d2ab3;
$custom-light: #7c66cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2ab3",
  "rgb": {
    "r": 45,
    "g": 42,
    "b": 179
  },
  "hsl": {
    "h": 241.314,
    "s": 61.991,
    "l": 43.333
  },
  "oklch": {
    "l": 0.39959,
    "c": 0.20577,
    "h": 272.9
  },
  "luminance": 0.05468
}

Semantic roles & 50–950 ramp

primary
#2D2AB3
secondary
#C5C772
accent
#E543E2
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2D2AB3

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

Preview Lab → · Contrast checker → · Palette generator →

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