#2B2CB6#2B2CB6

#2B2CB6 is a dark, highly saturated blue. Relative luminance 0.057; OKLCH L 40.4% C 0.208 H 271.9°. Best body text is #FFFFFF at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#2B2CB6
RGBrgb(43, 44, 182)
HSLhsl(240, 62%, 44%)
HSVhsv(240, 76%, 71%)
CMYKcmyk(76.4%, 75.8%, 0%, 28.6%)
CIE-LABlab(28.62, 46.34, -71.82)
CIE-LCHlch(28.62, 85.48, 302.83°)
OKLaboklab(40.44% 0.0068 -0.2079)
OKLCHoklch(40.44% 0.208 271.9)
XYZxyz(10.3376, 5.6912, 44.8006)
Luminance0.0569 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2CB6 #B6B52B
analogous
#2B72B6 #2B2CB6 #702BB6
triadic
#2B2CB6 #B62B2C #2CB62B
tetradic
#2B2CB6 #B62B72 #B6B52B #2BB670
square
#2B2CB6 #B62B72 #B6B52B #2BB670
split-complementary
#2B2CB6 #B6702B #72B62B
monochromatic
#141453 #1F2084 #2B2CB6 #4A4BD4 #7B7CE0

Accessibility & contrast

On white

9.82
#2B2CB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#2B2CB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2CB6
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2CB6#FFFFFF#000000##FFFFFF
##2B2CB61.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004ABA
Deuteranopia (green-blind)
#003CB4
Tritanopia (blue-blind)
#00556F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2b2cb6;
/* rgb */ color: rgb(43, 44, 182);
/* oklch */ color: oklch(40.4% 0.208 271.9);
Tailwind
colors: {
  custom: {
    50: '#7c67cd',
    500: '#2b2cb6',
    950: '#000000',
  },
}
SCSS
$custom: #2b2cb6;
$custom-light: #7c67cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2cb6",
  "rgb": {
    "r": 43,
    "g": 44,
    "b": 182
  },
  "hsl": {
    "h": 239.568,
    "s": 61.778,
    "l": 44.118
  },
  "oklch": {
    "l": 0.40442,
    "c": 0.20803,
    "h": 271.9
  },
  "luminance": 0.05692
}

Semantic roles & 50–950 ramp

primary
#2B2CB6
secondary
#C8C875
accent
#E443E5
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0614
muted
#7C7A82

Preview Lab

Preview with #2B2CB6

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

Preview Lab → · Contrast checker → · Palette generator →

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