#2B2DCA#2B2DCA

#2B2DCA is a dark, highly saturated blue. Relative luminance 0.067; OKLCH L 42.8% C 0.231 H 270.7°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#2B2DCA
RGBrgb(43, 45, 202)
HSLhsl(239, 65%, 48%)
HSVhsv(239, 79%, 79%)
CMYKcmyk(78.7%, 77.7%, 0%, 20.8%)
CIE-LABlab(31.00, 52.29, -79.66)
CIE-LCHlch(31.00, 95.29, 303.28°)
OKLaboklab(42.77% 0.0027 -0.2307)
OKLCHoklch(42.77% 0.231 270.7)
XYZxyz(12.5917, 6.6532, 56.4862)
Luminance0.0665 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2DCA #CAC82B
analogous
#2B7DCA #2B2DCA #782BCA
triadic
#2B2DCA #CA2B2D #2DCA2B
tetradic
#2B2DCA #CA2B7D #CAC82B #2BCA78
square
#2B2DCA #CA2B7D #CAC82B #2BCA78
split-complementary
#2B2DCA #CA782B #7DCA2B
monochromatic
#161765 #202298 #2B2DCA #5759DB #898BE6

Accessibility & contrast

On white

9.01
#2B2DCA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#2B2DCA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2DCA
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2DCA#FFFFFF#000000##FFFFFF
##2B2DCA1.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b2dca;
/* rgb */ color: rgb(43, 45, 202);
/* oklch */ color: oklch(42.8% 0.231 270.7);
Tailwind
colors: {
  custom: {
    50: '#8169dc',
    500: '#2b2dca',
    950: '#000000',
  },
}
SCSS
$custom: #2b2dca;
$custom-light: #8169dc;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2dca",
  "rgb": {
    "r": 43,
    "g": 45,
    "b": 202
  },
  "hsl": {
    "h": 239.245,
    "s": 64.898,
    "l": 48.039
  },
  "oklch": {
    "l": 0.42766,
    "c": 0.2307,
    "h": 270.7
  },
  "luminance": 0.06655
}

Semantic roles & 50–950 ramp

primary
#2B2DCA
secondary
#D0CF81
accent
#E640E8
background
#F8F6FD
surface
#F0EBFB
border
#CBC6D4
text
#0C0615
muted
#7D7A83

Preview Lab

Preview with #2B2DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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