#2D2BC2#2D2BC2

#2D2BC2 is a dark, highly saturated blue. Relative luminance 0.062; OKLCH L 41.7% C 0.223 H 271.8°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#2D2BC2
RGBrgb(45, 43, 194)
HSLhsl(241, 64%, 46%)
HSVhsv(241, 78%, 76%)
CMYKcmyk(76.8%, 77.8%, 0%, 23.9%)
CIE-LABlab(29.86, 50.91, -76.86)
CIE-LCHlch(29.86, 92.20, 303.52°)
OKLaboklab(41.73% 0.0071 -0.2225)
OKLCHoklch(41.73% 0.223 271.8)
XYZxyz(11.6804, 6.1794, 51.6056)
Luminance0.0618 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2BC2 #C0C22B
analogous
#2B75C2 #2D2BC2 #792BC2
triadic
#2D2BC2 #C22D2B #2BC22D
tetradic
#2D2BC2 #C22B75 #C0C22B #2BC279
square
#2D2BC2 #C22B75 #C0C22B #2BC279
split-complementary
#2D2BC2 #C2792B #75C22B
monochromatic
#16155E #212090 #2D2BC2 #5352D9 #8584E4

Accessibility & contrast

On white

9.39
#2D2BC2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#2D2BC2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2BC2
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2BC2#FFFFFF#000000##FFFFFF
##2D2BC21.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EC6
Deuteranopia (green-blind)
#003FBF
Tritanopia (blue-blind)
#005976
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2d2bc2;
/* rgb */ color: rgb(45, 43, 194);
/* oklch */ color: oklch(41.7% 0.223 271.8);
Tailwind
colors: {
  custom: {
    50: '#8067d6',
    500: '#2d2bc2',
    950: '#000000',
  },
}
SCSS
$custom: #2d2bc2;
$custom-light: #8067d6;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2bc2",
  "rgb": {
    "r": 45,
    "g": 43,
    "b": 194
  },
  "hsl": {
    "h": 240.795,
    "s": 63.713,
    "l": 46.471
  },
  "oklch": {
    "l": 0.41733,
    "c": 0.22261,
    "h": 271.8
  },
  "luminance": 0.06181
}

Semantic roles & 50–950 ramp

primary
#2D2BC2
secondary
#CCCD7C
accent
#E741E5
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0615
muted
#7D7A83

Preview Lab

Preview with #2D2BC2

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

Preview Lab → · Contrast checker → · Palette generator →

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