#2B2ECA#2B2ECA

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

Color values

HEX#2B2ECA
RGBrgb(43, 46, 202)
HSLhsl(239, 65%, 48%)
HSVhsv(239, 79%, 79%)
CMYKcmyk(78.7%, 77.2%, 0%, 20.8%)
CIE-LABlab(31.19, 51.77, -79.36)
CIE-LCHlch(31.19, 94.75, 303.12°)
OKLaboklab(42.89% 0.0024 -0.2298)
OKLCHoklch(42.89% 0.23 270.6)
XYZxyz(12.6303, 6.7304, 56.4991)
Luminance0.0673 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2ECA #CAC72B
analogous
#2B7DCA #2B2ECA #772BCA
triadic
#2B2ECA #CA2B2E #2ECA2B
tetradic
#2B2ECA #CA2B7D #CAC72B #2BCA77
square
#2B2ECA #CA2B7D #CAC72B #2BCA77
split-complementary
#2B2ECA #CA772B #7DCA2B
monochromatic
#161765 #202398 #2B2ECA #5759DB #898BE6

Accessibility & contrast

On white

8.95
#2B2ECA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#2B2ECA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2ECA
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2ECA#FFFFFF#000000##FFFFFF
##2B2ECA1.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051CE
Deuteranopia (green-blind)
#0041C7
Tritanopia (blue-blind)
#005E7B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2b2eca;
/* rgb */ color: rgb(43, 46, 202);
/* oklch */ color: oklch(42.9% 0.230 270.6);
Tailwind
colors: {
  custom: {
    50: '#8169dc',
    500: '#2b2eca',
    950: '#000000',
  },
}
SCSS
$custom: #2b2eca;
$custom-light: #8169dc;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2eca",
  "rgb": {
    "r": 43,
    "g": 46,
    "b": 202
  },
  "hsl": {
    "h": 238.868,
    "s": 64.898,
    "l": 48.039
  },
  "oklch": {
    "l": 0.42893,
    "c": 0.22983,
    "h": 270.6
  },
  "luminance": 0.06732
}

Semantic roles & 50–950 ramp

primary
#2B2ECA
secondary
#D0CE81
accent
#E540E8
background
#F8F6FD
surface
#F0EBFB
border
#CBC6D4
text
#0C0615
muted
#7D7A83

Preview Lab

Preview with #2B2ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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