#2D2B99#2D2B99

#2D2B99 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.4% C 0.172 H 274.9°. Best body text is #FFFFFF at 10.95:1 contrast (WCAG AA passes).

Color values

HEX#2D2B99
RGBrgb(45, 43, 153)
HSLhsl(241, 56%, 38%)
HSVhsv(241, 72%, 60%)
CMYKcmyk(70.6%, 71.9%, 0%, 40%)
CIE-LABlab(25.52, 37.34, -59.44)
CIE-LCHlch(25.52, 70.19, 302.14°)
OKLaboklab(37.37% 0.0148 -0.1718)
OKLCHoklch(37.37% 0.172 274.9)
XYZxyz(7.6939, 4.5848, 30.6103)
Luminance0.0459 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2B99 #97992B
analogous
#2B6099 #2D2B99 #642B99
triadic
#2D2B99 #992D2B #2B992D
tetradic
#2D2B99 #992B60 #97992B #2B9964
square
#2D2B99 #992B60 #97992B #2B9964
split-complementary
#2D2B99 #99642B #60992B
monochromatic
#111039 #1F1E69 #2D2B99 #3C3AC8 #6B69D5

Accessibility & contrast

On white

10.95
#2D2B99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#2D2B99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2B99
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2B99#FFFFFF#000000##FFFFFF
##2D2B991.0010.951.9210.95
#FFFFFF10.951.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419C
Deuteranopia (green-blind)
#003797
Tritanopia (blue-blind)
#00495F
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2d2b99;
/* rgb */ color: rgb(45, 43, 153);
/* oklch */ color: oklch(37.4% 0.172 274.9);
Tailwind
colors: {
  custom: {
    50: '#7665b8',
    500: '#2d2b99',
    950: '#000000',
  },
}
SCSS
$custom: #2d2b99;
$custom-light: #7665b8;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2b99",
  "rgb": {
    "r": 45,
    "g": 43,
    "b": 153
  },
  "hsl": {
    "h": 241.091,
    "s": 56.122,
    "l": 38.431
  },
  "oklch": {
    "l": 0.37367,
    "c": 0.17242,
    "h": 274.9
  },
  "luminance": 0.04586
}

Semantic roles & 50–950 ramp

primary
#2D2B99
secondary
#BABC64
accent
#DF48DD
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #2D2B99

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

Preview Lab → · Contrast checker → · Palette generator →

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