#2B2CB4#2B2CB4

#2B2CB4 is a dark, highly saturated blue. Relative luminance 0.056; OKLCH L 40.2% C 0.206 H 272.0°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#2B2CB4
RGBrgb(43, 44, 180)
HSLhsl(240, 61%, 44%)
HSVhsv(240, 76%, 71%)
CMYKcmyk(76.1%, 75.6%, 0%, 29.4%)
CIE-LABlab(28.40, 45.68, -70.99)
CIE-LCHlch(28.40, 84.42, 302.76°)
OKLaboklab(40.23% 0.0072 -0.2055)
OKLCHoklch(40.23% 0.206 272)
XYZxyz(10.1324, 5.6092, 43.7198)
Luminance0.0561 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2CB4 #B4B32B
analogous
#2B70B4 #2B2CB4 #6E2BB4
triadic
#2B2CB4 #B42B2C #2CB42B
tetradic
#2B2CB4 #B42B70 #B4B32B #2BB46E
square
#2B2CB4 #B42B70 #B4B32B #2BB46E
split-complementary
#2B2CB4 #B46E2B #70B42B
monochromatic
#131451 #1F2083 #2B2CB4 #494AD3 #7A7BDF

Accessibility & contrast

On white

9.90
#2B2CB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#2B2CB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2CB4
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2CB4#FFFFFF#000000##FFFFFF
##2B2CB41.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB8
Deuteranopia (green-blind)
#003CB2
Tritanopia (blue-blind)
#00546E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2b2cb4;
/* rgb */ color: rgb(43, 44, 180);
/* oklch */ color: oklch(40.2% 0.206 272.0);
Tailwind
colors: {
  custom: {
    50: '#7c67cc',
    500: '#2b2cb4',
    950: '#000000',
  },
}
SCSS
$custom: #2b2cb4;
$custom-light: #7c67cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2cb4",
  "rgb": {
    "r": 43,
    "g": 44,
    "b": 180
  },
  "hsl": {
    "h": 239.562,
    "s": 61.435,
    "l": 43.725
  },
  "oklch": {
    "l": 0.40226,
    "c": 0.20561,
    "h": 272
  },
  "luminance": 0.0561
}

Semantic roles & 50–950 ramp

primary
#2B2CB4
secondary
#C7C773
accent
#E343E5
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0614
muted
#7C7A82

Preview Lab

Preview with #2B2CB4

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

Preview Lab → · Contrast checker → · Palette generator →

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