#2B2BCA#2B2BCA

#2B2BCA is a dark, highly saturated blue. Relative luminance 0.065; OKLCH L 42.5% C 0.232 H 270.8°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#2B2BCA
RGBrgb(43, 43, 202)
HSLhsl(240, 65%, 48%)
HSVhsv(240, 79%, 79%)
CMYKcmyk(78.7%, 78.7%, 0%, 20.8%)
CIE-LABlab(30.65, 53.31, -80.25)
CIE-LCHlch(30.65, 96.34, 303.60°)
OKLaboklab(42.52% 0.0033 -0.2323)
OKLCHoklch(42.52% 0.232 270.8)
XYZxyz(12.5172, 6.5042, 56.4614)
Luminance0.0651 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2BCA #CACA2B
analogous
#2B7ACA #2B2BCA #7A2BCA
triadic
#2B2BCA #CA2B2B #2BCA2B
tetradic
#2B2BCA #CA2B7A #CACA2B #2BCA7A
square
#2B2BCA #CA2B7A #CACA2B #2BCA7A
split-complementary
#2B2BCA #CA7A2B #7ACA2B
monochromatic
#161665 #202098 #2B2BCA #5757DB #8989E6

Accessibility & contrast

On white

9.13
#2B2BCA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#2B2BCA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2BCA
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2BCA#FFFFFF#000000##FFFFFF
##2B2BCA1.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b2bca;
/* rgb */ color: rgb(43, 43, 202);
/* oklch */ color: oklch(42.5% 0.232 270.8);
Tailwind
colors: {
  custom: {
    50: '#8168dc',
    500: '#2b2bca',
    950: '#000000',
  },
}
SCSS
$custom: #2b2bca;
$custom-light: #8168dc;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2bca",
  "rgb": {
    "r": 43,
    "g": 43,
    "b": 202
  },
  "hsl": {
    "h": 240,
    "s": 64.898,
    "l": 48.039
  },
  "oklch": {
    "l": 0.42518,
    "c": 0.23237,
    "h": 270.8
  },
  "luminance": 0.06506
}

Semantic roles & 50–950 ramp

primary
#2B2BCA
secondary
#D0D081
accent
#E840E8
background
#F8F6FD
surface
#F0EBFB
border
#CBC6D4
text
#0D0615
muted
#7D7A83

Preview Lab

Preview with #2B2BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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