#2D2BB7#2D2BB7

#2D2BB7 is a dark, highly saturated blue. Relative luminance 0.057; OKLCH L 40.5% C 0.210 H 272.5°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#2D2BB7
RGBrgb(45, 43, 183)
HSLhsl(241, 62%, 44%)
HSVhsv(241, 77%, 72%)
CMYKcmyk(75.4%, 76.5%, 0%, 28.2%)
CIE-LABlab(28.65, 47.38, -72.36)
CIE-LCHlch(28.65, 86.49, 303.21°)
OKLaboklab(40.53% 0.0093 -0.2094)
OKLCHoklch(40.53% 0.21 272.5)
XYZxyz(10.4904, 5.7034, 45.3386)
Luminance0.0570 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2BB7 #B5B72B
analogous
#2B6FB7 #2D2BB7 #732BB7
triadic
#2D2BB7 #B72D2B #2BB72D
tetradic
#2D2BB7 #B72B6F #B5B72B #2BB773
square
#2D2BB7 #B72B6F #B5B72B #2BB773
split-complementary
#2D2BB7 #B7732B #6FB72B
monochromatic
#151454 #211F85 #2D2BB7 #4D4BD5 #7E7CE0

Accessibility & contrast

On white

9.81
#2D2BB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#2D2BB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2BB7
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2BB7#FFFFFF#000000##FFFFFF
##2D2BB71.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004ABB
Deuteranopia (green-blind)
#003DB5
Tritanopia (blue-blind)
#005570
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2d2bb7;
/* rgb */ color: rgb(45, 43, 183);
/* oklch */ color: oklch(40.5% 0.210 272.5);
Tailwind
colors: {
  custom: {
    50: '#7d67ce',
    500: '#2d2bb7',
    950: '#000000',
  },
}
SCSS
$custom: #2d2bb7;
$custom-light: #7d67ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2bb7",
  "rgb": {
    "r": 45,
    "g": 43,
    "b": 183
  },
  "hsl": {
    "h": 240.857,
    "s": 61.947,
    "l": 44.314
  },
  "oklch": {
    "l": 0.40528,
    "c": 0.20964,
    "h": 272.5
  },
  "luminance": 0.05705
}

Semantic roles & 50–950 ramp

primary
#2D2BB7
secondary
#C7C975
accent
#E543E3
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #2D2BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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