#2B2DC7#2B2DC7

#2B2DC7 is a dark, highly saturated blue. Relative luminance 0.065; OKLCH L 42.4% C 0.227 H 270.8°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#2B2DC7
RGBrgb(43, 45, 199)
HSLhsl(239, 64%, 47%)
HSVhsv(239, 78%, 78%)
CMYKcmyk(78.4%, 77.4%, 0%, 22%)
CIE-LABlab(30.67, 51.33, -78.46)
CIE-LCHlch(30.67, 93.76, 303.19°)
OKLaboklab(42.43% 0.0033 -0.2272)
OKLCHoklch(42.43% 0.227 270.8)
XYZxyz(12.2400, 6.5125, 54.6337)
Luminance0.0651 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2DC7 #C7C52B
analogous
#2B7BC7 #2B2DC7 #772BC7
triadic
#2B2DC7 #C72B2D #2DC72B
tetradic
#2B2DC7 #C72B7B #C7C52B #2BC777
square
#2B2DC7 #C72B7B #C7C52B #2BC777
split-complementary
#2B2DC7 #C7772B #7BC72B
monochromatic
#151662 #202295 #2B2DC7 #5557DA #8788E5

Accessibility & contrast

On white

9.12
#2B2DC7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#2B2DC7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2DC7
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2DC7#FFFFFF#000000##FFFFFF
##2B2DC71.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050CB
Deuteranopia (green-blind)
#0040C4
Tritanopia (blue-blind)
#005C79
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2b2dc7;
/* rgb */ color: rgb(43, 45, 199);
/* oklch */ color: oklch(42.4% 0.227 270.8);
Tailwind
colors: {
  custom: {
    50: '#8069d9',
    500: '#2b2dc7',
    950: '#000000',
  },
}
SCSS
$custom: #2b2dc7;
$custom-light: #8069d9;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2dc7",
  "rgb": {
    "r": 43,
    "g": 45,
    "b": 199
  },
  "hsl": {
    "h": 239.231,
    "s": 64.463,
    "l": 47.451
  },
  "oklch": {
    "l": 0.42434,
    "c": 0.22721,
    "h": 270.8
  },
  "luminance": 0.06514
}

Semantic roles & 50–950 ramp

primary
#2B2DC7
secondary
#CFCE7F
accent
#E540E7
background
#F8F6FD
surface
#F0EBFB
border
#CBC6D4
text
#0C0615
muted
#7D7A83

Preview Lab

Preview with #2B2DC7

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

Preview Lab → · Contrast checker → · Palette generator →

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