#2B2BCE#2B2BCE

#2B2BCE is a dark, highly saturated blue. Relative luminance 0.067; OKLCH L 43.0% C 0.237 H 270.6°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#2B2BCE
RGBrgb(43, 43, 206)
HSLhsl(240, 65%, 49%)
HSVhsv(240, 79%, 81%)
CMYKcmyk(79.1%, 79.1%, 0%, 19.2%)
CIE-LABlab(31.10, 54.56, -81.83)
CIE-LCHlch(31.10, 98.35, 303.69°)
OKLaboklab(42.97% 0.0025 -0.2369)
OKLCHoklch(42.97% 0.237 270.6)
XYZxyz(12.9969, 6.6961, 58.9880)
Luminance0.0670 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2BCE #CECE2B
analogous
#2B7DCE #2B2BCE #7D2BCE
triadic
#2B2BCE #CE2B2B #2BCE2B
tetradic
#2B2BCE #CE2B7D #CECE2B #2BCE7D
square
#2B2BCE #CE2B7D #CECE2B #2BCE7D
split-complementary
#2B2BCE #CE7D2B #7DCE2B
monochromatic
#161669 #20209B #2B2BCE #5A5ADC #8C8CE7

Accessibility & contrast

On white

8.98
#2B2BCE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#2B2BCE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2BCE
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2BCE#FFFFFF#000000##FFFFFF
##2B2BCE1.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051D3
Deuteranopia (green-blind)
#0041CB
Tritanopia (blue-blind)
#005E7D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2b2bce;
/* rgb */ color: rgb(43, 43, 206);
/* oklch */ color: oklch(43.0% 0.237 270.6);
Tailwind
colors: {
  custom: {
    50: '#8268df',
    500: '#2b2bce',
    950: '#000000',
  },
}
SCSS
$custom: #2b2bce;
$custom-light: #8268df;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2bce",
  "rgb": {
    "r": 43,
    "g": 43,
    "b": 206
  },
  "hsl": {
    "h": 240,
    "s": 65.462,
    "l": 48.824
  },
  "oklch": {
    "l": 0.42967,
    "c": 0.23693,
    "h": 270.6
  },
  "luminance": 0.06698
}

Semantic roles & 50–950 ramp

primary
#2B2BCE
secondary
#D1D184
accent
#E83FE8
background
#F9F6FD
surface
#F1EBFB
border
#CBC6D4
text
#0D0615
muted
#7E7A83

Preview Lab

Preview with #2B2BCE

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

Preview Lab → · Contrast checker → · Palette generator →

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