#2B2ACA#2B2ACA

#2B2ACA is a dark, highly saturated blue. Relative luminance 0.064; OKLCH L 42.4% C 0.233 H 270.9°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#2B2ACA
RGBrgb(43, 42, 202)
HSLhsl(240, 66%, 48%)
HSVhsv(240, 79%, 79%)
CMYKcmyk(78.7%, 79.2%, 0%, 20.8%)
CIE-LABlab(30.48, 53.81, -80.53)
CIE-LCHlch(30.48, 96.85, 303.75°)
OKLaboklab(42.4% 0.0035 -0.2332)
OKLCHoklch(42.4% 0.233 270.9)
XYZxyz(12.4813, 6.4324, 56.4494)
Luminance0.0643 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2ACA #C9CA2A
analogous
#2A79CA #2B2ACA #7B2ACA
triadic
#2B2ACA #CA2B2A #2ACA2B
tetradic
#2B2ACA #CA2A79 #C9CA2A #2ACA7B
square
#2B2ACA #CA2A79 #C9CA2A #2ACA7B
split-complementary
#2B2ACA #CA7B2A #79CA2A
monochromatic
#151565 #201F97 #2B2ACA #5655DC #8988E6

Accessibility & contrast

On white

9.18
#2B2ACA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#2B2ACA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2ACA
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2ACA#FFFFFF#000000##FFFFFF
##2B2ACA1.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050CE
Deuteranopia (green-blind)
#003FC7
Tritanopia (blue-blind)
#005C7A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2b2aca;
/* rgb */ color: rgb(43, 42, 202);
/* oklch */ color: oklch(42.4% 0.233 270.9);
Tailwind
colors: {
  custom: {
    50: '#8167dc',
    500: '#2b2aca',
    950: '#000000',
  },
}
SCSS
$custom: #2b2aca;
$custom-light: #8167dc;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2aca",
  "rgb": {
    "r": 43,
    "g": 42,
    "b": 202
  },
  "hsl": {
    "h": 240.375,
    "s": 65.574,
    "l": 47.843
  },
  "oklch": {
    "l": 0.42398,
    "c": 0.23319,
    "h": 270.9
  },
  "luminance": 0.06434
}

Semantic roles & 50–950 ramp

primary
#2B2ACA
secondary
#CFD080
accent
#E93FE7
background
#F8F6FD
surface
#F0EBFB
border
#CBC6D4
text
#0D0615
muted
#7D7A83

Preview Lab

Preview with #2B2ACA

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

Preview Lab → · Contrast checker → · Palette generator →

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