#2D2BAB#2D2BAB

#2D2BAB is a dark, vivid blue. Relative luminance 0.052; OKLCH L 39.2% C 0.195 H 273.4°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#2D2BAB
RGBrgb(45, 43, 171)
HSLhsl(241, 60%, 42%)
HSVhsv(241, 75%, 67%)
CMYKcmyk(73.7%, 74.9%, 0%, 32.9%)
CIE-LABlab(27.37, 43.43, -67.31)
CIE-LCHlch(27.37, 80.11, 302.83°)
OKLaboklab(39.24% 0.0116 -0.1947)
OKLCHoklch(39.24% 0.195 273.4)
XYZxyz(9.2943, 5.2250, 39.0389)
Luminance0.0523 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2BAB #A9AB2B
analogous
#2B69AB #2D2BAB #6D2BAB
triadic
#2D2BAB #AB2D2B #2BAB2D
tetradic
#2D2BAB #AB2B69 #A9AB2B #2BAB6D
square
#2D2BAB #AB2B69 #A9AB2B #2BAB6D
split-complementary
#2D2BAB #AB6D2B #69AB2B
monochromatic
#131249 #201F7A #2D2BAB #4643D0 #7674DC

Accessibility & contrast

On white

10.27
#2D2BAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#2D2BAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2BAB
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2BAB#FFFFFF#000000##FFFFFF
##2D2BAB1.0010.272.0510.27
#FFFFFF10.271.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AF
Deuteranopia (green-blind)
#003AA9
Tritanopia (blue-blind)
#005069
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2d2bab;
/* rgb */ color: rgb(45, 43, 171);
/* oklch */ color: oklch(39.2% 0.195 273.4);
Tailwind
colors: {
  custom: {
    50: '#7a66c5',
    500: '#2d2bab',
    950: '#000000',
  },
}
SCSS
$custom: #2d2bab;
$custom-light: #7a66c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2bab",
  "rgb": {
    "r": 45,
    "g": 43,
    "b": 171
  },
  "hsl": {
    "h": 240.938,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.39239,
    "c": 0.1951,
    "h": 273.4
  },
  "luminance": 0.05226
}

Semantic roles & 50–950 ramp

primary
#2D2BAB
secondary
#C2C46E
accent
#E345E1
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2D2BAB

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

Preview Lab → · Contrast checker → · Palette generator →

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