#2D2BBB#2D2BBB

#2D2BBB is a dark, highly saturated blue. Relative luminance 0.059; OKLCH L 41.0% C 0.214 H 272.3°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#2D2BBB
RGBrgb(45, 43, 187)
HSLhsl(241, 63%, 45%)
HSVhsv(241, 77%, 73%)
CMYKcmyk(75.9%, 77%, 0%, 26.7%)
CIE-LABlab(29.09, 48.67, -74.01)
CIE-LCHlch(29.09, 88.58, 303.33°)
OKLaboklab(40.96% 0.0085 -0.2142)
OKLCHoklch(40.96% 0.214 272.3)
XYZxyz(10.9127, 5.8723, 47.5624)
Luminance0.0587 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2BBB #B9BB2B
analogous
#2B71BB #2D2BBB #752BBB
triadic
#2D2BBB #BB2D2B #2BBB2D
tetradic
#2D2BBB #BB2B71 #B9BB2B #2BBB75
square
#2D2BBB #BB2B71 #B9BB2B #2BBB75
split-complementary
#2D2BBB #BB752B #71BB2B
monochromatic
#151457 #212089 #2D2BBB #4F4DD6 #807FE2

Accessibility & contrast

On white

9.66
#2D2BBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#2D2BBB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2BBB
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2BBB#FFFFFF#000000##FFFFFF
##2D2BBB1.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BBF
Deuteranopia (green-blind)
#003DB8
Tritanopia (blue-blind)
#005672
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2d2bbb;
/* rgb */ color: rgb(45, 43, 187);
/* oklch */ color: oklch(41.0% 0.214 272.3);
Tailwind
colors: {
  custom: {
    50: '#7e67d1',
    500: '#2d2bbb',
    950: '#000000',
  },
}
SCSS
$custom: #2d2bbb;
$custom-light: #7e67d1;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2bbb",
  "rgb": {
    "r": 45,
    "g": 43,
    "b": 187
  },
  "hsl": {
    "h": 240.833,
    "s": 62.609,
    "l": 45.098
  },
  "oklch": {
    "l": 0.40963,
    "c": 0.21439,
    "h": 272.3
  },
  "luminance": 0.05873
}

Semantic roles & 50–950 ramp

primary
#2D2BBB
secondary
#C9CA78
accent
#E642E3
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #2D2BBB

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

Preview Lab → · Contrast checker → · Palette generator →

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