#2B2DC2#2B2DC2

#2B2DC2 is a dark, highly saturated blue. Relative luminance 0.063; OKLCH L 41.9% C 0.221 H 271.1°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#2B2DC2
RGBrgb(43, 45, 194)
HSLhsl(239, 64%, 46%)
HSVhsv(239, 78%, 76%)
CMYKcmyk(77.8%, 76.8%, 0%, 23.9%)
CIE-LABlab(30.12, 49.72, -76.44)
CIE-LCHlch(30.12, 91.19, 303.04°)
OKLaboklab(41.88% 0.0042 -0.2213)
OKLCHoklch(41.88% 0.221 271.1)
XYZxyz(11.6690, 6.2841, 51.6264)
Luminance0.0629 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2DC2 #C2C02B
analogous
#2B79C2 #2B2DC2 #752BC2
triadic
#2B2DC2 #C22B2D #2DC22B
tetradic
#2B2DC2 #C22B79 #C2C02B #2BC275
square
#2B2DC2 #C22B79 #C2C02B #2BC275
split-complementary
#2B2DC2 #C2752B #79C22B
monochromatic
#15165E #202190 #2B2DC2 #5253D9 #8485E4

Accessibility & contrast

On white

9.30
#2B2DC2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#2B2DC2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2DC2
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2DC2#FFFFFF#000000##FFFFFF
##2B2DC21.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EC6
Deuteranopia (green-blind)
#003FBF
Tritanopia (blue-blind)
#005A76
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2b2dc2;
/* rgb */ color: rgb(43, 45, 194);
/* oklch */ color: oklch(41.9% 0.221 271.1);
Tailwind
colors: {
  custom: {
    50: '#7f68d6',
    500: '#2b2dc2',
    950: '#000000',
  },
}
SCSS
$custom: #2b2dc2;
$custom-light: #7f68d6;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2dc2",
  "rgb": {
    "r": 43,
    "g": 45,
    "b": 194
  },
  "hsl": {
    "h": 239.205,
    "s": 63.713,
    "l": 46.471
  },
  "oklch": {
    "l": 0.41884,
    "c": 0.22138,
    "h": 271.1
  },
  "luminance": 0.06285
}

Semantic roles & 50–950 ramp

primary
#2B2DC2
secondary
#CDCC7C
accent
#E541E7
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #2B2DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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